[Mesa-dev] [PATCH] scons: Define _DEFAULT_SOURCE.
Vinson Lee
vlee at freedesktop.org
Sun Mar 1 12:21:19 PST 2015
On Sun, Mar 1, 2015 at 8:52 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> 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
>
This patch does not affect the Mac OS X SCons build. The FreeBSD SCons
build has not worked for years.
More information about the mesa-dev
mailing list