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

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

am 23.05.2006 10:49:23 von Morten Boenloekke Post

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@m.gmane.org

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

am 03.06.2006 00:13:28 von Reggie Burnett

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@nerdheaven.dk]
> Sent: Tuesday, May 23, 2006 3:49 AM
> To: bugs@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@mysql.com



--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org