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  0a200566d20321ba642f3347e85affb27cc559ce (commit)
       via  1f3be450486c9f3eb140a58fb9bf0f5ef4c858ab (commit)
      from  cfd6e907c41882b87b18dd2822d802229e3926b3 (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=0a200566d20321ba642f3347e85affb27cc559ce
commit 0a200566d20321ba642f3347e85affb27cc559ce
Merge: cfd6e90 1f3be45
Author:     Stephen Kelly <steve...@gmail.com>
AuthorDate: Thu Aug 11 04:40:47 2011 -0400
Commit:     CMake Topic Stage <kwro...@kitware.com>
CommitDate: Thu Aug 11 04:40:47 2011 -0400

    Merge topic 'generate_export_header' into next
    
    1f3be45 Make sure the hidden visibility variables never get set on MINGW.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1f3be450486c9f3eb140a58fb9bf0f5ef4c858ab
commit 1f3be450486c9f3eb140a58fb9bf0f5ef4c858ab
Author:     Stephen Kelly <steve...@gmail.com>
AuthorDate: Thu Aug 11 10:39:51 2011 +0200
Commit:     Stephen Kelly <steve...@gmail.com>
CommitDate: Thu Aug 11 10:39:51 2011 +0200

    Make sure the hidden visibility variables never get set on MINGW.

diff --git a/Modules/GenerateExportHeader.cmake 
b/Modules/GenerateExportHeader.cmake
index 0b93941..322439b 100644
--- a/Modules/GenerateExportHeader.cmake
+++ b/Modules/GenerateExportHeader.cmake
@@ -132,7 +132,7 @@ macro(_test_compiler_hidden_visibility)
     endif()
   endif()
 
-  if (NOT GCC_TOO_OLD)
+  if (NOT GCC_TOO_OLD AND NOT MINGW)
     check_cxx_compiler_flag(-fvisibility=hidden COMPILER_HAS_HIDDEN_VISIBILITY)
     check_cxx_compiler_flag(-fvisibility-inlines-hidden 
COMPILER_HAS_HIDDEN_INLINE_VISIBILITY)
     option(USE_COMPILER_HIDDEN_VISIBILITY "Use HIDDEN visibility support if 
available." ON)
@@ -252,7 +252,7 @@ function(add_compiler_export_flags)
 
   _test_compiler_hidden_visibility()
 
-  if(NOT (USE_COMPILER_HIDDEN_VISIBILITY AND COMPILER_HAS_HIDDEN_VISIBILITY) 
OR MINGW)
+  if(NOT (USE_COMPILER_HIDDEN_VISIBILITY AND COMPILER_HAS_HIDDEN_VISIBILITY))
     message(WARNING "Compiler doesn't have hidden visibility")
     return()
   endif()

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

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


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits

Reply via email to