This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCHes] Misc aliasing fixes for building DLL with gcc-4.5.0
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 17 Aug 2010 17:38:35 -0400
- Subject: Re: [PATCHes] Misc aliasing fixes for building DLL with gcc-4.5.0
- References: <4A7F8FF5.5060701@gmail.com> <1282073012.8848.8.camel@YAAKOV04>
- Reply-to: cygwin-patches at cygwin dot com
On Tue, Aug 17, 2010 at 02:23:32PM -0500, Yaakov (Cygwin/X) wrote:
>On Mon, 2009-08-10 at 04:11 +0100, Dave Korn wrote:
>> I tried compiling winsup with GCC-4.5.0 HEAD, and it finds a bunch of things
>> to complain about (which then break the -Werror build). They are mostly
>> "dereferencing type-punned pointer will break strict-aliasing rules" errors, but
>> there is also some possibly-undefined behaviour in passwd.cc (looks like a
>> problem with sequence points to me).
>
>Sorry to resurrect such an old thread, but now that Dave released
>gcc-4.5, this is no longer theoretical. Here are the warnings-as-errors
>that I get with gcc-4.5.1 with Dave's 4.5.0 patch set:
We obviously have been down this road before and will fix the compiler
errors as time permits.
In the meantime, posting the errors to "cygwin-patches" isn't really
interesting since there are no patches here.
Actually, I don't think they are actually very interesting in any
mailing list.
cgf