This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bootstrap failure: gcc/cppexp.c:430: structure has no member named`n_true'
- To: Zack Weinberg <zack at wolery dot stanford dot edu>, <gcc-bugs at gcc dot gnu dot org>
- Subject: Bootstrap failure: gcc/cppexp.c:430: structure has no member named`n_true'
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Wed, 7 Feb 2001 23:00:50 +0100 (CET)
Zack, I'm afraid the following change
2001-02-07 Zack Weinberg <zack@wolery.stanford.edu>
* cpphash.h (struct spec_nodes): Add n_true and n_false.
* cppinit.c (cpp_create_reader): Initialize them.
(append_include_chain): cxx_aware arg might be unused.
* cppexp.c (lex): In C++ mode, recognize 'true' and 'false'
keywords and give them their phase 7 meaning. Pedwarn about
this unless '__bool_true_false_are_defined' is defined.
broke bootstrap. Tested on sparc-sun-solaris2-8 and i386-linux-gnu:
gcc -c -DIN_GCC -DSVR4 -g -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H
-I. -I. -I/sw/test/gcc/cvs/gcc -I/sw/test/gcc/cvs/gcc/.
-I/sw/test/gcc/cvs/gcc/config
-I/sw/test/gcc/cvs/gcc/../include /sw/test/gcc/cvs/gcc/cppfiles.c -o
cppfiles.o
/sw/test/gcc/cvs/gcc/cppexp.c: In function `lex':
/sw/test/gcc/cvs/gcc/cppexp.c:430: structure has no member named `na_true'
/sw/test/gcc/cvs/gcc/cppexp.c:431: structure has no member named `n_false'
/sw/test/gcc/cvs/gcc/cppexp.c:435: structure has no member named `n_true'
gmake[2]: *** [cppexp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/