2 messages in com.mysql.lists.bugsRE: Problems with mysql 5.0 my_global...
FromSent OnAttachments
Morten B. Post23 May 2006 01:49 
Reggie Burnett02 Jun 2006 15:13 
Subject:RE: Problems with mysql 5.0 my_global.h and vs2005 c++
From:Reggie Burnett (reg@mysql.com)
Date:06/02/2006 03:13:05 PM
List:com.mysql.lists.bugs

Morten

Can you generate a small sample app that has problems? I built a small console app on Visual 2005 using C++ (linking against 5.0 and 5.1 versions of libmysql.dll) and had no troubles. If you can reproduce with a small test file, please send it directly to me and I'll take care of it.

Reggie

-----Original Message----- From: Morten B. Post [mailto:cu@nerdheaven.dk] Sent: Tuesday, May 23, 2006 3:49 AM To: bu@lists.mysql.com Subject: Problems with mysql 5.0 my_global.h and vs2005 c++

Hi,

According to http://dev.mysql.com/doc/refman/5.0/en/windows-client-compiling.html this is how you compile the mysql client under windows. However my_global.h seems to have some conflicting types with c++ using visual studio 2005 compiler (bool).

See the error messages and code here:

http://www.gamedev.net/community/forums/topic.asp?topic_id=394411

Wondering if there is a way to fix it. Maybe to avoid my_global completely...