Do not filter cpp warnings, and fix one type of warning issued by glibc ENGINE-238
authorDamiano Boppart <damiano@pep-security.net>
Sun, 27 Aug 2017 16:11:58 +0200
branchENGINE-238
changeset 2001111c1f727b07
parent 1999 ac238ad1f6d0
child 2006 77f26f8c5a7a
Do not filter cpp warnings, and fix one type of warning issued by glibc
build-config/Linux.conf
     1.1 --- a/build-config/Linux.conf	Thu Aug 24 15:19:26 2017 +0000
     1.2 +++ b/build-config/Linux.conf	Sun Aug 27 16:11:58 2017 +0200
     1.3 @@ -19,8 +19,8 @@
     1.4  else
     1.5      CFLAGS+= -O3 -DNDEBUG
     1.6  endif
     1.7 -# '-Wno-cpp' is required to suppress the warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" otherwise printed during the compilation of every asn1c-generated C file.
     1.8 -CFLAGS_GENERATED=-Wno-cpp
     1.9 +# The '_DEFAULT_SOURCE' feature test macro is required to suppress the warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" otherwise printed during the compilation of every asn1c-generated C file. It's a glibc specific warning, only present in few versions around ~2.19. See https://lwn.net/Articles/590381/ for a discussion.
    1.10 +CFLAGS_GENERATED=-D_DEFAULT_SOURCE
    1.11  
    1.12  ######### C++ #########
    1.13  CXX=g++ -std=gnu++11 -pthread