[pangomm] Fix the build with --enable-warnings=fatal.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pangomm] Fix the build with --enable-warnings=fatal.
- Date: Fri, 7 Jan 2011 22:35:41 +0000 (UTC)
commit 84021072097e9177ce8e60739867e86b0a9822a3
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Jan 7 22:30:53 2011 +0100
Fix the build with --enable-warnings=fatal.
* configure.ac: Add no-long-long to avoid a warning caused by a newer glib.
Also avoid use of deprecated GLIBMM API and make sure that GSEAL is defined.
ChangeLog | 7 +++++++
configure.ac | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d282827..5d186c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-07 Murray Cumming <murrayc murrayc com>
+
+ Fix the build with --enable-warnings=fatal.
+
+ * configure.ac: Add no-long-long to avoid a warning caused by a newer glib.
+ Also avoid use of deprecated GLIBMM API and make sure that GSEAL is defined.
+
2010-12-09 Murray Cumming <murrayc murrayc com>
Include convert_glibmm.m4 instead of convert_gtkmm.m4.
diff --git a/configure.ac b/configure.ac
index 09fd688..8cbddb7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,8 +57,8 @@ MM_ARG_WITH_TAGFILE_DOC([cairomm-1.0.tag], [cairomm-1.0])
AC_LANG([C++])
MM_ARG_ENABLE_WARNINGS([PANGOMM_WXXFLAGS],
[-Wall],
- [-pedantic -Wall -Wextra],
- [G PANGO])
+ [-pedantic -Wall -Wextra -Wno-long-long -DGSEAL_ENABLE],
+ [G PANGO GLIBMM])
AC_CONFIG_FILES([Makefile
tools/Makefile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]