8 messages in com.mysql.lists.pluspluscustom1 example compilation problem
FromSent OnAttachments
Benjamin Montua23 May 2005 04:27 
Warren Young23 May 2005 08:25 
Benjamin Montua23 May 2005 08:30 
Warren Young23 May 2005 08:34 
Benjamin Montua23 May 2005 08:43 
Warren Young23 May 2005 08:59 
Chris Frey23 May 2005 13:16 
Benjamin Montua23 May 2005 23:55 
Subject:custom1 example compilation problem
From:Benjamin Montua (mon@planb-media.de)
Date:05/23/2005 04:27:14 AM
List:com.mysql.lists.plusplus

Hy there,

just trying to compile the mysql++-1.7.35 with the following error:

source='custom1.cpp' object='custom1.o' libtool=no \ depfile='.deps/custom1.Po' tmpdepfile='.deps/custom1.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I/home/montua/libs/mysql-standard-4.1.12-pc-linux-gnu-i686/include -g -O2 -c -o custom1.o `test -f 'custom1.cpp' || echo './'`custom1.cpp custom1.cpp: In function `void populate_stock(stock*, const mysqlpp::Row&) [with mysqlpp::sql_dummy_type dummy = sql_dummy]': custom1.cpp:19: instantiated from here custom1.cpp:19: error: invalid static_cast from type `const mysqlpp::ColData' to type `std::basic_string<char, std::char_traits<char>, std::allocator<char> >' make[2]: *** [custom1.o] Error 1 make[2]: Leaving directory `/home/montua/libs/mysql++-1.7.35/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/montua/libs/mysql++-1.7.35' make: *** [all] Error 2

Any help here will be appreciated...

Thanks in advance,

Ben