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-compil ing.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=3 94411

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

--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
Morten Boenloekke Pos [ Di, 23 Mai 2006 10:49 ] [ ID #1326055 ]

RE: Problems with mysql 5.0 my_global.h and vs2005 c++

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:cure [at] nerdheaven.dk]
> Sent: Tuesday, May 23, 2006 3:49 AM
> To: bugs [at] 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-compil ing.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=3 94411
>
> Wondering if there is a way to fix it. Maybe to avoid my_global
> completely...
>
> --
> MySQL Bugs Mailing List
> For list archives: http://lists.mysql.com/bugs
> To unsubscribe: http://lists.mysql.com/bugs?unsub=serg [at] mysql.com



--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
Reggie Burnett [ Sa, 03 Juni 2006 00:13 ] [ ID #1339667 ]
Datenbanken » gmane.comp.db.mysql.bugs » Problems with mysql 5.0 my_global.h and vs2005 c++

Vorheriges Thema: MySQL 4.0 crash on REPLACE SELECT
Nächstes Thema: Problem with bk tree of MySQL 4.1 for two days.