jaeandersson / swig

SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
http://www.swig.org
Other
23 stars 19 forks source link

Matlab unused parameter #77

Closed Alzathar closed 7 years ago

Alzathar commented 7 years ago

The proposed fix was tested with the clang compiler under MacOS X for wrapped C++ classes. It removes all the [-Wunused-parameter] warnings listed by clang.

Note : The commenting of variable name may work only with C++ compiler. It might be better to silence all the variables with the (void) prefix.

jaeandersson commented 7 years ago

Thanks for your contribution!