Compile error with version 1.0.4-8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona-XtraDB |
Fix Released
|
Medium
|
Aleksandr Kuzminsky |
Bug Description
When compiling, I got the following issue:
make[1]: Entering directory `/usr/*
/bin/sh ../../libtool --preserve-dup-deps --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../regex -I../..
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../regex -I../..
handler/i_s.cc: In function ‘int i_s_innodb_
handler/i_s.cc:799: error: invalid conversion from ‘const char*’ to ‘char*’
Used with mysql-5.1.39 source package + percona-
gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC)
Platform: x86_64
Related branches
Changed in percona-xtradb: | |
assignee: | nobody → Aleksandr Kuzminsky (akuzminsky) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in percona-xtradb: | |
status: | Confirmed → In Progress |
I have the same problem on 64bit host running ubuntu karmic. I'm copiling mysql 5.1.40 and xtradb branch release-9 :
g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../regex -I../.. /storage/ innobase/ include -I../../sql -I. -I../../zlib -O3 -fno-implicit- templates -fno-exceptions -fno-rtti -MT libinnobase_a-i_s.o -MD -MP -MF .deps/libinnoba se_a-i_ s.Tpo -c -o libinnobase_a-i_s.o `test -f 'handler/i_s.cc' || echo './'`handler/i_s.cc buffer_ pool_pages_ index_fill( THD*, TABLE_LIST*, COND*)’: admin_command_ fill(THD* , TABLE_LIST*, COND*)’: i_s.cc: 2993: warning: deprecated conversion from string constant to ‘char*’ a-i_s.o] Error 1 mysql-5. 1.40/storage/ innobase' mysql-5. 1.40/storage/ innobase' mysql-5. 1.40/storage'
handler/i_s.cc: In function ‘int i_s_innodb_
handler/i_s.cc:799: error: invalid conversion from ‘const char*’ to ‘char*’
handler/i_s.cc: In function ‘int i_s_innodb_
handler/
make[3]: *** [libinnobase_
make[3]: Leaving directory `/usr/src/
make[2]: *** [custom_checks] Error 2
make[2]: Leaving directory `/usr/src/
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/
make: *** [all-recursive] Error 1