Subject: Re: crypto/openssl triggers tons of warnings with -Wstrict-aliasing
To: Blair Sadewitz <firstname.lastname@example.org>
From: Steven M. Bellovin <email@example.com>
Date: 06/08/2007 16:16:24
On Fri, 8 Jun 2007 16:05:42 -0400
"Blair Sadewitz" <firstname.lastname@example.org> 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