This is the mail archive of the gcc-bugs@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]

gcc-2.7.2.3 fails on __extension__


Trying to build CVS gcc using the good old stable gcc-2.7.2.3
(as shipped with Debian 2.1) fails in cppinit.c and cpplex.c -
this version knows about designated initializers, but not about
the __extension__ keyword added there yesterday.

I suggest to test GCC_VERSION in ansidecl.h and #define __extension__
empty if the compiler used is too old, but I'm not sure exactly in
which version __extension__ appeared.  Someone here will know :-).

Thanks,
Marek

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