Closed worthless443 closed 1 year ago
This is caused by compiling with an older version of clang. I'm working on getting GitHub actions working so that I can test against the latest released version and trunk and start tagging the final commit that supports each compiler version. I've tried to update the documentation to reflect version requirements, but sometimes I accidentally commit something that works only with trunk clang. That's especially true now that I use modules and clang 16 has some implementation bugs.
@davidstone I think it would be helpful to raise errors in time of configuring when Clang version is lower than what you support or if specific extensions are not present.
I've set
CMAKE_CXX_COMPILER
toclang
in the top-level CMakeLists.txt. When building results in some errors (each type of error is only reported once). [1][2]
I'm not sure if I'm supposed to enable any clang extensions or not, or if that's because of it I'm seeing the errors.