Closed remyjette closed 2 years ago
I'm also getting the same error with clang-tidy 13
Same issue here. I was about to create a twin of your PR 😄. Fortunately I decided to read through the existing ones first. Let's hope the fix gets integrated soon.
should be fixed in latest main
The readme states "clang 12.0+ (C++17 syntax, C++20 cNTTP syntax)"
But beginning with clang 12, just
#include <ctre.hpp>
causes a compilation error with-std=c++17
https://godbolt.org/z/Ph85TM7En
If I go back to clang 11, it works. If I switch to
-std=c++20
, it works. But on clang 12/13/trunk withstd=c++17
I get the above error.