I have a bunch of compile time, for example:
CASSERT(isTrue) or CASSERT2(isTrue, prefix_)
When compiling with GCC, I get a lot of warnings like 'prefix_LineNumber' defined but not used . Is there a way I can hide warnings for compile time? I had no luck in the GCC documentation. I thought that perhaps var would automatically be used globally within the same macro, but I could not figure out how to do this.
Does anyone know how to hide this warning in GCC?
gcc compiler-warnings warnings
user34537 Dec 22 '08 at 13:02 2008-12-22 13:02
source share