MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Chad MILLER Date:January 27 2009 2:49pm
Subject:bzr commit into mysql-5.1-bugteam branch (chad:2751) Bug#34309
View as plain text  
#At file:///home/cmiller/work/mysqlbzr/mysql-5.1-bugteam/ based on revid:aelkin@stripped

 2751 Chad MILLER	2009-01-27
      Bug#34309: '_PC' macro redefinition
      
      For reasons that are now a mystery, we had defined a CPP symbol to
      help ancient compilers work better (in some way that's lost to history).
      This interferes with at least one modern compiler.
      
      Now, don't define the _PC symbol.  Those other underscore-leading
      symbols are suspect also, but at least the names aren't inscrutable.
      Let's leave them for now.
modified:
  include/my_global.h

=== modified file 'include/my_global.h'
--- a/include/my_global.h	2008-12-07 14:51:22 +0000
+++ b/include/my_global.h	2009-01-27 14:43:55 +0000
@@ -621,7 +621,6 @@ C_MODE_END
 */
 #define _VARARGS(X) X
 #define _STATIC_VARARGS(X) X
-#define _PC(X)	X
 
 /* The DBUG_ON flag always takes precedence over default DBUG_OFF */
 #if defined(DBUG_ON) && defined(DBUG_OFF)

Thread
bzr commit into mysql-5.1-bugteam branch (chad:2751) Bug#34309Chad MILLER27 Jan