summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-01 15:02:34 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-10-01 15:02:34 (GMT)
commit5303c187b1f741afe076aa3eaaceade086c22a53 (patch)
tree26eb2823e92b0e0dcafdf67f0cb4bc49574cc472
parentab99010a34fe88a81b6560f53ee5f18af6e33d8b (diff)
parentf90acf522b1a03af9b5a7bea1d3f50285504fce8 (diff)
downloadCMake-5303c187b1f741afe076aa3eaaceade086c22a53.zip
CMake-5303c187b1f741afe076aa3eaaceade086c22a53.tar.gz
CMake-5303c187b1f741afe076aa3eaaceade086c22a53.tar.bz2
Merge topic 'fix-warnings'
f90acf52 cmVisualStudio10TargetGenerator: Fix unsigned integer constant type e67e0155 cmMakefile: Avoid name conflict with Solaris global typedef
-rw-r--r--Source/cmMakefile.cxx4
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index c70756a..077470d 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3218,7 +3218,7 @@ void cmMakefile::AddDefaultDefinitions()
//----------------------------------------------------------------------------
std::string
cmMakefile::GetConfigurations(std::vector<std::string>& configs,
- bool single) const
+ bool singleConfig) const
{
if(this->GetGlobalGenerator()->IsMultiConfig())
{
@@ -3232,7 +3232,7 @@ cmMakefile::GetConfigurations(std::vector<std::string>& configs,
else
{
const std::string& buildType = this->GetSafeDefinition("CMAKE_BUILD_TYPE");
- if(single && !buildType.empty())
+ if(singleConfig && !buildType.empty())
{
configs.push_back(buildType);
}
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 6c71313..fcd8f2a 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -3475,7 +3475,7 @@ bool cmVisualStudio10TargetGenerator::ForceOld(const std::string& source) const
return false;
}
- FILETIME const ftime_20010101 = { 3365781504, 29389701 };
+ FILETIME const ftime_20010101 = { 3365781504u, 29389701u };
if (!SetFileTime(h, &ftime_20010101, &ftime_20010101, &ftime_20010101))
{
CloseHandle(h);