diff --git a/README b/README index 2123f2a71..1c1f8612c 100644 --- a/README +++ b/README @@ -29,6 +29,7 @@ Requirements ------------ Spot requires a C++11-compliant compiler. +G++ 4.8 or later, as well as Clang++3.5 or later should work. Spot expects a complete installation of Python (version 2.0 or later). Especially, Python's headers files should be installed. If you don't @@ -38,8 +39,6 @@ configure with the --disable-python option (see below). Optional third-party dependencies ---------------------------------- - - If the SAT-solver glucose is found on your system, it will be used by our test suite to test our SAT-based minimization algorithm. diff --git a/configure.ac b/configure.ac index 28975a9b6..1f070587e 100644 --- a/configure.ac +++ b/configure.ac @@ -75,6 +75,8 @@ CXXFLAGS="$CXXFLAGS -DSPOT_BUILD" m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [AC_LANG_SOURCE([#include #include +#include // fails with some installation of clang +#include template struct check @@ -94,6 +96,12 @@ m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], check_type&& cr = static_cast(c); auto d = a; + + void test_emplace() + { + std::map m; + m.emplace(1, 2); // fails with g++ 4.6 + } ])]) for f in -std=c++11 '-std=c++11 -stdlib=libc++' -std=c++0x