[evolution-data-server/intel-work-3-12: 4/4] Removed C++ compiler flags not supported by older GCC
- From: Mateusz Polrola <mpolrola src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/intel-work-3-12: 4/4] Removed C++ compiler flags not supported by older GCC
- Date: Fri, 30 May 2014 12:06:29 +0000 (UTC)
commit e0cb82a775f0288a5ffccf5231f7b2ab9eb8560f
Author: Mateusz Polrola <mateusz polrola gmail com>
Date: Fri May 30 13:11:57 2014 +0200
Removed C++ compiler flags not supported by older GCC
Older versions of GCC don't recognize -Wnoexcept flag
Cherry picked from commit in openismus-work-3-8:
Fixed C++ compiler flags to work with various GCC versions 0c938d
configure.ac | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 04fda35..ca18ea8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -182,13 +182,13 @@ dnl Compiler Warning Flags
dnl ******************************
proposed_warning_flags="-Wall -Wextra
-Wdeprecated-declarations
- -Werror-implicit-function-declaration
-Wformat-security -Winit-self
-Wmissing-declarations -Wmissing-include-dirs
-Wmissing-noreturn -Wpointer-arith
-Wredundant-decls -Wundef -Wwrite-strings"
proposed_c_warning_flags="$proposed_warning_flags
+ -Werror-implicit-function-declaration
-Wdeclaration-after-statement
-Wno-missing-field-initializers
-Wno-sign-compare
@@ -196,7 +196,7 @@ proposed_c_warning_flags="$proposed_warning_flags
-Wnested-externs"
proposed_cxx_warning_flags="$proposed_warning_flags
- -Wabi -Wnoexcept"
+ -Wabi"
AS_COMPILER_FLAGS(WARNING_FLAGS, [$proposed_c_warning_flags])
AC_SUBST(WARNING_FLAGS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]