Centos 7 / 8 Stream: Different Clang-tidy warning

I use Clion 2021.2 on Centos 7 (up-to-date) and it warns about a line of code with Clang-Tidy: Thrown exception type is not nothrow copy constructible

Opening the exact same project, file, it doesn't warn it at all.

Why?

I checked all the versions, they all match.

0

Hello!

Where do you open the project in the first case and in the second one? What is the difference?

0

请先登录再写评论。