[hatari-devel] unused-but-set-variable gcc

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

gcc 4.6 has a new warning suppression which causes
older gcc versions to fail with this error:

cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"

Please don't use this option with older compilers.

--------------------------------------------------------------------------------------

[ 21%] Building C object src/cpu/CMakeFiles/gencpu.dir/cpudefs.c.o
cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
make[2]: *** [src/cpu/CMakeFiles/gencpu.dir/cpudefs.c.o] Error 1
make[1]: *** [src/cpu/CMakeFiles/gencpu.dir/all] Error 2
make: *** [all] Error 2



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/