I'm using Slackware-current GCC-4.7 cmake-2.8.8 linux kernel 3.2.14
Although mysql-5.5.24 server built successfully, I'm trying to build
mysql-cluster-gpl-7.2.6 and I'm getting a build failed with
[ 32%] Building CXX object
storage/ndb/src/common/util/CMakeFiles/HashMap2-t.dir/HashMap2.cpp.o
/tmp/mysql-cluster-gpl-7.2.6/storage/ndb/src/common/util/HashMap2.cpp:
In function ‘int HashMap2_test()’:
/tmp/mysql-cluster-gpl-7.2.6/storage/ndb/src/common/util/HashMap2.cpp:160:18:
error: redeclaration of ‘IntIntKVPod* j’
/tmp/mysql-cluster-gpl-7.2.6/storage/ndb/src/common/util/HashMap2.cpp:117:12:
error: ‘int j’ previously declared here
make[2]: ***
[storage/ndb/src/common/util/CMakeFiles/HashMap2-t.dir/HashMap2.cpp.o]
Error 1
make[1]: *** [storage/ndb/src/common/util/CMakeFiles/HashMap2-t.dir/all]
Error 2
make: *** [all] Error 2
It must be gcc-4.7 related, according to
http://gcc.gnu.org/gcc-4.7/porting_to.html
regards
--
MySQL Cluster Mailing List
For list archives:
http://lists.mysql.com/cluster
To unsubscribe:
http://lists.mysql.com/cluster
opensubscriber is not affiliated with the authors of this message nor responsible for its content.