Hi.
MySQL 2.3.2 and 3.0.0 RC3 dosen't build using new gcc version.
Here is patches proposal :
- mysql++-gcc43.patch for mysql 2.3.2
(already include for Fedora 9 build)
- mysql++3-gcc43.patch for mysql 3.0.0 rc3
It also still remain some warnings :
g++ -c -o test_tcp_tcp.o -Ilib -pthread -I/usr/include/mysql -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic ./test/tcp.cpp
./test/string.cpp: In function 'bool test_int_conversion(const
mysqlpp::String&, bool)':
./test/string.cpp:97: warning: unused variable 'converted'
./test/string.cpp: At global scope:
./test/string.cpp:92: warning: 'bool test_int_conversion(const
mysqlpp::String&, bool)' defined but not used
g++ -c -o dbinfo_dbinfo.o -Ilib -pthread -I/usr/include/mysql -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic ./examples/dbinfo.cpp
./examples/cpool.cpp: In function 'void* worker_thread(void*)':
./examples/cpool.cpp:119: warning: comparison between signed and
unsigned integer expressions
Regards
Remi
Attachment: [text/x-patch] mysql++3-gcc43.patch
Attachment: [text/x-patch] mysql++-gcc43.patch