Hi!
When I want to compile my program I get this message:
In file included from /usr/include/mysql++/coldata1.hh:8,
from /usr/include/mysql++/sqlplus.hh:12,
from bauen.h:10,
from bauen.cpp:1:
/usr/include/mysql++/type_info1.hh: In constructor `
mysql_ti_sql_type_info::mysql_ti_sql_type_info()':
/usr/include/mysql++/type_info1.hh:29: error: uninitialized member '
mysql_ti_sql_type_info::_base_type' with 'const' type 'const unsigned
char'
/usr/include/mysql++/type_info1.hh:29: error: uninitialized member '
mysql_ti_sql_type_info::_default' with 'const' type 'const bool'
I use the following command:
g++ -o bauen -I/usr/include/mysql++ -I/usr/include/mysql -llibmysqlpp
-lpthread bauen.cpp
Alternative I tried to replace -llibmysqlpp with -lsqlplus and
-lmysqlclient, but I got the same error.
Has anybody a idea, what I can do? The error is not in my file, but in a
mysql++ file.
René