| Bug #4861 | my_dbug.h is included in my_global.h but isn't part of GA | ||
|---|---|---|---|
| Submitted: | 3 Aug 2004 1:22 | Modified: | 3 Sep 2004 9:44 |
| Reporter: | daniel Khan | Email Updates: | |
| Status: | No Feedback | Impact on me: | |
| Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
| Version: | 4.0.20 | OS: | Windows (windows XP) |
| Assigned to: | CPU Architecture: | Any | |
[3 Aug 2004 1:42]
daniel Khan
my_debug.h is part of the source distribution, and can be taken from that. Compile (almost) works fine after copying my_dbug.h from the source distribution to the include directory. P.S. borland throws a fit over the not OMF compatibility of libs can be solved by using the COFF2OMF utility from Borland.
[3 Aug 2004 2:22]
MySQL Verification Team
What is the package release you are used ?. I used the below package and compiled your sample code without problems: Compiling... main.cpp Linking... bug4861.exe - 0 error(s), 0 warning(s) C:\mysql-4.0.20d-win-noinstall\include>c:\temp\bug4861 Hoi C:\mysql-4.0.20d-win-noinstall\include>dir my_dbug.h O volume na unidade C não tem nome. O número de série do volume é C447-4774 Pasta de C:\mysql-4.0.20d-win-noinstall\include 29/05/2004 09:05 3.369 my_dbug.h 1 arquivo(s) 3.369 bytes 0 pasta(s) 38.274.248.704 bytes disponíveis
[3 Aug 2004 9:44]
daniel Khan
I used the installer version of mysql. The package with the installer differs from the no_install package on this point. 442 vs. 959 files my_debug.h is one of them.
[14 Feb 2005 22:54]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".

Description: I have some problems compiling a client under windows. I use the Borland compiler 5.6. The compiler complains about not finding a my_dbug.h in line 420 of my_global.h when copying dbug.h to my_dbug.h the compiler seems to ease up on this point. what is the origin of this discpreancy? How to repeat: try a make, on XP with Borland c++ 5.6 compiler ,of a C file contiaining nothing more than: #include <my_global.h> #include <mysql.h> int main(int argCount, char argList[]) { printf("Hoi\n"); return 0; } with include directories and librariy directories set; and mysqlclient.lib linked in. Suggested fix: either release a new version of my_global.h without referencing *.h files which are not part of the release, or release the my_dbug.h file. My solution of renaming the dbug.h to my_dbug.h is not recommended as I don;t know what is part of my_dbug.h.