Bug #82340 | Cannot compile with Clang on Mac OS X 10.10.5 | ||
---|---|---|---|
Submitted: | 26 Jul 2016 3:12 | Modified: | 8 Apr 2017 14:27 |
Reporter: | Davi Arnaut (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S2 (Serious) |
Version: | 5.7 | OS: | MacOS |
Assigned to: | CPU Architecture: | Any | |
Tags: | error: cannot take the address of an rvalue of type |
[26 Jul 2016 3:12]
Davi Arnaut
[26 Jul 2016 6:05]
Davi Arnaut
Pass -std=c++11 flag to compiler to trigger error. In any case, it's not proper to take reference to a temporary object.
[26 Jul 2016 9:20]
Terje Røsten
Hi Davi! Thanks for your report and fix!
[28 Mar 2017 3:34]
Linghua Tseng
Now it's 5.7.17 and the bug is still not fixed. How come the programmer tried so hard to insist on using -> instead of . and did this way? Please fix it as soon as possible. It's annoyed whenever I tried to install MySQL 5.7 on FreeBSD.
[8 Apr 2017 14:27]
Paul DuBois
Posted by developer: Noted in 5.7.19, 8.0.2 changelogs. MySQL failed to compile under macOS 10.10.5 using Clang.