------=_NextPart_000_0001_01C680D2.E6A1F8E0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
We are trying to use the SSQLS functions for an insert into our
database, but something with the macro is bugging us.. Here is what we
got:
=20
Code:
/*
This is located in the beginning of the cpp file for the class we are
using it in..=20
*/
sql_create_4(score,
0, 0,
std::string, name,
std::string, game,
long long, point,
mysqlpp:

ate, playedtime);
=20
Compiling with:
g++ -I/usr/include/mysql -I/usr/local/include/mysql++/ -o
debug/HighScoreList.o -c HighScoreList.cpp
=20
Errors given is:
HighScoreList.cpp: In member function `score_cus_value_list<Manip>=20
score::value_list(const cchar*, Manip, mysqlpp::sql_cmp_type) const':
HighScoreList.cpp:6: error: syntax error before `,' token
HighScoreList.cpp: In member function `score_cus_field_list<Manip>=20
score::field_list(const cchar*, Manip, mysqlpp::sql_cmp_type) const':
HighScoreList.cpp:6: error: syntax error before `,' token
.... (and more)...
=20
//Leif Land=E9n
------=_NextPart_000_0001_01C680D2.E6A1F8E0--