I am writing code that links to something that has many #warning directives scattered throughout. Seeing them pop up every time makes it very difficult to notice warnings in my own code. Is there a way to ignore the #warning directive?
Asked
Active
Viewed 715 times
2
-
you could find and replace "#warning" with "//#warning" – Wug Jul 03 '12 at 17:59
-
Of course I could remove all of the warning pragmas but there are many and clearly there for a reason. I would like to temporarily disable them while debuging my own code but not actually mess with the code that is not maintained by me. But if there is no other way I will end up doing exactly what you suggested. – f4hy Jul 03 '12 at 18:02