This is the mail archive of the libc-hacker@sourceware.cygnus.com 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] |
>>>>> Jakub Jelinek writes: > Hi! > Sadly it turns out that eventhough gcc 2.95 handles hex floating constants > just fine (with __extension__ for -pedantic), g++ 2.95 does not, so everyone > now gets a fatal error including math.h in a C++ program. > Fortunately g++ 2.96 does (ObjC did already in 2.95), so IMHO we have three > choices: > - simply prereq 2.96 like done with this patch > - use # if __GNUC_PREREQ(2,96) || (__GNUC_PREREQ(2,95) && !defined(__cplusplus)) > - kill the hex floating consts bits from huge_val.h HUGE_VAL is required by some standards. IMO we can't just disable it for gcc <= 2.95, especially since 2.96 is not released yet. The only practical solution I see is to leave it the way it is and condem -pedantic. Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |