-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed some compile errors #15
Conversation
Thanks for the fixes. I will review this and merge them in. Just for reference, what compiler version are you using? |
Thanks for reply. This is my environment. mitans02@ubuntu:~$ uname -a mitans02@ubuntu:~$ dpkg -l | grep gcc mitans02@ubuntu:~$ g++ -v |
This is part of error message. libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I/home/mitans02/mysql-audit/mysql-5.1.51/sql -I/home/mitans02/mysql-audit/mysql-5.1.51/include -I/home/mitans02/mysql-audit/mysql-5.1.51/regex -I/home/mitans02/mysql-audit/mysql-5.1.51 -I/home/mitans02/mysql-audit/mysql-audit/yajl/include -I/home/mitans02/mysql-audit/mysql-audit/udis86 -g -O2 -DDBUG_OFF -Werror -Wimplicit -DMYSQL_AUDIT_PLUGIN_VERSION="1.0.0" -DMYSQL_AUDIT_PLUGIN_REVISION="99999" -fno-implicit-templates -fno-exceptions -fno-rtti -MT audit_handler.lo -MD -MP -MF .deps/audit_handler.Tpo -c audit_handler.cc -fPIC -DPIC -o .libs/audit_handler.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I/home/mitans02/mysql-audit/mysql-5.1.51/sql -I/home/mitans02/mysql-audit/mysql-5.1.51/include -I/home/mitans02/mysql-audit/mysql-5.1.51/regex -I/home/mitans02/mysql-audit/mysql-5.1.51 -I/home/mitans02/mysql-audit/mysql-audit/yajl/include -I/home/mitans02/mysql-audit/mysql-audit/udis86 -g -O2 -DDBUG_OFF -Werror -Wimplicit -DMYSQL_AUDIT_PLUGIN_VERSION="1.0.0" -DMYSQL_AUDIT_PLUGIN_REVISION="99999" -fno-implicit-templates -fno-exceptions -fno-rtti -MT audit_plugin.lo -MD -MP -MF .deps/audit_plugin.Tpo -c audit_plugin.cc -fPIC -DPIC -o .libs/audit_plugin.o |
Thanks for the info. I think you are getting the errors as you are using g++ to compile and we are using gcc. We use gcc for maximum compatibility with different MySQL versions and avoid forcing an import of libstdc++. Anyway, I will review the fix and merge them in so we are compatible with g++. |
if you need, merge please.