RE: gcc 3.2 - mysql_connect undeclared (first use of this function)

2002-10-27 Thread Nikolaj G.
I looked in mysql.h and saw #ifdef USE_OLD_FUNCTIONS .. mysql_connect(..) etc. #endif , shouldn't it work then - even if they are deprecated? Well, I'll try with mysql_real_connect. Thanks. /nikolajg --- Ed Carp [EMAIL PROTECTED] wrote: Iv'e been using gcc 2.96-10 to compile a database

gcc 3.2 - mysql_connect undeclared (first use of this function)

2002-10-26 Thread Nikolaj G.
Hi MySQLs Iv'e been using gcc 2.96-10 to compile a database program (ver. 3.23.49 I guess) in c and everything worked fine. It was compiled as a cc program. Lately I've installed mysql 4.0.4 with developer and gcc 3.2 (default with Redhat 8.0) and simply want to compile the same program, but get