[libgdamm] 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] Adjust the compiler warning flags used with --enable-warnings=fatal.
- Date: Wed, 30 Mar 2011 19:49:46 +0000 (UTC)
commit 19bf78135eb8217f311d9baa931d15d3d79cd711
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 | 7 +++++++
configure.ac | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7687c3f..5b387a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-03-30 Murray Cumming <murrayc murrayc com>
+ 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.
+
+2011-03-30 Murray Cumming <murrayc murrayc com>
+
Remove GLIBMM_EXCEPTIONS_ENABLED ifdefs.
* libgda/src/*.[hg|ccg]: These ifdefs are no longer useful. They were already
diff --git a/configure.ac b/configure.ac
index 96d3497..c3536ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,8 +56,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]