Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
Warning emitted by the compiler, but does not prevent program execution. A compile error does prevent program execution.
Compile cleanly at high warning levels [1,3]. Prefer compile errors to runtime errors [2].
In the project file, add the following line:
QMAKE_CXXFLAGS += -Wextra |
In the project file, add the following line:
QMAKE_CXXFLAGS += -Weffc++ |
In the project file, add the following line:
QMAKE_CXXFLAGS += -Werror |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.