Boost logo

Boost :

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.

    -- Darin

Boost list run by bdawes at, gregod at, cpdaniel at, john at