Helmut Karlowski wrote:
Am 30.07.2011, 21:21 Uhr, schrieb <cvs@sparemint.org>:/* define to indicate unused variables: */ -# ifdef __TURBOC__ # define UNUSED(x) (void) x -# endif - -/* default: */ -# ifndef UNUSED -# define UNUSED(x) -# endifDoes that mean that gcc now goes pure-c?
The cast to void is the standard way to get rid of unused warnings. It was wrong to define it only for __TURBOC__.
-- Vincent Rivière