[Mesa-dev] [PATCH] scons: Define _DEFAULT_SOURCE.
Emil Velikov
emil.l.velikov at gmail.com
Sun Mar 1 14:38:29 PST 2015
On 01/03/15 20:21, Vinson Lee wrote:
> 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.
In that case feel free to add
Acked-by: Emil Velikov <emil.l.velikov at gmail.com>
Would nice to wait if Brian/Jose/others have any comments.
> The FreeBSD SCons
> build has not worked for years.
>
That's unfortunate. Just curious are there any plans/hopes to revive/fix
it ?
-Emil
More information about the mesa-dev
mailing list