quote:Original post by SabreMan
Have you tried using just "query << buf" rather than "(std::ostream&)query << buf"?
this is the result....
### Normal Compile of -SQAR-
##
#
make ../Bin/Sqar
make[1]: Entering directory `/home/pure/Sqar/Src''
g++ -Wall -g -pipe -I/usr/include/mysql -c -o Main.o Main.cc
g++ -Wall -g -pipe -I/usr/include/mysql -c -o Player.o Player.cc
Player.cc: In member function `void Player::Load(String, String)'':
Player.cc:45: choosing `std::basic_ostream&
std::operator<<(std::basic_ostream&, const char*) [with
_Traits = std::char_traits]'' over `SQLQuery& operator<<(SQLQuery&,
const mysql_ColData&)''
Player.cc:45: because worst conversion for the former is better than worst
conversion for the latter
make[1]: *** [Player.o] Error 1
make[1]: Leaving directory `/home/pure/Sqar/Src''
make: *** [default] Error 2
[pure@echobase Src]$
-PK-