2 Apr 2011 23:57
Problem linking STL::map with mysqld
Hiromichi Watari <hiromichiwatari <at> yahoo.com>
2011-04-02 21:57:26 GMT
2011-04-02 21:57:26 GMT
Hi, I'm trying to use STL container "map" with MySQL server but I'm getting the following link error at the very end. CXXFLAGS="-DUSE_SYS_STL" table.h has the following #include <map> . . . std::map<int,int> foo; Are there any name conflicts, since table.h is eventually included in just about every source ? I'm not sure if I can use namespace to work around this problem ? Thanks, Hiromichi ----------------------------------------------------------------------------------------------------------------------------------------------------------- . . . . . [100%] Building CXX object sql/CMakeFiles/sql.dir/sql_yacc.cc.o [100%] Building CXX object sql/CMakeFiles/sql.dir/sql_builtin.cc.o Linking CXX static library libsql.a [100%] Built target sql [100%] Building CXX object sql/CMakeFiles/mysqld.dir/main.cc.o(Continue reading)
RSS Feed