1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-16 02:01:59 +02:00

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.
This commit is contained in:
Shea Levy 2014-10-18 22:44:59 -04:00
parent d16e3c7f09
commit 84a13dc576
3 changed files with 2 additions and 9 deletions

View file

@ -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