Thomas Koenig <tkoe...@netcologne.de> writes: > I just got a bootstrap error on trunk, with configuration > > ../trunk/configure --prefix=$HOME --enable-languages=c,fortran > --disable-build-poststage1-with-cxx > > The error was: > > ../../trunk/gcc/fortran/decl.c: In function 'match_attr_spec': > ../../trunk/gcc/fortran/decl.c:3276:3: error: typedef 'decl_types' > locally defined but not used [-Werror=unused-local-typedefs] > decl_types; > ^ > cc1: all warnings being treated as errors > make[3]: *** [fortran/decl.o] Error 1 > make[3]: *** Waiting for unfinished jobs.... > make[3]: Leaving directory `/home/ig25/Gcc/trunk-bin/gcc' > make[2]: *** [all-stage2-gcc] Error 2 > make[2]: Leaving directory `/home/ig25/Gcc/trunk-bin' > make[1]: *** [stage2-bubble] Error 2 > make[1]: Leaving directory `/home/ig25/Gcc/trunk-bin' > make: *** [all] Error 2 > > > Bootstrapping compiler was gcc version 4.6.2 (SUSE Linux) > > Any ideas?
The warning seems to be correct: the typedef is locally defined but not used. This is presumably from Dodji's 2012-05-04 change to make -Wunused-local-typedefs part of -Wall. Ian