I get the following error when trying to build from source:
In file included from custom1.cpp:29:
stock.h: In function `void populate_stock(stock*, const mysqlpp::Row&)
[with mysqlpp::sql_dummy_type dummy = sql_dummy]':
stock.h:47: instantiated from here
stock.h:47: error: invalid static_cast from type `const
mysqlpp::ColData' to type `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >'
make: *** [custom1_custom1.o] Error 1
make: Leaving directory `/home/kha/tmp/mysql++-2.1.1/examples'
make: *** [examples] Error 2
What is going wrong? Any suggestions?