Bug #108355 Contribution: Fix windows compilation issue in cmake/libutils/save_linker_o ...
Submitted: 31 Aug 2022 16:44 Modified: 6 Sep 2022 16:52
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / C++ Severity:S3 (Non-critical)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[31 Aug 2022 16:44] OCA Admin
Description:
This bug tracks a contribution by Luis Pinto (Github user: lpinto-es) as described in http://github.com/mysql/mysql-connector-cpp/pull/29

How to repeat:
See description

Suggested fix:
See contribution code attached
[31 Aug 2022 16:44] OCA Admin
Contribution submitted via Github - Fix windows compilation issue in cmake/libutils/save_linker_opts.cc 
(*) Contribution by Luis Pinto (Github lpinto-es, mysql-connector-cpp/pull/29#issuecomment-1232997940): 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_1018551481.txt (text/plain), 962 bytes.

[1 Sep 2022 4:03] MySQL Verification Team
Hello Luis Pinto,

Thank you for the report and contribution.

regards,
Umesh
[6 Sep 2022 16:52] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Connector/C++ 8.0.31 release, and here's the proposed changelog entry from the documentation team:

On Windows, compiler difficulties were encountered because unistd.h was
used to call getcwd rather than using various Windows alternatives. Our
thanks to Luis Pinto for the patch.

Thank you for the bug report.