dbTalk Databases Forums  

custum1 example compilation problem

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss custum1 example compilation problem in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Benjamin Montua
 
Posts: n/a

Default custum1 example compilation problem - 05-23-2005 , 06:27 AM






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



--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.