[Cmake-commits] CMake branch, next, updated. v3.8.0-rc1-51-ge703924

Brad King brad.king at kitware.com
Thu Feb 9 16:05:42 EST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  e70392430de41387679706c6c1b01cc74b261aa5 (commit)
       via  e2ee0971474ce92766f77d77025319ef575aa303 (commit)
      from  b9bc47f7cb9806eb328f830ca162d1b08222b247 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e70392430de41387679706c6c1b01cc74b261aa5
commit e70392430de41387679706c6c1b01cc74b261aa5
Merge: b9bc47f e2ee097
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Feb 9 16:05:42 2017 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Feb 9 16:05:42 2017 -0500

    Merge topic 'gcc-cpp98' into next
    
    e2ee0971 g++ knows about C++98 selection flags since at least 3.4


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e2ee0971474ce92766f77d77025319ef575aa303
commit e2ee0971474ce92766f77d77025319ef575aa303
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Wed Feb 8 18:18:17 2017 +0100
Commit:     Rolf Eike Beer <eike at sf-mail.de>
CommitDate: Wed Feb 8 21:04:31 2017 +0100

    g++ knows about C++98 selection flags since at least 3.4
    
    https://gcc.gnu.org/onlinedocs/gcc-3.4.0/gcc/C-Dialect-Options.html#C-Dialect-Options

diff --git a/Modules/Compiler/GNU-CXX.cmake b/Modules/Compiler/GNU-CXX.cmake
index c007c98..2499d2f 100644
--- a/Modules/Compiler/GNU-CXX.cmake
+++ b/Modules/Compiler/GNU-CXX.cmake
@@ -11,8 +11,7 @@ else()
   endif()
 endif()
 
-if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.4)
-  # Supported since 4.3
+if(NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.4)
   set(CMAKE_CXX98_STANDARD_COMPILE_OPTION "-std=c++98")
   set(CMAKE_CXX98_EXTENSION_COMPILE_OPTION "-std=gnu++98")
 endif()

-----------------------------------------------------------------------

Summary of changes:
 Modules/Compiler/GNU-CXX.cmake |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list