Bug #100248 Contribution: Fix MinGW cross-compilation
Submitted: 17 Jul 2020 14:29 Modified: 28 Jul 2020 17:35
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / C++ Severity:S3 (Non-critical)
Version:8.0.21 OS:Any
Assigned to: CPU Architecture:Any

[17 Jul 2020 14:29] OCA Admin
Description:
This bug tracks a contribution by Eric Beuque (Github user: SaiyanRiku) as described in http://github.com/mysql/mysql-connector-cpp/pull/24

How to repeat:
See description

Suggested fix:
See contribution code attached
[17 Jul 2020 14:29] OCA Admin
Contribution submitted via Github - Fix MinGW cross-compilation 
(*) Contribution by Eric Beuque (Github SaiyanRiku, mysql-connector-cpp/pull/24#issuecomment-660047542):  I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_449956537.txt (text/plain), 6.79 KiB.

[17 Jul 2020 16:22] MySQL Verification Team
Thank you for the contribution.
[28 Jul 2020 10:32] Bogdan Degtyariov
Posted by developer:
 
The patch was pushed to the source tree.
Please add the credits to the contributor in this ticket.
[28 Jul 2020 17:35] Paul DuBois
Posted by developer:
 
Fixed in 8.0.22.

Connector/C++ now can be compiled using MinGW on Windows. Thanks to
Eric Beuque for the contribution. Note that this enables building on
MinGW but does not make MinGW an officially supported platform for
Connector/C++.
[20 Oct 2020 6:54] Frederic Descamps
Thank you for your contribution that has been added to 8.0.22: https://lefred.be/content/mysql-8-0-22-thank-you-for-the-contributions/