CONNECT storage engine does not compile on OSX 10.8

Description

Reported by a user (he has problems creating a JIRA account currently, so he wrote to me directly).

Problem: MariaDB 10.0.4 does not compile on Mac OS X 10.8

Error message:

In file included from /Users/ck/Software/mariadb-10.0.4/sql/item.h:3668:
/Users/ck/Software/mariadb-10.0.4/sql/item_xmlfunc.h:25:9: warning:
unknown pragma
ignored [-Wunknown-pragmas]
#pragma interface /* gcc class implementation */
^
In file included from
/Users/ck/Software/mariadb-10.0.4/storage/connect/ha_connect.cc:129:
In file included from
/Users/ck/Software/mariadb-10.0.4/storage/connect/tabxcl.h:4:
/Users/ck/Software/mariadb-10.0.4/storage/connect/tabutil.h:73:41:
error: cannot
initialize return object of type 'PSZ' (aka 'char *') with an
rvalue of type
'const char *'
virtual PSZ GetServer(void) {return (Tdbp) ? Tdbp->GetServer() : "?";}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make[2]: *** [storage/connect/CMakeFiles/connect.dir/ha_connect.cc.o]
Error 1
make[1]: *** [storage/connect/CMakeFiles/connect.dir/all] Error 2

Environment

None

Assignee

Olivier Bertrand

Reporter

Vladislav Vaintroub

Labels

None

Fix versions

Affects versions

Priority

Major
Configure