List:MySQL on Win32« Previous MessageNext Message »
From:Lew Barnesson Date:June 2 1999 1:38am
Subject:C-Api Compile Error
View as plain text  
Hi,

I habe been using the C api, mysql 3.22.13-beta-debug.

This  couldn't be a bug because the program has been working for months,
that is, up until 2 days ago. The compiler suddenly seems confused about
usage of the mysql_connect api.

An excerpt:

        MYSQL myData, *pmysql=NULL ;

               - - this statement - -

        if (pmysql = mysql_connect( &myData, "localhost", "root", NULL) !=
NULL) {

               - - Results in the error: Cannot convert 'bool' to 'st_mysql
*'

Where is the 'bool'?

I've re-loaded mysql.h, but no help.

Any ideas?

Regards, -Lew




Thread
C-Api Compile ErrorLew Barnesson2 Jun
  • Re: C-Api Compile ErrorChristian Mack2 Jun
Re: C-Api Compile ErrorLew Barnesson2 Jun