2 messages in com.mysql.lists.plusplusWhy does sql_create_basic_# fail?
FromSent OnAttachments
Sander Pilon05 Nov 2000 12:30 
Sander Pilon08 Nov 2000 17:01 
Subject:Why does sql_create_basic_# fail?
From:Sander Pilon (san@3dnews.net)
Date:11/05/2000 12:30:20 PM
List:com.mysql.lists.plusplus

Using sql++ 1.7.5

I got this:

216 sql_create_basic_9( sres, 0, 0, 217 int, menuid, 218 int, linenr, 219 string, type, 220 string, description, 221 string, chapter, 222 string, variable, 223 string, value, 224 string, defvalue, 225 int, link)

And my gcc (latest stable, 2.95.2 or something) tells me this:

BDatabaseMySQL.cpp:216: parse error before `template' BDatabaseMySQL.cpp:225: parse error before `template' BDatabaseMySQL.cpp:225: `s' undeclared (first use this function) BDatabaseMySQL.cpp:225: (Each undeclared identifier is reported only once BDatabaseMySQL.cpp:225: for each function it appears in.) BDatabaseMySQL.cpp:225: `row' undeclared (first use this function) BDatabaseMySQL.cpp: At top level: BDatabaseMySQL.cpp:225: syntax error before `::' BDatabaseMySQL.cpp:227: `sres' was not declared in this scope BDatabaseMySQL.cpp:227: template argument 1 is invalid BDatabaseMySQL.cpp:227: template argument 1 is invalid BDatabaseMySQL.cpp:227: template argument 2 is invalid BDatabaseMySQL.cpp:227: ANSI C++ forbids declaration `sqlResult' with no type BDatabaseMySQL.cpp:229: parse error before `try' BDatabaseMySQL.cpp:232: syntax error before `<' BDatabaseMySQL.cpp:233: syntax error before `.' BDatabaseMySQL.cpp:240: `sres' was not declared in this scope BDatabaseMySQL.cpp:240: template argument 1 is invalid BDatabaseMySQL.cpp:240: template argument 1 is invalid BDatabaseMySQL.cpp:240: template argument 2 is invalid BDatabaseMySQL.cpp:240: syntax error before `;' BDatabaseMySQL.cpp:242: parse error before `for' BDatabaseMySQL.cpp:242: syntax error before `!=' BDatabaseMySQL.cpp:242: syntax error before `++' BDatabaseMySQL.cpp:245: syntax error before `.' BDatabaseMySQL.cpp:246: syntax error before `.' BDatabaseMySQL.cpp:247: syntax error before `.' BDatabaseMySQL.cpp:248: syntax error before `.' BDatabaseMySQL.cpp:249: syntax error before `.' BDatabaseMySQL.cpp:250: syntax error before `.' BDatabaseMySQL.cpp:251: syntax error before `.' BDatabaseMySQL.cpp:252: syntax error before `.' BDatabaseMySQL.cpp:253: syntax error before `.'