You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by uw...@apache.org on 2018/06/03 07:17:09 UTC
[arrow] branch master updated: ARROW-2668: [C++] Suppress
-Wnull-pointer-arithmetic when compiling plasma/malloc.cc on clang
This is an automated email from the ASF dual-hosted git repository.
uwe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 3960db9 ARROW-2668: [C++] Suppress -Wnull-pointer-arithmetic when compiling plasma/malloc.cc on clang
3960db9 is described below
commit 3960db91591a9a15041451c47af5e6f07803402e
Author: Wes McKinney <we...@twosigma.com>
AuthorDate: Sun Jun 3 09:16:53 2018 +0200
ARROW-2668: [C++] Suppress -Wnull-pointer-arithmetic when compiling plasma/malloc.cc on clang
This generates a warning on clang-6 when using CHECKIN error level, so compiling with `-Werror` will fail without it.
Author: Wes McKinney <we...@twosigma.com>
Closes #2099 from wesm/ARROW-2668 and squashes the following commits:
13d7670d <Wes McKinney> Suppress -Wnull-pointer-arithmetic when compiling plasma/malloc.cc on clang
---
cpp/src/plasma/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/cpp/src/plasma/CMakeLists.txt b/cpp/src/plasma/CMakeLists.txt
index fd6c7ac..8797d96 100644
--- a/cpp/src/plasma/CMakeLists.txt
+++ b/cpp/src/plasma/CMakeLists.txt
@@ -106,6 +106,7 @@ if ("${COMPILER_FAMILY}" STREQUAL "clang")
APPEND_STRING
PROPERTY COMPILE_FLAGS
" -Wno-parentheses-equality \
+-Wno-null-pointer-arithmetic \
-Wno-shorten-64-to-32 \
-Wno-unused-macros")
--
To stop receiving notification emails like this one, please contact
uwe@apache.org.