hanickadot / compile-time-regular-expressions

Compile Time Regular Expression in C++
https://twitter.com/hankadusikova
Apache License 2.0
3.22k stars 177 forks source link

File include\ctre\wrapper.hpp failing to compile with LLVM 19 #307

Closed dyung closed 1 month ago

dyung commented 1 month ago

LLVM recently got a fix llvm/llvm-project@f46d146 for some template issues which are now causing the file include\ctre\wrapper.hpp to fail to compile with an error:

include\ctre\wrapper.hpp:173:27: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  170 |                 return Method::template exec();
      |                                         ^
1 error generated.

I filed a bug with llvm (llvm/llvm-project#94194) where it was confirmed that clang is correct and the code needs to be updated.

hanickadot commented 1 month ago

try with current mail please, I don't have currently llvm 19 available

dyung commented 1 month ago

I can confirm that the changes you made compile now with LLVM 19. Thanks!