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

2015-03-01 Thread Emil Velikov
On 01/03/15 20:21, Vinson Lee wrote: > On Sun, Mar 1, 2015 at 8:52 AM, Emil Velikov 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_S

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

2015-03-01 Thread Vinson Lee
On Sun, Mar 1, 2015 at 8:52 AM, Emil Velikov 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 an

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

2015-03-01 Thread Emil Velikov
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" >^

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

2015-03-01 Thread Vinson Lee
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" ^ Signed-off-by: Vinson Lee --- scons/gallium.py