This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] {,U}LLONG_{MIN,MAX} with -D_GNU_SOURCE (BZ #1228)


On Tue, Sep 13, 2005 at 10:36:59AM -0700, Roland McGrath wrote:
> I think there was a BZ about this, or maybe an earlier email.
> That's not sufficient for:
> 
> #define _GNU_SOURCE
> #include <limits.h>

It is enough to DTRT, I have tested both include orders, i.e.
-isystem `dirname $(gcc -print-file-name=include/limits.h)` -isystem /usr/include
and
-isystem /usr/include -isystem `dirname $(gcc -print-file-name=include/limits.h)`
before and after the patch.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]