This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

newlib/libc/include/sys/config.h vs. gcc.dg/cpp/19990407-1.c


I see a regression on gcc.dg/cpp/19990407-1.c- and a number
of other testcases - because newlib/libc/include/sys/config.h
uses 'long long' and gcc complains about this when invoked
with -ansi -pedantic-errors: ISO C89 does not support `long long'

config.h is included by _ansi.h, which in turn is included by
string.h .

The problem goes away when I add __extension__ in front
of the __int64_t / __uint64_t typedefs in line 143 / 144
of config.h.  Is that the right change?
Or should we not defining these types at all when compiling
with -ansi -pedantic-errors ?
--
--------------------------
SuperH
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330


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