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 in | unix developper | 25 Apr |