This web page will give you some
hints for compiler options that check your code regarding typical unsafe or
suspicious programming or supporting new features (C++-17).
These option can be included in
code::blocks by activating the boxes in "Settings" --> "Compiler"
--> "Global compiler settings"
compile options for calling the g++ compiler:
g++ [options] file.cpp