@Levis wrote:
I've a problem with code analysis write some simple functions in C++.
This is a sample block:
and this is the error reported by CLion using CMake v3.3.2
![]()
"Parameter type mismatch: Expression must be rvalue"
I really don't know what's the problem.
If I compile with Visual Studio it's all ok, but with CMake I got this.I have already set the -fpermissive flag.
This occurs with all CC_CALLBACK and I noticed that if I change this with &this it probably works, but I don't know if I have to change this or not.
Please help me, thank you.
Posts: 3
Participants: 3