Bug #92039 | GCC 9 warnings | ||
---|---|---|---|
Submitted: | 16 Aug 2018 8:38 | Modified: | 22 Aug 2018 12:51 |
Reporter: | Steinar Gunderson | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S3 (Non-critical) |
Version: | 8.0.15 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[16 Aug 2018 8:38]
Steinar Gunderson
[16 Aug 2018 8:42]
Steinar Gunderson
Posted by developer: Oh, I forgot to write: Making an explicit copy constructor will also disable the default constructor. So if you want it, you'll also need to do Foo() {}
[22 Aug 2018 12:51]
Paul DuBois
Posted by developer: Fixed in 8.0.14. Configuration/build cleanup. No changelog entry needed.
[31 Oct 2018 19:53]
MySQL Verification Team
I still cannot compile current mysql trunk on current gcc trunk due to this: ../../mysys/my_init.cc:475:63: error: could not convert ‘{0, "Waiting for disk space", 0, ""}’ from ‘<brace-enclosed initializer list>’ to ‘PSI_stage_info’ {aka ‘PSI_stage_info_v1’} 475 | PSI_DOCUMENT_ME}; | ^ | | | <brace-enclosed initializer list> make[2]: *** [mysys/CMakeFiles/mysys.dir/my_init.cc.o] Error 1 any idea?
[1 Nov 2018 10:28]
Steinar Gunderson
Posted by developer: I'm unable to reproduce this. Save for a new GCC 9 internal compiler error that I'm reporting now (which forced me to use -DWITH_SYSTEM_LIBS=1), all of MySQL compiles warning-free with the latest GCC 9 snapshot I have here (20181019). Are you using any strange flags? What does the compile line for my_init.cc.o look like?
[21 Dec 2018 1:13]
Paul DuBois
Posted by developer: Fixed in 8.0.15. Code cleanup. No changelog entry needed.