Subject: Re: racoon and gcc 3.3.1
To: Daniel Carosone <dan@geek.com.au>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 09/29/2003 16:20:10
On Sat, Sep 27, 2003 at 06:54:05AM +1000, Daniel Carosone wrote:
> On Fri, Sep 26, 2003 at 01:34:16PM +0100, Patrick Welche wrote:
> > gcc 3.3.1 complains about racoon/crypto_openssl.c's uses of
> > "(unsigned char **)&p)" (3 of them). I thought there was a whole thread
> > about this earlier...
> > 
> > warning: dereferencing type-punned pointer will break strict-aliasing rules
> > 
> > gcc 2.95.3 is happy.
> > 
> > Thoughts?
> 
> You need to stop trying to force it to do -O2 for that file, which
> it doesn't by default. Or fix the pointer usage :)

Guilty as charged :/ cf my COPTS in mk.conf :(

Thanks!

Patrick