Re: [hatari-devel] unused-but-set-variable gcc |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] unused-but-set-variable gcc
- From: David Savinkoff <dsavnkff@xxxxxxxxx>
- Date: Fri, 30 Jan 2015 13:55:35 -0700 (MST)
- Thread-index: qlUb6Ntja+l2HNNAu+wZ8ktIhWVnRknJErKW
- Thread-topic: unused-but-set-variable gcc
Hi Thomas,
Thank you for making this work with old compilers.
change-set 5555 allows error free compiling now.
----- David Savinkoff wrote:
> 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
>