Hello,

If you want to quieten those warnings about unused
variables/parameters, GCC has these flags:

-Wno-unused-function
-Wno-unused-label
-Wno-unused-value
-Wno-unused-variable

Using those is better than polluting the code with hacks to silence
the warnings.
On the other hand, some of those could be potential bugs (declared but
unused variable/argument is either a mistake or perhaps a design
error?), so hiding the warnings can be counter-productive if it is on
by default.

Perhaps for the release/stable version we could add the above flags
using a CMake option if needed, but it shouldn't be default.

Regards,

Jan
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to