[Cmake-commits] CMake branch, next, updated. v2.8.11.1-2879-gaaaa6fd

Brad King brad.king at kitware.com
Mon Jul 1 15:21:52 EDT 2013


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  aaaa6fd3b2b240666325c074502c6fb7d3ba4831 (commit)
       via  7b5bc2c6f078480a76d75f1c23b7b32537d2efa9 (commit)
      from  68f97b840aea0fd5a9924a805a9210da9d8a1735 (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 -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=aaaa6fd3b2b240666325c074502c6fb7d3ba4831
commit aaaa6fd3b2b240666325c074502c6fb7d3ba4831
Merge: 68f97b8 7b5bc2c
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Jul 1 15:21:51 2013 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Jul 1 15:21:51 2013 -0400

    Merge topic 'Fortran-explicit-types' into next
    
    7b5bc2c Fortran: Use explicit type in Fortran 90 check


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7b5bc2c6f078480a76d75f1c23b7b32537d2efa9
commit 7b5bc2c6f078480a76d75f1c23b7b32537d2efa9
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Jul 1 15:10:08 2013 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon Jul 1 15:10:08 2013 -0400

    Fortran: Use explicit type in Fortran 90 check
    
    In CMakeTestFortranCompiler we build a test program using a Fortran 90
    construct to check whether the compiler supports the language.  Some
    compilers have options to require explicit variable types.  Fix the test
    program to use an explicit variable type so it passes under such a
    configuration.
    
    Suggested-by: Neil Carlson <neil.n.carlson at gmail.com>

diff --git a/Modules/CMakeTestFortranCompiler.cmake b/Modules/CMakeTestFortranCompiler.cmake
index e263345..b9e77c5 100644
--- a/Modules/CMakeTestFortranCompiler.cmake
+++ b/Modules/CMakeTestFortranCompiler.cmake
@@ -72,7 +72,7 @@ else()
     message(STATUS "Checking whether ${CMAKE_Fortran_COMPILER} supports Fortran 90")
     file(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompilerF90.f90 "
       PROGRAM TESTFortran90
-      stop = 1 ; do while ( stop .eq. 0 ) ; end do
+      integer stop ; stop = 1 ; do while ( stop .eq. 0 ) ; end do
       END PROGRAM TESTFortran90
 ")
     try_compile(CMAKE_Fortran_COMPILER_SUPPORTS_F90 ${CMAKE_BINARY_DIR}

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

Summary of changes:
 Modules/CMakeTestFortranCompiler.cmake |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list