I get such warnings at each compilation step with glibc 2.20:
In file included from /usr/include/assert.h:35:0,
from src/engine/common/Pointers.h:5,
from src/engine/common/Common.h:4,
from src/engine/common/ports/Unix.h:4,
from src/engine/common/ports/Unix.cpp:1:
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^
I get such warnings at each compilation step with glibc 2.20:
It seems you just need to define _DEFAULT_SOURCE to fix this warning, see (among other sources): https://ghc.haskell.org/trac/ghc/ticket/9185 http://permalink.gmane.org/gmane.comp.version-control.git/257209