diff options
author | Dwight <dwight@10gen.com> | 2011-03-28 16:10:30 -0400 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2011-03-28 16:10:43 -0400 |
commit | b9e79c918ed66a961ad67a05a07beb7a707d7062 (patch) | |
tree | 362ce9f92f605efbaf57a9f23a36b127b3e043f5 /client | |
parent | a027e5fa543be78d8125816dc7ec41a71f39953d (diff) | |
download | mongo-b9e79c918ed66a961ad67a05a07beb7a707d7062.tar.gz |
vstudio
Diffstat (limited to 'client')
-rw-r--r-- | client/distlock.cpp | 2 | ||||
-rwxr-xr-x | client/examples/simple_client_demo.vcxproj | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/client/distlock.cpp b/client/distlock.cpp index 1d7a964177d..356fcdf1d7f 100644 --- a/client/distlock.cpp +++ b/client/distlock.cpp @@ -769,7 +769,7 @@ namespace mongo { conn.done(); return; } - catch( UpdateNotTheSame& e ) { + catch( UpdateNotTheSame& ) { log( logLvl - 1 ) << "distributed lock '" << lockName << "' unlocked (messily). " << endl; conn.done(); break; diff --git a/client/examples/simple_client_demo.vcxproj b/client/examples/simple_client_demo.vcxproj index 55dcfbd1248..5710cf4c3a8 100755 --- a/client/examples/simple_client_demo.vcxproj +++ b/client/examples/simple_client_demo.vcxproj @@ -45,7 +45,7 @@ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>..\..;..\..\pcre-7.4;$(IncludePath)</IncludePath>
- <LibraryPath>c:\boost\;\boost\;$(LibraryPath)</LibraryPath>
+ <LibraryPath>\boost\lib\vs2010_32;$(LibraryPath)</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
@@ -70,7 +70,9 @@ <Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <PreprocessorDefinitions> _CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
+ <AdditionalIncludeDirectories>c:\boost;\boost</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
|