Daniel,
Monday, August 26, 2002, 12:53:26 AM, you wrote:

DN> some time ago I submitted the bug report below (see 
DN> http://lists.mysql.com/cgi-ez/ezmlm-cgi?1:mss:116815:200208:nnjofboiddhkghnpfljl 
DN> for the full report). There was no feedback and I now have a better 
DN> understanding of the problem:

DN> The bug means that you cannot compile a KDE3 program with embedded MySQL 
DN> support. KDE cannot do anything about this, as its API is frozen. The 
DN> MySQL API shouldn't be frozen (as 4.0 is still alpha), and on the other 
DN> hand, the error is trivial to fix for MySQL (just rename "NET"). So 
DN> please, apply a fix so that KDE programs can use embedded MySQL.

In 3.23. there is the same NET and 3.23 is stable.

You can just do

#include <mysql.h>
#undef NET
....

DN> Regards
DN>  Daniel

>>Description:
>>"NET" is defined on line 135 in myslq_com.h. When I include
>>mysql.h (for embedded mysql) I cannot compile a program which also
>> includes netwm_def.h, which defines a completely different "NET".

>>Fix:
>>Please rename "NET" to something like "MySQL_NET"




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to