| Bug #32082 | Definition of VOID in my_global.h conflicts with windows headers | ||
|---|---|---|---|
| Submitted: | 3 Nov 2007 23:32 | Modified: | 25 Nov 16:45 |
| Reporter: | Vladislav Vaintroub | ||
| Status: | Closed | ||
| Category: | Server: Compiling | Severity: | S3 (Non-critical) |
| Version: | 5.0, 5.1, 6.0 (5.2) | OS: | Microsoft Windows |
| Assigned to: | Davi Arnaut | Target Version: | 5.0+ |
| Tags: | Contribution | ||
| Triage: | Needs Triage: D4 (Minor) | ||
[3 Nov 2007 23:32]
Vladislav Vaintroub
[3 Nov 2007 23:33]
Vladislav Vaintroub
patch for 5.2 bk tree
Attachment: patch.txt (text/plain), 213.27 KiB.
[4 Nov 2007 0:28]
Vladislav Vaintroub
Small correction to the "how to repeat" section mysqld.cc does not include mysql_global.h directly, but via mysql_priv.h so test case would be to change #include "mysql_priv.h" at the start of the file to #include "mysql_priv.h" #ifdef __WIN__ #include <windows.h> #include <dbghelp.h> #endif
[9 Dec 2007 12:12]
Sveta Smirnova
Thank you for the report. Verified as described.
[8 Apr 2008 12:30]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/45053 ChangeSet@1.2571, 2008-04-08 12:30:06+02:00, vvaintroub@wva. +122 -0 Bug#32082 : definition of VOID in my_global.h conflicts with Windows SDK headers VOID macro is now removed. Its usage is replaced with void cast. In some cases, where cast does not make much sense (pthread_*, printf, hash_delete, my_seek), cast is ommited.
[13 May 2008 17:30]
Bugs System
Pushed into 6.0.6-alpha
[24 Nov 14:56]
Konstantin Osipov
Queued in 5.6 (next-mr-runtime).
[24 Nov 14:56]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/91422
[25 Nov 14:33]
Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091124194633-yc0achgq1ioyqzng) (version source revid:alik@sun.com-20091124194633-yc0achgq1ioyqzng) (merge vers: 6.0.14-alpha) (pib:13)
[25 Nov 14:33]
Bugs System
Pushed into 5.6.0-beta (revid:alik@sun.com-20091124193905-3iyzegd75k4givuz) (version source revid:kostja@sun.com-20091124135459-klvuwbvth0iahfbu) (merge vers: 5.6.0-beta) (pib:13)
[25 Nov 16:45]
Paul DuBois
No changelog entry needed.
