|
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 : http://www.fgeorges.org/ipl/stage.html
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net