Bug #78908 Workbench Compile Patches for Fedora 23 (boost,c++-11)
Submitted: 21 Oct 2015 20:08 Modified: 11 Jan 2016 10:35
Reporter: Alan Schmidt (OCA) Email Updates:
Status: Closed Impact on me:
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.3.4 OS:Linux (Fedora 23)
Assigned to: CPU Architecture:Any
Tags: Contribution

[21 Oct 2015 20:08] Alan Schmidt
gcc-c++-5.1.1 complains and quits trying to compile source for mysql-workbench-community-6.3.4-src

How to repeat:
Boot into Fedora 23 (currently in beta). Download and try to compile mysql-workbench-community-6.3.4 with native development tools.

Suggested fix:
g++ wants the switch, -std=c++11

Also, it doesn't want to do an implicit cast from boost's optional bool to a vanilla bool.
[21 Oct 2015 20:09] Alan Schmidt
Patch to CMakeLists.txt to add compiler switch.

Attachment: c++-11.patch (text/x-patch), 979 bytes.

[21 Oct 2015 20:10] Alan Schmidt
Patches to view.cpp and mforms.i adding explicit cast to boolean

Attachment: boost.patch (text/x-patch), 1.31 KiB.

[14 Dec 2015 12:15] MySQL Verification Team
Hello Alan Schmidt,

Thank you for the report and contribution.
In order to submit contributions you must first sign the Oracle Contribution Agreement (OCA). For additional information please check http://www.oracle.com/technetwork/community/oca-486395.html.

[14 Dec 2015 16:43] Alan Schmidt
Submitted. Thanks!
[11 Jan 2016 10:35] Marcin Szalowicz
Patch implemented.
Fedora 23 packages already included with 6.3.6.