Re: Defining _GNU_SOURCE hides the declaration of aligned_alloc

2016-02-02 Thread Yaakov Selkowitz
On 2016-02-02 16:27, Ken Brown wrote: The issue in the Subject line came up in connection with an emacs bug report. Here's a test case: [snip] $ gcc test.c -Wimplicit-function-declaration test.c: In function ‘main’: test.c:7:3: warning: implicit declaration of function ‘aligned_alloc’ The cau

Re: Defining _GNU_SOURCE hides the declaration of aligned_alloc

2016-02-02 Thread Ken Brown
On 2/2/2016 5:27 PM, Ken Brown wrote: The issue in the Subject line came up in connection with an emacs bug report. Here's a test case: $ cat test.c #define _GNU_SOURCE #include int main () { aligned_alloc (1, 1); } $ gcc test.c -Wimplicit-function-declaration test.c: In function ‘main’:

Defining _GNU_SOURCE hides the declaration of aligned_alloc

2016-02-02 Thread Ken Brown
The issue in the Subject line came up in connection with an emacs bug report. Here's a test case: $ cat test.c #define _GNU_SOURCE #include int main () { aligned_alloc (1, 1); } $ gcc test.c -Wimplicit-function-declaration test.c: In function ‘main’: test.c:7:3: warning: implicit declarati