diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-14 16:39:40 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-07-14 16:39:40 -0300 |
commit | d7944b621e895383482792df3b8aa3eed6ee5f6d (patch) | |
tree | 05485c186839ac3c248a3e0355728341d0f397d4 /EXCEPTIONS-CLIENT | |
parent | f317d3a6fb413cfc04c1ed005df8e859664e41d5 (diff) | |
download | mariadb-git-d7944b621e895383482792df3b8aa3eed6ee5f6d.tar.gz |
Bug#42733: Type-punning warnings when compiling MySQL --
strict aliasing violations.
Post-merge fix: include my_compiler.h before my_attribute.h
as the latter will undef __attribute__ if the compiler is not
GCC. Based on the compiler version, in my_compiler.h we know
for sure whether the aligned attribute is supported. Furthermore,
undefining attribute might cause bugs if some system header
uses it.
include/my_compiler.h:
Drop aligned attribute support from Sun Studio C++ compiler
as its not clear exactly which version of it supports the
attribute.
Diffstat (limited to 'EXCEPTIONS-CLIENT')
0 files changed, 0 insertions, 0 deletions