From 6296192defaaaa4c18b1821614c20b95ad94f806 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 3 Jan 2015 15:18:39 +0100 Subject: [PATCH] Features: Add a comment explaining part of test. --- Tests/CompileFeatures/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/CompileFeatures/CMakeLists.txt b/Tests/CompileFeatures/CMakeLists.txt index 832f68b00..834ac7cc0 100644 --- a/Tests/CompileFeatures/CMakeLists.txt +++ b/Tests/CompileFeatures/CMakeLists.txt @@ -33,6 +33,8 @@ endforeach() if (CMAKE_CXX_COMPILER_ID STREQUAL GNU AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.8) + # The cxx_alignof feature happens to work (for *this* testcase) with + # GNU 4.7, but it is first documented as available with GNU 4.8. list(REMOVE_ITEM CXX_non_features cxx_alignof )