Skip to content

Commit

Permalink
Silence warnings in MSVC x64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Jan 8, 2024
1 parent 1428ef1 commit 95ccf71
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deps/custom_build/cld2.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<MinimalRebuild>false</MinimalRebuild>
<AdditionalIncludeDirectories>..\cld2\public</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<DisableSpecificWarnings>4838;5208</DisableSpecificWarnings>
<DisableSpecificWarnings>4477;4838;5208</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand All @@ -74,7 +74,7 @@
<MinimalRebuild>false</MinimalRebuild>
<AdditionalIncludeDirectories>..\cld2\public</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<DisableSpecificWarnings>4838;5208</DisableSpecificWarnings>
<DisableSpecificWarnings>4477;4838;5208</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand Down
4 changes: 2 additions & 2 deletions deps/custom_build/mctrl.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<MinimalRebuild>false</MinimalRebuild>
<AdditionalIncludeDirectories>config\mctrl;..\mctrl\include;..\mctrl\windrawlib\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<DisableSpecificWarnings>4244</DisableSpecificWarnings>
<DisableSpecificWarnings>4244;4267</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<AdditionalIncludeDirectories>config\mctrl;..\mctrl\include;..\mctrl\windrawlib\include</AdditionalIncludeDirectories>
Expand All @@ -84,7 +84,7 @@
<MinimalRebuild>false</MinimalRebuild>
<AdditionalIncludeDirectories>config\mctrl;..\mctrl\include;..\mctrl\windrawlib\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<DisableSpecificWarnings>4244</DisableSpecificWarnings>
<DisableSpecificWarnings>4244;4267</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<AdditionalIncludeDirectories>config\mctrl;..\mctrl\include;..\mctrl\windrawlib\include</AdditionalIncludeDirectories>
Expand Down
2 changes: 2 additions & 0 deletions deps/lucene/LucenePlusPlus.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>LuceneInc.h</PrecompiledHeaderFile>
<DisableSpecificWarnings>4244;4267</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand All @@ -77,6 +78,7 @@
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>LuceneInc.h</PrecompiledHeaderFile>
<DisableSpecificWarnings>4244;4267</DisableSpecificWarnings>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand Down
2 changes: 1 addition & 1 deletion src/manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ ManagerFrame::~ManagerFrame()
if (sel != -1)
{
cfg->Write("manager_last_selected",
(long)m_listPrj->GetClientData(sel));
(long)(wxIntPtr)m_listPrj->GetClientData(sel));
}

ms_instance = NULL;
Expand Down

0 comments on commit 95ccf71

Please sign in to comment.