views:

465

answers:

1

-Wall enables a warning I do not want. Specifically -Wunknown-pragmas, how do I have GCC suppress the message after it is enabled by Wall ?

+9  A: 

gcc -Wall -Wno-unknown-pragmas

should work.

Charles Bailey