Boost logo

Boost Users :

From: drkm (darkman_spam_at_[hidden])
Date: 2004-07-23 03:25:02

"Christopher Baus" <christopher_at_[hidden]> writes:

>>> Unless I'm missing something, this should do the trick:

>>> g++ -c -O2 -Wall -Wno-unused-variable foo.cpp

> Ok, I found the solution. I was looking for a pragma to do it, but
> the solution for gcc is the use the unused attribute.

  I think an idiomatic solution is :

    int unused ;
    unused ;

--drkm, en recherche d'un stage :

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at