List:MySQL++« Previous MessageNext Message »
From:unix developper Date:April 24 2002 4:14pm
Subject:g++ : has already been declared in
View as plain text  
Hi,
i am developping with mysql++ 1.7.9 linked with mysql-3.23.49
on a Solaris 8 sparc platform with gcc 2.95.2

I am using lib features from the examples to retrieve data
or update data using the usefuul macro sql_create_n(...)

the needed headers are present in the right order, but when
compiling i always has the same error:

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../sqlplusint -I../sqlplusint  
-I/usr/local/mySQL/include/mysql
-g -O2 -c sms.cc 

error :
sms.cc:8: `quota::set(const int &)' has already been declared in `quota'
sms.cc:8: `quota::quota(const int &)' has already been declared in `quota'

has anyone an idea please?

thanks
Thread
g++ : has already been declared inunix developper25 Apr