From a15cbc7b9e40d68acd378fa07720db5ef005f62f Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Fri, 14 Oct 2016 21:29:35 +0100 Subject: gtkmm2, gtkmm3: fix build for GCC 5.4.0 Auto_ptr make GCC 5.4.0 angry. --- src/gtkmm2.mk | 2 +- src/gtkmm3.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtkmm2.mk b/src/gtkmm2.mk index b1a3d70..32d39a7 100644 --- a/src/gtkmm2.mk +++ b/src/gtkmm2.mk @@ -31,7 +31,7 @@ define $(PKG)_BUILD $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_install='# DISABLED: doc-install.pl' '$(TARGET)-g++' \ - -W -Wall -Werror -pedantic -std=c++0x \ + -W -Wall -Wno-deprecated-declarations -Werror -pedantic -std=c++11 \ '$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-gtkmm2.exe' \ `'$(TARGET)-pkg-config' gtkmm-2.4 --cflags --libs` endef diff --git a/src/gtkmm3.mk b/src/gtkmm3.mk index 235e679..8660a90 100644 --- a/src/gtkmm3.mk +++ b/src/gtkmm3.mk @@ -30,7 +30,7 @@ define $(PKG)_BUILD $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_install='# DISABLED: doc-install.pl' '$(TARGET)-g++' \ - -W -Wall -Werror -pedantic -std=c++0x \ + -W -Wall -Wno-deprecated-declarations -Werror -pedantic -std=c++11 \ '$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-gtkmm3.exe' \ `'$(TARGET)-pkg-config' gtkmm-3.0 --cflags --libs` endef -- cgit v0.12