On 09/17/2010 05:06 AM, Julian Taylor wrote: > Package: libmysqlclient-dev > Severity: normal > > mysql_config --cflags outputs the -fno-strict-aliasing flag. > As users of this library may not want to use this flag in their projects > the headers should be fixed and the flag removed from mysql_config. > > The inclusion of the flag seems to be related to mysql being built with > -fno-strict-aliasing. Building without it also removes the flag from > mysql_config. > So it may be the case that it is not required for the headers at all.
MySQL itself is so completely un-safe for strict-aliasing it's not even funny. BUT - the libmysqlclient headers should have no problems in this regard. Removing that flag from the mysql_config program should be a fine choice. I do not recommend doing that by building MySQL with the flag removed though - patching mysql_config after the fact will be much safer. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

