Hi Patrick,
Patrick Hartling wrote:
> Here is what I have. This patch allows PyOpenSG and OpenManip to build
> without any warnings from OpenSG 2 code. I verified this by building both
> with -Werror.
>
> The convention I used for handling unused method parameters was to remove
> the parameter name in .inl files and to comment out the name for inlined
> functions in .h files. My thinking was that the information in the .h file
> about the variable name would be important for understanding the intention
> even though the inlined implementation did not use the variable(s).
OpenSG uses the OSG_CHECK_ARG macro for those. The motivation for using a macro
is that you can have them show up in doxygen but be invisible for the compiler
to avoid warnings. I commited the changed version (r699).
Dirk
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users