Original Post
Hi
I have some problem with the mysql++ api, i get all kinds of errors. some are bool to int warnings
Have anyone tried the 1.7.1 mysql++ libary, and got it working?
Im using:
MySQL++ 1.7.1 for Microsoft Visual C++ 6.0 (contributed by LazyFox
Ive copied the libmySQL.dll to windows\system32
and added: include\, mysql\include, lib\, mysql\lib in visualc++. Tools -> Options / directories
../include\type_info1.hh(39) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
../include\type_info1.hh(159) : warning C4800: 'unsigned int' : forcing value to bool 'true' or 'false' (performance warning)
../include\type_info1.hh(172) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
../include\type_info1.hh(176) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
../include\type_info1.hh(180) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
../include\type_info1.hh(184) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
../include\convert1.hh(40) : warning C4273: 'strtol' : inconsistent dll linkage. dllexport assumed.
../include\convert1.hh(41) : warning C4273: 'strtoul' : inconsistent dll linkage. dllexport assumed.
../include\sql_query1.hh(37) : warning C4800: 'class SQLQuery *' : forcing value to bool 'true' or 'false' (performance warning)
../include\sql_query1.hh(135) : warning C4355: 'this' : used in base member initializer list
../include\compare1.hh(48) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
../include\result1.hh(33) : warning C4355: 'this' : used in base member initializer list
../include\result1.hh(42) : warning C4800: 'char' : forcing value to bool 'true' or 'false' (performance warning)
[edited by - leadorn on March 15, 2003 9:50:15 AM]