[libgdamm/libgdamm-4-2] Adjust the compiler warning flags used with --enable-warnings=fatal.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdamm/libgdamm-4-2] Adjust the compiler warning flags used with --enable-warnings=fatal.
- Date: Thu, 22 Sep 2011 09:22:23 +0000 (UTC)
commit f5b5282c534060f02270cd503e2ac10fef4ef285
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Mar 30 21:49:12 2011 +0200
Adjust the compiler warning flags used with --enable-warnings=fatal.
* configure.ac: Ignore warnings about long long, to fix the build with
g++ 4.5.2. Avoid use of glibmm deprecated API too.
ChangeLog | 6 +++---
configure.ac | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index f014073..aa38dd4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,9 @@
2011-09-21 Murray Cumming <murrayc murrayc com>
- Value: operator=(): Check for identical instance.
+ Adjust the compiler warning flags used with --enable-warnings=fatal.
- * libgda/libgdamm/value.cc: This is generally a good idea in operator=()
- implementations.
+ * configure.ac: Ignore warnings about long long, to fix the build with
+ g++ 4.5.2. Avoid use of glibmm deprecated API too.
2011-09-20 Murray Cumming <murrayc murrayc com>
diff --git a/configure.ac b/configure.ac
index 1b0d5cd..7f1a0fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,8 +51,8 @@ MM_PKG_CONFIG_SUBST([GMMPROC_DIR], [--variable=gmmprocdir glibmm-2.4])
AC_LANG([C++])
MM_ARG_ENABLE_WARNINGS([LIBGDAMM_WXXFLAGS],
[-Wall],
- [-pedantic -Wall -Wextra -Wno-missing-field-initializers],
- [G GDA])
+ [-pedantic -Wall -Wextra -Wno-long-long -Wno-missing-field-initializers -DGSEAL_ENABLE],
+ [G GDA GLIBMM])
MM_ARG_ENABLE_DOCUMENTATION
MM_ARG_WITH_TAGFILE_DOC([libstdc++.tag], [mm-common-libstdc++])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]