Lines Matching +full:enabled +full:- +full:strings
29 dnl \file developer-mode.m4
32 dnl build-time warnings as fatal errors. This helps in minimizing the
34 dnl Unfortunately, this is not bullet-proof due to the wide variety of
39 dnl unless developer mode is enabled.
41 dnl Developer mode is enabled when the user requests it through the
49 dnl This macro performs the actual definition of the --enable-developer
50 dnl flag and implements all of its logic. See the file-level comment for
57 AS_HELP_STRING([--enable-developer], [enable developer features]),,
58 [if test -d ${srcdir}/.git; then
66 # The following warning flags should also be enabled but cannot be.
69 # -Wold-style-cast: Raises errors when using TIOCGWINSZ, at least under
73 try_c_cxx_flags="-D_FORTIFY_SOURCE=2 \
74 -Wall \
75 -Wcast-qual \
76 -Wextra \
77 -Wpointer-arith \
78 -Wredundant-decls \
79 -Wreturn-type \
80 -Wshadow \
81 -Wsign-compare \
82 -Wswitch \
83 -Wwrite-strings"
85 try_c_flags="-Wmissing-prototypes \
86 -Wno-traditional \
87 -Wstrict-prototypes"
89 try_cxx_flags="-Wabi \
90 -Wctor-dtor-privacy \
91 -Wno-deprecated \
92 -Wno-non-template-friend \
93 -Wno-pmf-conversions \
94 -Wnon-virtual-dtor \
95 -Woverloaded-virtual \
96 -Wreorder \
97 -Wsign-promo \
98 -Wsynth"
102 try_c_cxx_flags="${try_c_cxx_flags} -g -Werror"
105 try_c_cxx_flags="${try_c_cxx_flags} -DNDEBUG"