[hatari-devel] unused-but-set-variable gcc |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] unused-but-set-variable gcc
- From: David Savinkoff <dsavnkff@xxxxxxxxx>
- Date: Wed, 28 Jan 2015 15:53:10 -0700 (MST)
- Thread-index: qlUb6Ntja+l2HNNAu+wZ8ktIhWVnRg==
- Thread-topic: unused-but-set-variable gcc
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