summaryrefslogtreecommitdiffstats
path: root/config/gnu-werrors-8
blob: 36c141432285575bdf1f2b32e8212cc7021b0f67 (plain)
1
2
3
4
5
6
7
8
9
-Werror=cast-function-type
#
# For GCC 8, promote maybe-initialized warnings to an error.  GCC 8
# reports 0 maybe-uninitialized warnings where earlier versions
# make many false reports.  GCC 8 seems to analyze calls to static
# in order to detect initializations that occur there.  It's possible
# that GCC 8 only performs that analysis at -O3, though.
#
-Werror=maybe-uninitialized