This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Fix strict-aliasing warnings from unwind-dw2-fde.c
On Wed, Nov 21, 2012 at 12:19 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Wed, 21 Nov 2012, Jeff Law wrote:
>
>> How interested are we in fixing these warnings? There's a patch in fedora
>> which adds -fno-strict-aliasing to the compilation lines for ~10 or so files
>> in glibc.
>
> Well, I think we should aim for zero warnings and -Werror (failing that, a
> few hard-to-fix warnings and -Wno-error=whatever on selected files, with
> appropriate comments e.g. referring to compiler warning bugs), and having
> a few files in a different dialect of C that allows non-standard aliasing
> seems bound to be confusing.
I strongly agree.
Cheers,
Carlos.