ENH: Superbuild - When Gcc is used - Compiler flags are automatically set.
ENH: Superbuild - When Gcc is used - Compiler flags are automatically set.

The following flags are added:

-fdiagnostics-show-option: This option instructs the diagnostic
machinery to add text to each diagnostic emitted, which indicates
which command line option directly controls that diagnostic, when
such an option is known to the diagnostic machinery.

-Wall:This enables all the warnings about constructions that some users consider questionable.
See http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options

-Wextra: This enables some extra warning flags that are not enabled by -Wall.
See http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning-Options

-Wpointer-arith: Warn about anything that depends on the “size of” a
function type or of void. GNU C assigns these types a size of 1,
for convenience in calculations with void * pointers and pointers
to functions. In C++, warn also when an arithmetic operation
involves NULL. This warning is also enabled by -pedantic

-Winvalid-pch: Warn if a precompiled header (see Precompiled Headers) is found in
 the search path but can't be used.

-Wcast-align: Warn whenever a pointer is cast such that the required
alignment of the target is increased. For example, warn if a char *
is cast to an int * on machines where integers can only be accessed
at two- or four-byte boundaries.

-Wwrite-strings: When compiling C, give string constants the type
const char[length] so that copying the address of one into a
non-const char * pointer will get a warning. These warnings will
help you find at compile time code that can try to write into a
string constant, but only if you have been very careful about
using const in declarations and prototypes. Otherwise, it will
just be a nuisance. This is why we did not make -Wall request
these warnings.
When compiling C++, warn about the deprecated conversion from
string literals to char *. This warning is enabled by
default for C++ programs.

-fstack-protector-all: Emit extra code to check for buffer overflows,
such as stack smashing attacks. This is done by adding a guard
variable to functions with vulnerable objects. This includes
functions that call alloca, and functions with buffers larger
than 8 bytes. The guards are initialized when a function is entered
and then checked when the function exits. If a guard check fails,
an error message is printed and the program exits.
Like -fstack-protector except that all functions are protected.

-D_FORTIFY_SOURCE=2: See http://en.wikipedia.org/wiki/Exec_Shield

-Woverloaded-virtual: Warn when a function declaration hides virtual
functions from a base class.
See http://gcc.gnu.org/onlinedocs/gcc-3.3.1/gcc/C---Dialect-Options.html#C++%20Dialect%20Options

-Wstrict-null-sentinel: Warn also about the use of an uncasted NULL as sentinel.
See http://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html#C_002b_002b-Dialect-Options

-Wsign-promo: Warn when overload resolution chooses a promotion from
unsigned or enumerated type to a signed type, over a conversion to
an unsigned type of the same size

The following one will be added later - Let's wati pythonQt is in it's dedicated
repository ... too verbose for the moment.

-Wold-style-cast: Warn if an old-style (C-style) cast to a non-void type is used within a C++ program.
The new-style casts (`dynamic_cast', `static_cast', `reinterpret_cast', and `const_cast') are less vulnerable
to unintended effects and much easier to search for.

Since Qt is not compliant .. and the output is way too verbose.
The following one are not added:
 -Wsign-conversion
 -Wconversion

commontk/CTK,vovythevov/CTK,rkhlebnikov/CTK,espakm/CTK,CJGoch/CTK,SINTEFMedtek/CTK,espakm/CTK,lassoan/CTK,espakm/CTK,finetjul/CTK,Sardge/CTK,Heather/CTK,commontk/CTK,lassoan/CTK,SINTEFMedtek/CTK,sankhesh/CTK,jcfr/CTK,AndreasFetzer/CTK,sankhesh/CTK,jcfr/CTK,pieper/CTK,msmolens/CTK,Sardge/CTK,rkhlebnikov/CTK,danielknorr/CTK,naucoin/CTK,finetjul/CTK,151706061/CTK,jcfr/CTK,CJGoch/CTK,Sardge/CTK,vovythevov/CTK,rkhlebnikov/CTK,msmolens/CTK,lassoan/CTK,Sardge/CTK,danielknorr/CTK,laurennlam/CTK,lassoan/CTK,jcfr/CTK,151706061/CTK,espakm/CTK,fedorov/CTK,commontk/CTK,SINTEFMedtek/CTK,mehrtash/CTK,ddao/CTK,CJGoch/CTK,sankhesh/CTK,Heather/CTK,151706061/CTK,sankhesh/CTK,mehrtash/CTK,AndreasFetzer/CTK,pieper/CTK,finetjul/CTK,CJGoch/CTK,danielknorr/CTK,ddao/CTK,laurennlam/CTK,ddao/CTK,finetjul/CTK,commontk/CTK,naucoin/CTK,CJGoch/CTK,naucoin/CTK,pieper/CTK,rkhlebnikov/CTK,fedorov/CTK,Heather/CTK,pieper/CTK,danielknorr/CTK,ddao/CTK,SINTEFMedtek/CTK,mehrtash/CTK,AndreasFetzer/CTK,Heather/CTK,151706061/CTK,151706061/CTK,msmolens/CTK,SINTEFMedtek/CTK,vovythevov/CTK,jcfr/CTK,AndreasFetzer/CTK,fedorov/CTK,naucoin/CTK,vovythevov/CTK,msmolens/CTK,fedorov/CTK,laurennlam/CTK,laurennlam/CTK,mehrtash/CTK