ReSharper Engine does not handle libc++ `-fexperimental-library`

Hello,

I am working in a code base that uses libc++-18 as the standard library implementation. Libc++ currently does not directly support jthread, but it is guarded behind the -fexperimental-library flag (docs). I configured the CMake build system with the compiler flag, and compilation works. However, the ReShaper engine emits errors because it can't find jthread; switching ReSharper off makes the error disappear, and clanged seems to be able to find threads in the libc++ library.

 

I would love to use the ReSharper engine, as it performs significantly better.

0

请先登录再写评论。