diff options
author | unknown <monty@mysql.com/narttu.mysql.fi> | 2007-01-23 16:42:03 +0200 |
---|---|---|
committer | unknown <monty@mysql.com/narttu.mysql.fi> | 2007-01-23 16:42:03 +0200 |
commit | 1b72f3618b901f017fc4f5db5dbaad72ca79243a (patch) | |
tree | 0e45a04dc98f31226612beac168f784f63ca4c10 /extra | |
parent | ea65c36c19225f91a686c4cc33b1fe1527f1e785 (diff) | |
download | mariadb-git-1b72f3618b901f017fc4f5db5dbaad72ca79243a.tar.gz |
Avoid compiler warnings on powermacg5
Fixed compilation error when trying to compile libmysqld on powermac
configure.in:
Added flag if __cxa_pure_virtual() should be defined.
Without this flag, we get a warning from my_global.h for every compiled file on powermacg5
extra/yassl/taocrypt/include/type_traits.hpp:
Avoid compiler warning
include/my_global.h:
Avoid compiler warning on powermacg5
sql/mysqld.cc:
Fix compiler error when compiling embedded on powermac
Diffstat (limited to 'extra')
-rw-r--r-- | extra/yassl/taocrypt/include/type_traits.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extra/yassl/taocrypt/include/type_traits.hpp b/extra/yassl/taocrypt/include/type_traits.hpp index b985358e1c1..3a50f9ba8f3 100644 --- a/extra/yassl/taocrypt/include/type_traits.hpp +++ b/extra/yassl/taocrypt/include/type_traits.hpp @@ -69,7 +69,11 @@ MK_FUNDAMENTAL_TYPE(unsigned long) MK_FUNDAMENTAL_TYPE(float) MK_FUNDAMENTAL_TYPE( double) -MK_FUNDAMENTAL_TYPE(long double) + +#ifdef LONG_DOUBLE_IS_DISTINCT_TYPE +// Don't define by default as this gives warnings on power mac + MK_FUNDAMENTAL_TYPE(long double) +#endif #if defined(WORD64_AVAILABLE) && defined(WORD64_IS_DISTINCT_TYPE) MK_FUNDAMENTAL_TYPE(word64) |