You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by jh...@apache.org on 2016/06/28 18:42:17 UTC

hadoop git commit: HDFS-10578. libhdfs++: Silence compile warnings from URI parser. Contributed by James Clampffer

Repository: hadoop
Updated Branches:
  refs/heads/HDFS-8707 a903f780e -> d643d8c4f


HDFS-10578. libhdfs++: Silence compile warnings from URI parser. Contributed by James Clampffer


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/d643d8c4
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/d643d8c4
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/d643d8c4

Branch: refs/heads/HDFS-8707
Commit: d643d8c4f90248a4f9869f429ae9afc1593a900b
Parents: a903f78
Author: James <jh...@apache.org>
Authored: Tue Jun 28 14:41:44 2016 -0400
Committer: James <jh...@apache.org>
Committed: Tue Jun 28 14:41:44 2016 -0400

----------------------------------------------------------------------
 .../main/native/libhdfspp/third_party/uriparser2/CMakeLists.txt | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/d643d8c4/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/uriparser2/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/uriparser2/CMakeLists.txt b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/uriparser2/CMakeLists.txt
index d752be5..30e9245 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/uriparser2/CMakeLists.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/third_party/uriparser2/CMakeLists.txt
@@ -18,8 +18,9 @@
 
 
 #uripaser lib likes to use always_inline and gcc complains
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-attributes")
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-attributes")
+#also frees const qualified malloced buffers
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -w")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
 
 add_library(uriparser2_obj OBJECT uriparser2/uriparser2.c uriparser2/uriparser/UriParse.c uriparser2/uriparser/UriParseBase.c 
     uriparser2/uriparser/UriCommon.c uriparser2/uriparser/UriIp4Base.c uriparser2/uriparser/UriIp4.c uriparser2/uriparser/UriEscape.c uriparser2/uriparser/UriQuery.c)


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org