Subject: Re: crypto/openssl triggers tons of warnings with -Wstrict-aliasing
To: Blair Sadewitz <blair.sadewitz@gmail.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 06/08/2007 16:16:24
On Fri, 8 Jun 2007 16:05:42 -0400
"Blair Sadewitz" <blair.sadewitz@gmail.com> wrote:
> I accidentally left -Wstrict-aliasing in my CFLAGS from some work in
> pkgsrc when I went to build the source tree. I subsequently noticed a
> whole cascade of errors about type-punning in crypto/openssl. Does
> anyone know if this is a false alarm? If not, I'll build it again
> sometime this weekend and submit patches to disable strict aliasing
> where necessary.
>
Those sound like good patches to feed back upstream.
--Steve Bellovin, http://www.cs.columbia.edu/~smb