[Cmake-commits] CMake branch, next, updated. v3.5.1-698-g9f8eac8

Brad King brad.king at kitware.com
Tue Mar 29 14:30:25 EDT 2016


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  9f8eac83accc640e3c88bcf36265e1028aa48b5d (commit)
       via  dc333a7115a43e4e97a2ff3ba269a39526598f88 (commit)
       via  735c41ddb021a5ca0e8957591447acdb28a0f41b (commit)
      from  c971f751b482213ba817c4dcbffb5b2d96021120 (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=9f8eac83accc640e3c88bcf36265e1028aa48b5d
commit 9f8eac83accc640e3c88bcf36265e1028aa48b5d
Merge: c971f75 dc333a7
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Mar 29 14:30:24 2016 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Mar 29 14:30:24 2016 -0400

    Merge topic 'update-kwsys' into next
    
    dc333a71 Merge branch 'upstream-KWSys' into update-kwsys
    735c41dd KWSys 2016-03-29 (b51abb30)


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dc333a7115a43e4e97a2ff3ba269a39526598f88
commit dc333a7115a43e4e97a2ff3ba269a39526598f88
Merge: 90f24f0 735c41d
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Mar 29 14:29:42 2016 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Mar 29 14:29:42 2016 -0400

    Merge branch 'upstream-KWSys' into update-kwsys
    
    * upstream-KWSys:
      KWSys 2016-03-29 (b51abb30)


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=735c41ddb021a5ca0e8957591447acdb28a0f41b
commit 735c41ddb021a5ca0e8957591447acdb28a0f41b
Author:     KWSys Upstream <kwrobot at kitware.com>
AuthorDate: Tue Mar 29 14:28:37 2016 -0400
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Tue Mar 29 14:29:42 2016 -0400

    KWSys 2016-03-29 (b51abb30)
    
    Code extracted from:
    
        http://public.kitware.com/KWSys.git
    
    at commit b51abb307d3b40957cc508aa54d449d9b41f5537 (master).
    
    Upstream Shortlog
    -----------------
    
    Ben Boeckel (1):
          069a6b37 windows: check for _WIN32 rather than WIN32
    
    Felix Geyer (1):
          b51abb30 SystemInformation: Fix spelling typos in comments

diff --git a/RegularExpression.cxx b/RegularExpression.cxx
index 598e7ca..22593b4 100644
--- a/RegularExpression.cxx
+++ b/RegularExpression.cxx
@@ -376,7 +376,7 @@ bool RegularExpression::compile (const char* exp) {
     }
 
     // Allocate space.
-//#ifndef WIN32
+//#ifndef _WIN32
     if (this->program != 0) delete [] this->program;
 //#endif
     this->program = new char[regsize];
diff --git a/RegularExpression.hxx.in b/RegularExpression.hxx.in
index d0235d8..0bb700f 100644
--- a/RegularExpression.hxx.in
+++ b/RegularExpression.hxx.in
@@ -333,7 +333,7 @@ inline RegularExpression::RegularExpression (const std::string& s)
  */
 inline RegularExpression::~RegularExpression () 
 {
-//#ifndef WIN32
+//#ifndef _WIN32
   delete [] this->program;
 //#endif
 }
@@ -396,7 +396,7 @@ inline bool RegularExpression::is_valid () const
 
 inline void RegularExpression::set_invalid () 
 {
-//#ifndef WIN32
+//#ifndef _WIN32
   delete [] this->program;
 //#endif
   this->program = 0;
diff --git a/SystemInformation.cxx b/SystemInformation.cxx
index 512d5fb..81fb2f9 100644
--- a/SystemInformation.cxx
+++ b/SystemInformation.cxx
@@ -1583,7 +1583,7 @@ SystemInformationImplementation::~SystemInformationImplementation()
 
 void SystemInformationImplementation::RunCPUCheck()
 {
-#ifdef WIN32
+#ifdef _WIN32
   // Check to see if this processor supports CPUID.
   bool supportsCPUID = DoesCPUSupportCPUID();
 
@@ -2056,7 +2056,7 @@ bool SystemInformationImplementation::DoesCPUSupportFeature(long int dwFeature)
 
 void SystemInformationImplementation::Delay(unsigned int uiMS)
 {
-#ifdef WIN32
+#ifdef _WIN32
   LARGE_INTEGER Frequency, StartCounter, EndCounter;
   __int64 x;
 
@@ -2339,7 +2339,7 @@ bool SystemInformationImplementation::RetrieveClassicalCPUCacheDetails()
         case 13: TLBCacheUnit = ((TLBCacheData[3] & 0x00FF0000) >> 16); break;
         case 14: TLBCacheUnit = ((TLBCacheData[3] & 0xFF000000) >> 24); break;
 
-        // Default case - an error has occured.
+        // Default case - an error has occurred.
         default: return false;
         }
 
@@ -2401,7 +2401,7 @@ bool SystemInformationImplementation::RetrieveClassicalCPUCacheDetails()
         case 0x96: STORE_TLBCACHE_INFO (TLBCode, 262144); break;  // <-- FIXME: IA-64 Only
         case 0x9b: STORE_TLBCACHE_INFO (TLBCode, 262144); break;  // <-- FIXME: IA-64 Only
 
-        // Default case - an error has occured.
+        // Default case - an error has occurred.
         default: return false;
         }
       }
diff --git a/testEncoding.cxx b/testEncoding.cxx
index 842b17d..80ec040 100644
--- a/testEncoding.cxx
+++ b/testEncoding.cxx
@@ -120,7 +120,7 @@ static int testRobustEncoding()
     ret++;
     }
 
-#ifdef WIN32
+#ifdef _WIN32
   // 16 bit wchar_t - we make an invalid surrogate pair
   wchar_t cwstr[] = {0xD801, 0xDA00, 0};
   // this conversion could fail

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

Summary of changes:
 Source/kwsys/RegularExpression.cxx    |    2 +-
 Source/kwsys/RegularExpression.hxx.in |    4 ++--
 Source/kwsys/SystemInformation.cxx    |    8 ++++----
 Source/kwsys/testEncoding.cxx         |    2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list