3 messages in com.mysql.lists.plusplusmysqlpp complier error
FromSent OnAttachments
Junji Kanemaru23 Feb 2006 06:46 
Junji Kanemaru23 Feb 2006 06:50 
Warren Young23 Feb 2006 09:31 
Subject:mysqlpp complier error
From:Junji Kanemaru (lin@linuon.com)
Date:02/23/2006 06:46:44 AM
List:com.mysql.lists.plusplus

Hi,

I got following error. It is probably caused by buggy gcc(version 2.95.3) If anybody out there know any workaround pls let me know.

Thanks, -- Junji

--- g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I/usr/local/include/mysql -g -O2 -c
connection.cpp -Wp,-MD,.deps/connection.TPlo -o connection.o In file included from fields.h:32, from result.h:34, from query.h:36, from connection.cpp:32: resiter.h:118: parse error before `<' resiter.h:118: `ReturnType' was not declared in this scope resiter.h:118: `SizeType' was not declared in this scope resiter.h:119: `iterator' is not a template resiter.h:122: ANSI C++ forbids declaration `subscript_iterator' with no type resiter.h:126: `OnType' was not declared in this scope resiter.h:126: `what' was not declared in this scope resiter.h:126: `SizeType' was not declared in this scope resiter.h:126: parse error before `)' resiter.h:127: ANSI C++ forbids declaration `subscript_iterator' with no type resiter.h:134: parse error before `&' resiter.h:135: `mysqlpp::{anonymous struct}::operator ==(...)' must take exactly
one argument resiter.h:135: confused by earlier errors, bailing out make[2]: *** [connection.lo] Error 1 make[2]: Leaving directory `/root/src/mysql++-2.0.7/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/src/mysql++-2.0.7' make: *** [all] Error 2