[llvm-commits] -Wno-maybe-uninitialized not working right with gcc-4.3

David Blaikie dblaikie at gmail.com
Wed Jan 16 08:50:12 PST 2013


On Jan 16, 2013 6:58 AM, <dag at cray.com> wrote:
>
> Duncan Sands <baldrick at free.fr> writes:
>
> >>> This is clearly a gcc bug.  I don't know what the right approach to
solving
> >>> this is though, any suggestions?
> >>
> >> Is it a GCC bug? I thought this was documented behavior:
> >>
> > it results in a warning rather than an error with gcc-4.7, gcc-4.6,
gcc-4.5
> > and gcc-4.4.
>
> Unless you pass -Werror, which was the whole motivator for this change
> in the first place.  :)

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130116/523232b1/attachment.html>


More information about the llvm-commits mailing list