[Mesa-dev] [PATCH] scons: Define _DEFAULT_SOURCE.

Emil Velikov emil.l.velikov at gmail.com
Sun Mar 1 08:52:37 PST 2015


On 01/03/15 08:49, Vinson Lee wrote:
> Fix GCC cpp warnings with glibc >= 2.19.
> 
> /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"
>    ^
> 
Any ideas if this has any side effects when building for non-linux
platforms - freebsd/darwin ?
It's nice to see that I wasn't the only person getting all this spam :-)

-Emil



More information about the mesa-dev mailing list