22.6.11

Suppress Warnings in g++ v4.0

Warning suppression is not recommended as it displays issues with the compiler, which could effect the result. However when compiling old codes, a lot of warning generates noise and makes it hard to locate errors in the program. In such cases, using such warning suppresses might just help in gnu C++ code
-Wno : Suppress Warnings
-Wno-write-strings
Go to GCC home page for other compiler options

No comments: