|
Boost : |
From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-09-25 15:41:56
John Maddock wrote:
> Just a thought but whats wrong with:
>
> (void) parameter_name;
>
> which suppresses the warning and doesn't generate any code, even when
> inline expansions are turned off in the compiler....
For gcc, this suggestion still generates the "unused" warning.
I found out I need to use this:
(void) ¶meter_name
to avoid the warning with gcc.
Jens Maurer
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk