-
Notifications
You must be signed in to change notification settings - Fork 162
Build fails on MacOS with "reference to 'string_view' is ambiguous" #390
Comments
You can add |
A proposal:
|
sg, or we just disable automatically including the system one. |
I have errors too on Linux with Clang 5.0.1 and libstdc++ 7.2.1. Compile error:
|
We should just disable using the system header. Headache for no good reason imo. |
I agree. |
I think some headers pull in |
Since commit #0dda8cc61dd483535d2b8eb1548b87765d977436 the cquery build fails on Mac with the following error:
I'm guessing this is a conflict between the polyfill that is shipped in third_party and whatever xcode is shipping.
I managed to make the build pass by hacking string_view.hpp to always include the platform string_view:
This is clearly not a real solution, but does suggest that the problem is related to autodetection of when the polyfill is needed. I'm not sure what the best solution for this is though
The text was updated successfully, but these errors were encountered: