← Back to team overview

maria-developers team mailing list archive

Clang build failure

 

MariaDB 5.3.5, 5.2.10 and possibly other versions, fails to compile using Apple's Clang compiler. As of Xcode 4.3, Clang is the default compiler, replacing LLVM-GCC. 

The issue seems to occur when checking for an ABI incompatibility in mysql.h. As Clang preprocesses the file differently than GCC, the output is different, which fails the abi_check.

MariaDB compiles fine using the non-default LLVM-GCC compiler.

https://gist.github.com/1944688 

-- 
#Terin Stock


Follow ups