[CONCPP-13] Doesn't compile in CLang 10 Created: 2020-06-16  Updated: 2020-11-13  Resolved: 2020-11-13

Status: Closed
Project: MariaDB Connector/C++
Component/s: General
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Andrew Hutchings (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 20.04 Clang 10.0.0


Issue Links:
Duplicate
duplicates CONCPP-46 Compilation fails on MacOS Closed

 Description   

src/options/DefaultOptions.cpp doesn't compile in CLang due to it finding these casts ambiguous in 5 places in the code:

static_cast<const SQLString>(o->minValue)
static_cast<const SQLString>(o->maxValue)
static_cast<const SQLString>(value)



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2020-07-01 ]

This will also be a blocker for macOS builds.

Comment by Lawrin Novitsky [ 2020-11-13 ]

I've added a new ticket for obviously same issue

Generated at Thu Feb 08 03:07:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.