diff --git a/BUILD.bazel b/BUILD.bazel index 15d83699..f7a1162b 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -3,7 +3,7 @@ licenses(["notice"]) COPTS = [ "-pedantic", "-pedantic-errors", - "-std=c++11", + "-std=c++14", "-Wall", "-Wconversion", "-Wextra", diff --git a/CMakeLists.txt b/CMakeLists.txt index 942ce98c..77eb30a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -138,11 +138,7 @@ if (BENCHMARK_BUILD_32_BITS) add_required_cxx_compiler_flag(-m32) endif() -if (MSVC OR CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC") - set(BENCHMARK_CXX_STANDARD 14) -else() - set(BENCHMARK_CXX_STANDARD 11) -endif() +set(BENCHMARK_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD ${BENCHMARK_CXX_STANDARD}) set(CMAKE_CXX_STANDARD_REQUIRED YES) diff --git a/README.md b/README.md index a5e5d392..0b2a0ab6 100644 --- a/README.md +++ b/README.md @@ -53,12 +53,10 @@ IRC channels: The library can be used with C++03. However, it requires C++11 to build, including compiler and standard library support. -The following minimum versions are required to build the library: +_See [dependencies.md](docs/dependencies.md) for more details regarding supported +compilers and standards._ -* GCC 4.8 -* Clang 3.4 -* Visual Studio 14 2015 -* Intel 2015 Update 1 +If you have need for a particular compiler to be supported, patches are very welcome. See [Platform-Specific Build Instructions](docs/platform_specific_build_instructions.md).