
23 Jul
2004
23 Jul
'04
8:25 a.m.
"Christopher Baus"
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