From: Darin Adler (darin_at_[hidden])
Date: 2001-09-25 10:57:26
on 9/25/01 4:50 AM, John Maddock at John_Maddock_at_[hidden] 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....
I think that the main thing that's wrong with it is that it doesn't work on
all compilers with the unused variable warning, triggering a second
"expression with no side effects" warning.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk