List:MySQL++« Previous MessageNext Message »
From:Junji Kanemaru Date:February 23 2006 2:47pm
Subject:mysqlpp complier error
View as plain text  
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

Thread
mysqlpp complier errorJunji Kanemaru23 Feb
  • Re: mysqlpp complier errorJunji Kanemaru23 Feb
  • Re: mysqlpp complier errorWarren Young23 Feb