[CONCPP-61] Connector/C++ Window Build Error Created: 2021-02-04 Updated: 2021-02-09 Resolved: 2021-02-05 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C++ |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | hyun | Assignee: | Lawrin Novitsky |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
[Env] [Bug] Windows Kits\8.1\Include\um\winreg.h (line 1326) So change REASON_UNKNOWN name. Thanks for reply. 2. SQLString.hpp |
| Comments |
| Comment by Lawrin Novitsky [ 2021-02-04 ] |
|
Thank you for your report. I don't have VW2015 by hand, and in VS2019 it's compiled well. Could you please provide exact text of compiler errors? Removing ClientInfoStatus is not an option. |
| Comment by Lawrin Novitsky [ 2021-02-04 ] |
|
I actually found VS2015 on our build machine |
| Comment by Lawrin Novitsky [ 2021-02-04 ] |
|
I changed only npos. That fixed the build for me. If it doesn't for you - than please re-open with the new comments. |
| Comment by Lawrin Novitsky [ 2021-02-05 ] |
|
Ok. I see, there define REASON_UNKNOWN in that windows header. Name needs to be changed. Thanks |
| Comment by Lawrin Novitsky [ 2021-02-05 ] |
|
New commit is 623eefe. Renamed REASON_UNKNOWN to _REASON_UNKNOWN |