Bug #36368 | Compiling storage/falcon/BigInt.cpp fails using Sun Studio 12 compiler | ||
---|---|---|---|
Submitted: | 28 Apr 2008 8:20 | Modified: | 5 Oct 2008 15:24 |
Reporter: | Olav Sandstaa | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S3 (Non-critical) |
Version: | 6.0 | OS: | Solaris |
Assigned to: | Hakan Küçükyılmaz | CPU Architecture: | Any |
Tags: | Sun Studio |
[28 Apr 2008 8:20]
Olav Sandstaa
[28 Apr 2008 12:01]
Olav Sandstaa
The lastest version of the C++ standard that I have available is the 1998 version. This states that objects that have a "non-trivial copy assignment operator" can not be part of a union (see Section 9.5).
[29 Apr 2008 0:55]
Hakan Küçükyılmaz
Olav, Jim Starkey jut pushed a fix for this issue. Can you please try mysql-6.0-falcon-team tree whether it fixes your issue? Thanks, Hakan
[29 Apr 2008 20:23]
Olav Sandstaa
I have now verified that this fixes the problem with compiling the source file with the Sun Studio 12 compiler. Thanks to Jim for fixing this so quickly. Regards, Olav
[29 Aug 2008 1:40]
Kevin Lewis
This fix is in version 6.0.6
[5 Oct 2008 15:24]
Jon Stephens
Documented in the 6.0.6 changelog as follows: Attempting to compile the server with Falcon support using the Sun Studio 12 compiler failed with the error "Value.h", line 185: Error: A union member cannot have a user-defined assignment operator.