about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-10-19T02·44-0400
committerShea Levy <shea@shealevy.com>2014-10-19T02·44-0400
commit84a13dc576496f1227665259c61f86184f452f51 (patch)
treedb099d777b08c5c7f8fd0e203741d5c7c92e44ab /Makefile
parentd16e3c7f091b0ecc4975368575c71d69ce7a9bc7 (diff)
Drop support for pre-c++11 compilers.
In particular, gcc 4.6's std::exception::~exception has an exception
specification in c++0x mode, which requires us to use that deprecated
feature in nix (and led to breakage after some recent changes that were
valid c++11).

nix already uses several c++11 features and gcc 4.7 has been around for
over 2 years.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b41a820275f4..5ada6030df1a 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ makefiles = \
   doc/manual/local.mk \
   tests/local.mk
 
-GLOBAL_CXXFLAGS += -std=c++0x -g -Wall
+GLOBAL_CXXFLAGS += -std=c++11 -g -Wall
 
 include Makefile.config