[glibmm] Revert "Try to disable -Wunused-function for the glibmm_interface_move test."
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Revert "Try to disable -Wunused-function for the glibmm_interface_move test."
- Date: Sun, 22 Apr 2018 14:53:50 +0000 (UTC)
commit fbff4140a7a4b065f8d2b40c51d27b1f3f099469
Author: Murray Cumming <murrayc murrayc com>
Date: Sun Apr 22 16:53:23 2018 +0200
Revert "Try to disable -Wunused-function for the glibmm_interface_move test."
This reverts commit 732df7d9cb709f6fd96099654fb83a00d99f26cf.
This doesn't seem to be a problem any more.
configure.ac | 8 +-------
tests/Makefile.am | 5 +----
2 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5dbcff5..9c9bbb2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -134,16 +134,10 @@ MM_ARG_WITH_TAGFILE_DOC([libsigc++-2.0.tag], [sigc++-2.0])
# Check whether --enable-debug-refcounting was given.
GLIBMM_ARG_ENABLE_DEBUG_REFCOUNTING
-glibmm_warnings_fatal='-pedantic -Wall -Wextra -Wformat-security -Wsuggest-override -Wshadow -Wno-long-long'
# Evaluate the --enable-warnings=level option.
MM_ARG_ENABLE_WARNINGS([GLIBMM_WXXFLAGS],
[-Wall],
- [$glibmm_warnings_fatal],
- [G SIGCXX])
-
-MM_ARG_ENABLE_WARNINGS([GLIBMM_INTERFACE_TEST_WXXFLAGS],
- [-Wall],
- [$glibmm_warnings_fatal -Wno-unused-function],
+ [-pedantic -Wall -Wextra -Wformat-security -Wsuggest-override -Wshadow
-Wno-long-long],
[G SIGCXX])
# Offer the ability to omit some API from the library,
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7e04968..339eead 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -56,9 +56,8 @@ glibmm_includes = -I$(top_builddir)/glib $(if $(srcdir:.=),-I$(top_srcdir)/glib)
giomm_includes = -I$(top_builddir)/gio $(if $(srcdir:.=),-I$(top_srcdir)/gio)
local_cppflags = -I$(top_builddir) $(glibmm_includes) $(giomm_includes)
-cxxflags_disable_deprecated = $(GLIBMM_WXXFLAGS) -DGLIBMM_DISABLE_DEPRECATED -DGIOMM_DISABLE_DEPRECATED
AM_CPPFLAGS = $(local_cppflags) $(GIOMM_CFLAGS)
-AM_CXXFLAGS = $(GLIBMM_WXXFLAGS) $(cxxflags_disable_deprecated)
+AM_CXXFLAGS = $(GLIBMM_WXXFLAGS) -DGLIBMM_DISABLE_DEPRECATED -DGIOMM_DISABLE_DEPRECATED
local_libglibmm = $(top_builddir)/glib/glibmm/libglibmm-$(GLIBMM_API_VERSION).la
@@ -100,8 +99,6 @@ glibmm_interface_implementation_test_SOURCES = glibmm_interface_implementation/m
glibmm_interface_implementation_test_LDADD = $(giomm_ldadd)
glibmm_interface_move_test_SOURCES = glibmm_interface_move/main.cc
-glibmm_interface_move_test_CXXFLAGS = $(GLIBMM_INTERFACE_TEST_WXXFLAGS) $(cxxflags_disable_deprecated)
-
glibmm_mainloop_test_SOURCES = glibmm_mainloop/main.cc
glibmm_nodetree_test_SOURCES = glibmm_nodetree/main.cc
glibmm_object_test_SOURCES = glibmm_object/main.cc \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]