[PATCH xserver 1/4] Replace deprecated CWARNFLAGS with BASE_CFLAGS and NO_STRICT_ALIASING_CFLAG

Keith Packard keithp at keithp.com
Fri Dec 9 07:40:41 PST 2011


On Fri, 09 Dec 2011 07:45:01 -0500, Gaetan Nadon <memsize at videotron.ca> wrote:

>  This function is deprecated because it defines -fno-strict-aliasing
>  which alters the code generated by the compiler.  If -fno-strict-aliasing
>  is needed, then it should be added explicitly in the module when
>  it is updated to use BASE_CFLAGS.

Does this change the default for this flag? -fno-strict-aliasing is
needed to preserve compatibility with older code, and I think it should
probably be on by default until a module owner disables it manually.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111209/e140e010/attachment.pgp>


More information about the xorg-devel mailing list