-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using example from README does not work with gtest and clang++17 #926
Comments
That is very strange. Looks like a bug in Clang 17, unless something else weird is going on with your setup. I'll build with Clang 17 and get back to you soon. |
I just built using Clang 17. Can you try building in another environment? |
Which compiler arguments did you add to clang++-17? I used -std=c++20 |
|
@maldag, here is an example of it building in compiler explorer with clang17: https://gcc.godbolt.org/z/zon9Mjjh9 |
I double checked my environment. Sorry for the noise, I was using and older version of clang-tidy in the buildprocess which caused the failing. |
No problem, thanks for explaining the issue. |
I'm trying to integrate the glaze library into the project using CMake.
Upon writing an unit testcase with GTest and clang++17 using -std=c++20, I'm facing the following error:
The testcode is:
Am I missing something here?
The text was updated successfully, but these errors were encountered: