On 9/22/2012 12:04 AM, Andreas Jellinghaus wrote: > > > Do not "fix" unused param warnings. The correct way to fix them is to > > remove the parameter. > > Well, with c style object orientation we have interfaces that all card > drivers must implement, even if they don't use all function parameters. > > Not sure if the marking will still allow people to also compile with > visual c. >
This is easily handled with a preprocessor macro. Currently, I'm using "__unusedparam__" in front of the unused parameter, which stands out and is self evident to its purpose. But I need to break the patches apart so that the unused param patch stands on its own. -scooter _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel