dbTalk Databases Forums  

Re: Compile Error on QNX 6.3 (was: RELEASE: v2.0.2)

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


Discuss Re: Compile Error on QNX 6.3 (was: RELEASE: v2.0.2) in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Warren Young
 
Posts: n/a

Default Re: Compile Error on QNX 6.3 (was: RELEASE: v2.0.2) - 08-18-2005 , 02:25 PM






Haines, Charles A. wrote:
Quote:
custom1.cpp: In function `void populate_stock(stock*, const mysqlpp::Row&)
[with mysqlpp::sql_dummy_type dummy = sql_dummy]':
custom1.cpp:56: instantiated from here
custom1.cpp:56: error: invalid static_cast from type `const
mysqlpp::ColData'
to type `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >'
Ugh. This sort of error is difficult to track down. The culprit is
probably buried deep within custom-macros.h.

If you're not going to use SSQLS, it's probably best to just ignore it.

Quote:
if I could disable the examples (if they have no bearing
on using the MySQL++ library), I will.
It's helpful if you can run resetdb and the simple* examples at least,
to test the library. Since you're getting to custom1 before you have
problems, these examples are already built.

Quote:
I tried --disable-examples, but that didn't work.
I don't see why not. It works here.

Near the end of the configure script output, you should see "will NOT
build examples". Do you?

--
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.