[PATCH util-macros 1/2] Don't disable strict aliasing (-fno-strict-aliasing) globally

Jeremy Huddleston jeremyhu at apple.com
Mon Nov 1 16:34:46 PDT 2010


On Nov 1, 2010, at 14:46, Gaetan Nadon wrote:
> Sorry, I got confused. I forgot -O brings strict aliasing by default. We
> need one new variable for "real warnings" and one variable for
> -fno-strict-aliasing. Modules would typically use the new "real
> warnings" variable and some would pick the new "-fno-strict-aliasing"
> variable (the server and drivers for example). The CWARNFLAGS is
> untouched for backward compatibility. I hope I got it right :-)
> 
> For the server, it would be $(CFLAGS_WARNINGS) +
> $(CFLAGS_NO_STRICT_ALIASING)
> For libXxf86vm, it would be $(CFLAGS_WARNINGS)

So... basically what I said originally... ? ;)



More information about the xorg-devel mailing list