I'm looking for a compliler flag to disable the GCC #warning
directive in Debug targets but not release targets. Does anyone know of a way to do this?
Asked
Active
Viewed 345 times
1 Answers
0
You could define NDEBUG for release builds and make the #warning conditional upon that?

echristo
- 1,687
- 10
- 8