Jeff Pohlmeyer wrote / napísal (a):
I agree. Something to turn of only parameter unused variables checks. It's not critical or anything but I think it might be good if it made it to 2.0This is not a big issue, anyway could we avoid the endless list
of such similar hints compiling Lazarus and our program?
I frequently find a similar annoyance with c library callbacks.
For instance, most gtk functions have a "user_data" parameter that
is often unused.
Maybe there could be a procedure directive and/or compiler switch to
ignore unsused parameter hints on prototyped functions, or perhaps to
turn this particluar hint off completely?
Or even a "dummy" function like: Ignore(Sender);
- Jeff
I'm not sure but doesn't Delphi actualy ignore unused parameters?
Ales
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel