5 messages in com.mysql.lists.plusplusgentoo(follow up)
FromSent OnAttachments
root13 Apr 2004 20:21 
Jae Joo14 Apr 2004 05:49 
Sinisa Milivojevic14 Apr 2004 06:11 
Jae Joo14 Apr 2004 06:37 
Voicu Liviu14 Apr 2004 23:36 
Subject:gentoo(follow up)
From:root (pal@charter.net)
Date:04/13/2004 08:21:13 PM
List:com.mysql.lists.plusplus

I got the include directories added in anjuta, now here is the compiler error: it seems I can't write to the query like any standard ostream, making all in src make[2]: Entering directory `/root/Projects/my/src' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/mysql++ -I/usr/include/mysql -g -O2 -c main.cc main.cc: In function `int main()': main.cc:11: error: ISO C++ says that `std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*) [with _Traits = std::char_traits<char>]' and `SQLQuery& operator<<(SQLQuery&, const mysql_ColData<const_string>&)' are ambiguous even though the worst conversion for the former is better than the worst conversion for the latter

****** it is failing on this line: query << "select * from pet"; I changed it to 'pet' since that is what I set up in my database.