_BSD_SOURCE and _GNU_SOURCE

Milian Wolff mail at milianw.de
Fri Nov 14 15:23:45 GMT 2014


Hello all.

Since recently I get spammed by warnings such as this one:

/ssd/milian/projects/kde4/kdelibs/kdecore/network/klocalsocket_unix.cpp:22:
/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"

Why do we defined _BSD_SOURCE or _GNU_SOURCE in FindKDE4Internal.cmake?

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de




More information about the kde-core-devel mailing list