On 06 September 2007 16:55, Basile STARYNKEVITCH wrote: > 2. generated code: when some C files are generated, it may be hard to > avoid some warnings, typically a generated C function might have unused > arguments (which might be not very easy to detect at generation stage).
Generate "__attribute__ ((unused))" on all parameters/variables, regardless. cheers, DaveK -- Can't think of a witty .sigline today....