diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/Makefile.in | 6 | ||||
-rwxr-xr-x | gcc/configure | 100 | ||||
-rw-r--r-- | gcc/configure.ac | 3 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/Make-lang.in | 2 | ||||
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/Make-lang.in | 3 | ||||
-rw-r--r-- | gcc/optabs.c | 4 | ||||
-rw-r--r-- | gcc/system.h | 6 |
10 files changed, 50 insertions, 95 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1b0727bea14..26a22dbf4da 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,18 @@ 2008-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + * Makefile.in (CXX_COMPAT_WARN, cxx_compat_warn): Delete. + (bitmap.o-warn, dominance.o-warn): New. + * configure.ac (cxx_compat_warn): Delete. + (loose_warn): Add -Wcast-qual and -Wc++-compat. + * system.h: Remove #pragma diagnostic for -Wcast-qual and + -Wc++-compat. + * configure: Regenerate. + + * optabs.c (libfunc_decl_hash, libfunc_decl_eq): Fix -Wcast-qual + warnings. + +2008-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + * alloc-pool.c (create_alloc_pool): Fix -Wc++-compat warnings. * df-scan.c (df_notes_rescan): Likewise. * ggc-page.c (set_page_table_entry): Likewise. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index c8f3b18eca9..b29b0a8143e 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -160,10 +160,8 @@ coverageexts = .{gcda,gcno} # STRICT_WARN are the additional warning flags to # apply to the back end and the C front end, which may be compiled # with other compilers. -# CXX_COMPAT_WARN are C++ source compatibility warnings. LOOSE_WARN = @loose_warn@ STRICT_WARN = @strict_warn@ -CXX_COMPAT_WARN = @cxx_compat_warn@ # This is set by --enable-checking. The idea is to catch forgotten # "extern" tags in header files. @@ -189,6 +187,10 @@ build/gengtype-lex.o-warn = -Wno-error SYSCALLS.c.X-warn = -Wno-strict-prototypes -Wno-error # dfp.c contains alias violations dfp.o-warn = -Wno-error +# bitmap.c contains -Wc++compat warnings. +bitmap.o-warn = -Wno-error +# dominance.c contains a -Wc++compat warning. +dominance.o-warn = -Wno-error # All warnings have to be shut off in stage1 if the compiler used then # isn't gcc; configure determines that. WARN_CFLAGS will be either diff --git a/gcc/configure b/gcc/configure index 284b644d36f..f2b15d192e7 100755 --- a/gcc/configure +++ b/gcc/configure @@ -458,7 +458,7 @@ ac_includes_default="\ # include <unistd.h> #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical build_libsubdir build_subdir host_subdir target_subdir GENINSRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE NO_MINUS_C_MINUS_O OUTPUT_OPTION CPP EGREP loose_warn cxx_compat_warn strict_warn warn_cflags nocommon_flag TREEBROWSER valgrind_path valgrind_path_defines valgrind_command coverage_flags enable_multilib enable_decimal_float enable_fixed_point enable_shared TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE CROSS_SYSTEM_HEADER_DIR onestep PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI datarootdir docdir htmldir SET_MAKE AWK LN_S LN RANLIB ac_ct_RANLIB ranlib_flags INSTALL INSTALL_PROGRAM INSTALL_DATA make_compare_target have_mktemp_command MAKEINFO BUILD_INFO GENERATED_MANPAGES FLEX BISON NM AR COLLECT2_LIBS GNAT_LIBEXC LDEXP_LIB TARGET_GETGROUPS_T LIBICONV LTLIBICONV LIBICONV_DEP manext objext gthread_flags extra_modes_file extra_opt_files USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT host_cc_for_libada CROSS ALL SYSTEM_HEADER_DIR inhibit_libc CC_FOR_BUILD BUILD_CFLAGS BUILD_LDFLAGS STMP_FIXINC STMP_FIXPROTO collect2 LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN ac_ct_AR STRIP ac_ct_STRIP lt_ECHO objdir enable_fast_install gcc_cv_as ORIGINAL_AS_FOR_TARGET gcc_cv_ld ORIGINAL_LD_FOR_TARGET gcc_cv_nm ORIGINAL_NM_FOR_TARGET gcc_cv_objdump libgcc_visibility GGC zlibdir zlibinc MAINT gcc_tooldir dollar slibdir subdirs srcdir all_compilers all_gtfiles all_lang_makefrags all_lang_makefiles all_languages all_selected_languages build_exeext build_install_headers_dir build_xm_file_list build_xm_include_list build_xm_defines build_file_translate check_languages cpp_install_dir xmake_file tmake_file extra_gcc_objs extra_headers_list extra_objs extra_parts extra_passes extra_programs float_h_file gcc_config_arguments gcc_gxx_include_dir host_exeext host_xm_file_list host_xm_include_list host_xm_defines out_host_hook_obj install lang_opt_files lang_specs_files lang_tree_files local_prefix md_file objc_boehm_gc out_file out_object_file thread_file tm_file_list tm_include_list tm_defines tm_p_file_list tm_p_include_list xm_file_list xm_include_list xm_defines c_target_objs cxx_target_objs fortran_target_objs target_cpu_default GMPLIBS GMPINC LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os target_noncanonical build_libsubdir build_subdir host_subdir target_subdir GENINSRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT GNATBIND ac_ct_GNATBIND GNATMAKE ac_ct_GNATMAKE NO_MINUS_C_MINUS_O OUTPUT_OPTION CPP EGREP loose_warn strict_warn warn_cflags nocommon_flag TREEBROWSER valgrind_path valgrind_path_defines valgrind_command coverage_flags enable_multilib enable_decimal_float enable_fixed_point enable_shared TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE CROSS_SYSTEM_HEADER_DIR onestep PKGVERSION REPORT_BUGS_TO REPORT_BUGS_TEXI datarootdir docdir htmldir SET_MAKE AWK LN_S LN RANLIB ac_ct_RANLIB ranlib_flags INSTALL INSTALL_PROGRAM INSTALL_DATA make_compare_target have_mktemp_command MAKEINFO BUILD_INFO GENERATED_MANPAGES FLEX BISON NM AR COLLECT2_LIBS GNAT_LIBEXC LDEXP_LIB TARGET_GETGROUPS_T LIBICONV LTLIBICONV LIBICONV_DEP manext objext gthread_flags extra_modes_file extra_opt_files USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT host_cc_for_libada CROSS ALL SYSTEM_HEADER_DIR inhibit_libc CC_FOR_BUILD BUILD_CFLAGS BUILD_LDFLAGS STMP_FIXINC STMP_FIXPROTO collect2 LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN ac_ct_AR STRIP ac_ct_STRIP lt_ECHO objdir enable_fast_install gcc_cv_as ORIGINAL_AS_FOR_TARGET gcc_cv_ld ORIGINAL_LD_FOR_TARGET gcc_cv_nm ORIGINAL_NM_FOR_TARGET gcc_cv_objdump libgcc_visibility GGC zlibdir zlibinc MAINT gcc_tooldir dollar slibdir subdirs srcdir all_compilers all_gtfiles all_lang_makefrags all_lang_makefiles all_languages all_selected_languages build_exeext build_install_headers_dir build_xm_file_list build_xm_include_list build_xm_defines build_file_translate check_languages cpp_install_dir xmake_file tmake_file extra_gcc_objs extra_headers_list extra_objs extra_parts extra_passes extra_programs float_h_file gcc_config_arguments gcc_gxx_include_dir host_exeext host_xm_file_list host_xm_include_list host_xm_defines out_host_hook_obj install lang_opt_files lang_specs_files lang_tree_files local_prefix md_file objc_boehm_gc out_file out_object_file thread_file tm_file_list tm_include_list tm_defines tm_p_file_list tm_p_include_list xm_file_list xm_include_list xm_defines c_target_objs cxx_target_objs fortran_target_objs target_cpu_default GMPLIBS GMPINC LIBOBJS LTLIBOBJS' ac_subst_files='language_hooks' ac_pwd=`pwd` @@ -7015,7 +7015,7 @@ fi loose_warn= save_CFLAGS="$CFLAGS" for option in -W -Wall -Wwrite-strings -Wstrict-prototypes \ - -Wmissing-prototypes; do + -Wmissing-prototypes -Wcast-qual -Wc++-compat; do as_acx_Woption=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` echo "$as_me:$LINENO: checking whether $CC supports $option" >&5 @@ -7080,73 +7080,6 @@ fi done CFLAGS="$save_CFLAGS" -cxx_compat_warn= -save_CFLAGS="$CFLAGS" -for option in -Wc++-compat; do - as_acx_Woption=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh` - - echo "$as_me:$LINENO: checking whether $CC supports $option" >&5 -echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6 -if eval "test \"\${$as_acx_Woption+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - CFLAGS="$option" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 - (eval $ac_compile) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" - || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest.$ac_objext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_acx_Woption=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_acx_Woption=no" -fi -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext - -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6 - if test `eval echo '${'$as_acx_Woption'}'` = yes; then - cxx_compat_warn="$cxx_compat_warn${cxx_compat_warn:+ }$option" -fi - - done -CFLAGS="$save_CFLAGS" - strict_warn= save_CFLAGS="$CFLAGS" for option in -Wold-style-definition \ @@ -14726,13 +14659,13 @@ if test "${lt_cv_nm_interface+set}" = set; then else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:14729: $ac_compile\"" >&5) + (eval echo "\"\$as_me:14662: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:14732: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:14665: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:14735: output\"" >&5) + (eval echo "\"\$as_me:14668: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -15787,7 +15720,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 15790 "configure"' > conftest.$ac_ext + echo '#line 15723 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -16407,11 +16340,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16410: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16343: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16414: \$? = $ac_status" >&5 + echo "$as_me:16347: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16729,11 +16662,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16732: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16665: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16736: \$? = $ac_status" >&5 + echo "$as_me:16669: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16834,11 +16767,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16837: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16770: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16841: \$? = $ac_status" >&5 + echo "$as_me:16774: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -16889,11 +16822,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16892: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16825: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16896: \$? = $ac_status" >&5 + echo "$as_me:16829: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -19686,7 +19619,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 19689 "configure" +#line 19622 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -19786,7 +19719,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 19789 "configure" +#line 19722 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -24550,7 +24483,6 @@ s,@OUTPUT_OPTION@,$OUTPUT_OPTION,;t t s,@CPP@,$CPP,;t t s,@EGREP@,$EGREP,;t t s,@loose_warn@,$loose_warn,;t t -s,@cxx_compat_warn@,$cxx_compat_warn,;t t s,@strict_warn@,$strict_warn,;t t s,@warn_cflags@,$warn_cflags,;t t s,@nocommon_flag@,$nocommon_flag,;t t diff --git a/gcc/configure.ac b/gcc/configure.ac index 6bca2954e38..31b448720a2 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -323,8 +323,7 @@ AC_CHECK_TYPES([__int64], [AC_CHECK_SIZEOF(__int64)]) # So, we only use -pedantic if we can disable those warnings. ACX_PROG_CC_WARNING_OPTS([-W -Wall -Wwrite-strings -Wstrict-prototypes \ - -Wmissing-prototypes], [loose_warn]) -ACX_PROG_CC_WARNING_OPTS([-Wc++-compat], [cxx_compat_warn]) + -Wmissing-prototypes -Wcast-qual -Wc++-compat], [loose_warn]) ACX_PROG_CC_WARNING_OPTS([-Wold-style-definition \ -Wmissing-format-attribute], [strict_warn]) ACX_PROG_CC_WARNING_ALMOST_PEDANTIC([-Wno-long-long -Wno-variadic-macros \ diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 14d08aca504..50117700c41 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2008-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * Make-lang.in (cp-warn): Delete $(CXX_COMPAT_WARN). + 2008-06-28 Jakub Jelinek <jakub@redhat.com> PR c++/36364 diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index 3831bb9f91f..6fced350ec4 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -89,7 +89,7 @@ CXX_OBJS = cp/cp-lang.o stub-objc.o $(CXX_AND_OBJCXX_OBJS) c++_OBJS = $(CXX_OBJS) dummy-checksum.o cc1plus-checksum.o cp/g++spec.o # Use strict warnings for this front end. -cp-warn = $(STRICT_WARN) $(CXX_COMPAT_WARN) +cp-warn = $(STRICT_WARN) cc1plus-dummy$(exeext): $(CXX_OBJS) dummy-checksum.o $(BACKEND) $(LIBDEPS) $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \ diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 65a28f4f853..b5ceb09f1b9 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2008-06-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * Make-lang.in (java/jcf-io.o-warn): New. + 2008-06-24 Tom Tromey <tromey@redhat.com> * jcf-path.c (jcf_path_init): Don't name variable 'try'. diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index d1201cd7034..badbb7fdfbf 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -101,6 +101,9 @@ jvspec.o-warn = -Wno-error # Bison-1.75 output often yields (harmless) -Wtraditional warnings java/parse.o-warn = -Wno-error +# java/jcf-io.c contains a -Wc++compat warning. +java/jcf-io.o-warn = -Wno-error + jc1$(exeext): $(JAVA_OBJS) $(BACKEND) $(LIBDEPS) attribs.o rm -f $@ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \ diff --git a/gcc/optabs.c b/gcc/optabs.c index c3377c87238..32a6396bd70 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -5992,13 +5992,13 @@ static GTY ((param_is (union tree_node))) htab_t libfunc_decls; static hashval_t libfunc_decl_hash (const void *entry) { - return htab_hash_string (IDENTIFIER_POINTER (DECL_NAME ((tree) entry))); + return htab_hash_string (IDENTIFIER_POINTER (DECL_NAME ((const_tree) entry))); } static int libfunc_decl_eq (const void *entry1, const void *entry2) { - return DECL_NAME ((tree) entry1) == (tree) entry2; + return DECL_NAME ((const_tree) entry1) == (const_tree) entry2; } rtx diff --git a/gcc/system.h b/gcc/system.h index 363d7398c5b..be70b026ff4 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -797,11 +797,9 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; #define CONST_CAST_RTX(X) CONST_CAST(struct rtx_def *, (X)) #define CONST_CAST_BB(X) CONST_CAST(struct basic_block_def *, (X)) -/* Activate -Wcast-qual and -Wc++-compat as warnings (not errors via - the -Werror flag). */ +/* Activate certain diagnostics as warnings (not errors via the + -Werror flag). */ #if GCC_VERSION >= 4003 -#pragma GCC diagnostic warning "-Wcast-qual" -#pragma GCC diagnostic warning "-Wc++-compat" /* If asserts are disabled, activate -Wuninitialized as a warning (not an error/-Werror). */ #ifndef ENABLE_ASSERT_CHECKING |