Scanning dependencies of target GenError [ 17%] Generating ../include/mysqld_error.h.tmp [ 17%] Built target GenError Scanning dependencies of target partition [ 17%] Building CXX object sql/CMakeFiles/partition.dir/ha_partition.cc.o In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/ha_partition.cc:50: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_parse.h:20: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_acl.h:21: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_class.h:25: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/unireg.h:172: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/field.h:29: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/table.h:22: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/mdl.h:32: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:963:39: error: expected unqualified-id template static __two test(...); ^ /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/include/my_global.h:480:21: note: expanded from macro 'test' #define test(a) ((a) ? 1 : 0) ^ In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/ha_partition.cc:50: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_parse.h:20: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_acl.h:21: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_class.h:25: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/unireg.h:172: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/field.h:29: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/table.h:22: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/mdl.h:32: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:963:39: error: expected ')' /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/include/my_global.h:480:23: note: expanded from macro 'test' #define test(a) ((a) ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:963:39: note: to match this '(' /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/include/my_global.h:480:18: note: expanded from macro 'test' #define test(a) ((a) ? 1 : 0) ^ In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/ha_partition.cc:50: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_parse.h:20: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_acl.h:21: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_class.h:25: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/unireg.h:172: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/field.h:29: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/table.h:22: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/mdl.h:32: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:964:43: error: expected unqualified-id template static char test(typename _Up::pointer* = 0); ^ /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/include/my_global.h:480:20: note: expanded from macro 'test' #define test(a) ((a) ? 1 : 0) ^ In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/ha_partition.cc:50: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_parse.h:20: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_acl.h:21: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_class.h:25: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/unireg.h:172: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/field.h:29: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/table.h:22: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/mdl.h:32: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:964:43: error: expected ')' /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/include/my_global.h:480:20: note: expanded from macro 'test' #define test(a) ((a) ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:964:38: note: to match this '(' template static char test(typename _Up::pointer* = 0); ^ /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/include/my_global.h:480:19: note: expanded from macro 'test' #define test(a) ((a) ? 1 : 0) ^ In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/ha_partition.cc:50: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_parse.h:20: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_acl.h:21: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_class.h:25: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/unireg.h:172: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/field.h:29: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/table.h:22: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/mdl.h:32: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:964:38: error: expected ')' template static char test(typename _Up::pointer* = 0); ^ /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/include/my_global.h:480:23: note: expanded from macro 'test' #define test(a) ((a) ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:964:38: note: to match this '(' /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/include/my_global.h:480:18: note: expanded from macro 'test' #define test(a) ((a) ? 1 : 0) ^ In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/ha_partition.cc:50: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_parse.h:20: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_acl.h:21: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/sql_class.h:25: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/unireg.h:172: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/field.h:29: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/table.h:22: In file included from /Users/rob/osx-compile-snippets/build/mariadb-10.0.6/sql/mdl.h:32: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/algorithm:594: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:969:69: error: no member named 'test' in namespace 'std::__1::__has_pointer_type_imp' : public integral_constant(0)) == 1> ~~~~~~~~~~~~~~~~~~~~~~~~^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:969:74: error: '_Tp' does not refer to a value : public integral_constant(0)) == 1> ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:967:17: note: declared here template ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:970:1: error: expected class name { ^ 8 errors generated. make[2]: *** [sql/CMakeFiles/partition.dir/ha_partition.cc.o] Error 1 make[1]: *** [sql/CMakeFiles/partition.dir/all] Error 2 make: *** [all] Error 2 make failed