Bug #29973 | mysql.cc:2366: error: 'max' was not declared in this scope | ||
---|---|---|---|
Submitted: | 23 Jul 2007 8:34 | Modified: | 23 Jul 2007 11:29 |
Reporter: | littlestar a | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S2 (Serious) |
Version: | 5.1.21 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | gcc 4.2.1 |
[23 Jul 2007 8:34]
littlestar a
[23 Jul 2007 9:24]
Sveta Smirnova
Thank you for the report. Please provide step-by-step actions of how you build MySQL. I mean how you invoke Autotools and configure.
[23 Jul 2007 9:30]
littlestar a
1.download gcc-4.2.1, build it with default option. 2.get lastest mysql source from bkf. 3.run ./BUILD/compile-pentium-debug I can build it ok with gcc-4.1.2. I only upgrade GCC from gcc-4.1.2 to gcc-4.2.1.
[23 Jul 2007 11:29]
Sergei Golubchik
a duplicate of bug#28184