j
k
j a
j l
...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.
Unless I'm missing something, this should do the trick: g++ -c -O2 -Wall -Wno-unused-variable foo.cpp
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.
Cheers, Christopher
Back to the thread
Back to the list