Andre Poenitz wrote:
The variables are not only unused, they are pointless as well.The problem was that MSVC allegedly did not compile the code in the #ifdef branch as long as the variable was not used. I am pretty sure that MSVC does not misbehave that way although I have no way to check right now - but that's the way I read the message...
It is just an option of the MSVC/CMake system that convert this spefic "unused varaible" warning to an error.
Abdel.