Compiling gcc-4.2-20060325 compiles on my FC5 box with the following error message (gcc-4.1.0-3.src.rpm upgraded to gcc-4.2-20060325.src.rpm):
../xgcc -B ./ -O2 -c -DUNPROTOIZE -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -Werror -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber -I../libdecnumber \ -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/usr/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"4.2.0\" -DDEFAULT_TARGET_MACHINE=\"i386-redhat-linux\" -DSTANDARD_BINDIR_PREFIX=\"/usr/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \ ../../gcc/protoize.c -o unprotoize.o) cc1: warnings being treated as errors .../../gcc/protoize.c: In function 'edit_fn_definition': .../../gcc/protoize.c:3506: warning: argument 'clean_text_p' might be clobbered by 'longjmp' or 'vfork'make: *** [unprotoize.o] Error 1 Warning policy is strict (warnings yields errors) but warnings should not get ignored either.