<p dir="ltr"><br>
On Jan 16, 2013 6:58 AM, <<a href="mailto:dag@cray.com">dag@cray.com</a>> wrote:<br>
><br>
> Duncan Sands <<a href="mailto:baldrick@free.fr">baldrick@free.fr</a>> writes:<br>
><br>
> >>> This is clearly a gcc bug.  I don't know what the right approach to solving<br>
> >>> this is though, any suggestions?<br>
> >><br>
> >> Is it a GCC bug? I thought this was documented behavior:<br>
> >><br>
> > it results in a warning rather than an error with gcc-4.7, gcc-4.6, gcc-4.5<br>
> > and gcc-4.4.<br>
><br>
> Unless you pass -Werror, which was the whole motivator for this change<br>
> in the first place.  :)</p>
<p dir="ltr">In that case, what was the problem - the error should only show up when you already had other errors anyway (I agree that's still probably worth fixing as it's often confusing to users who see it and think it's the reason the build is failing). Did you have specific warnings that were being turned back down to warnings rather than errors?<br>

</p>