|Re: [hatari-devel] Compiler Warnings|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
On sunnuntai 24 marraskuu 2013, Christer Solskogen wrote:
> On Sun, Nov 24, 2013 at 10:01 AM, David Savinkoff <dsavnkff@xxxxxxxxx> > >
I compiled oldcore Hatari with gcc-4.4.7 and got some warnings that
> > don't appear with gcc-4.1.2:
> Does not happen with gcc 4.8, nor clang.
GCC had a bug that it output warnings before it had finished all
code analysis passes (done as part of optimization). As a result,
it output warnings about things that can never happen
(dead code paths).
It was very annoying, but it's fixed in latest GCC versions.