* system.h (-Wc++-compat): Activate as a warning, no an error.
From-SVN: r136955
+2008-06-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * system.h (-Wc++-compat): Activate as a warning, no an error.
+
2008-06-19 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.h (ix86_tune_indices)
#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 as a warning (not an error/-Werror). */
+/* Activate -Wcast-qual and -Wc++-compat 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