diff options
author | Brad King <brad.king@kitware.com> | 2015-03-20 13:47:48 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-03-20 13:47:48 (GMT) |
commit | d4d56f636b653c1b5d169be8c476b2f872bc6558 (patch) | |
tree | 0784d471363aeaaecaf7b78bc99b189626e3c7dd | |
parent | c3f416726bee2175804b3004641eac6091df796d (diff) | |
parent | 0e8325db66c3be268321aa7b274fbcd9109174b3 (diff) | |
download | CMake-d4d56f636b653c1b5d169be8c476b2f872bc6558.zip CMake-d4d56f636b653c1b5d169be8c476b2f872bc6558.tar.gz CMake-d4d56f636b653c1b5d169be8c476b2f872bc6558.tar.bz2 |
Merge topic 'update-kwsys'
0e8325db Merge branch 'upstream-kwsys' into update-kwsys
bc67dbed KWSys 2015-03-18 (9367a33b)
-rw-r--r-- | Source/kwsys/SystemInformation.cxx | 8 | ||||
-rw-r--r-- | Source/kwsys/testHashSTL.cxx | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Source/kwsys/SystemInformation.cxx b/Source/kwsys/SystemInformation.cxx index 9c7ceee..b0434f4 100644 --- a/Source/kwsys/SystemInformation.cxx +++ b/Source/kwsys/SystemInformation.cxx @@ -1234,6 +1234,7 @@ void StacktraceSignalHandler( case ILL_ILLTRP: oss << "illegal trap"; + break; case ILL_PRVOPC: oss << "privileged opcode"; @@ -1823,6 +1824,7 @@ const char * SystemInformationImplementation::GetVendorID() return "Motorola"; case HP: return "Hewlett-Packard"; + case UnknownManufacturer: default: return "Unknown Manufacturer"; } @@ -3064,6 +3066,12 @@ bool SystemInformationImplementation::RetrieveClassicalCPUIdentity() case NSC: this->ChipID.ProcessorName = "Cx486SLC \\ DLC \\ Cx486S A-Step"; break; + + case Sun: + case IBM: + case Motorola: + case HP: + case UnknownManufacturer: default: this->ChipID.ProcessorName = "Unknown family"; // We cannot identify the processor. return false; diff --git a/Source/kwsys/testHashSTL.cxx b/Source/kwsys/testHashSTL.cxx index b861a5b..ac5cf74 100644 --- a/Source/kwsys/testHashSTL.cxx +++ b/Source/kwsys/testHashSTL.cxx @@ -34,7 +34,7 @@ template class kwsys::hash_map<const char*, int>; template class kwsys::hash_set<int>; -bool test_hash_map() +static bool test_hash_map() { typedef kwsys::hash_map<const char*, int> mtype; mtype m; @@ -51,7 +51,7 @@ bool test_hash_map() return sum == 3; } -bool test_hash_set() +static bool test_hash_set() { typedef kwsys::hash_set<int> stype; stype s; |