From 6b30618d321c3a9521d9fcb1f01b023cbd4acae4 Mon Sep 17 00:00:00 2001 From: pauldubois Date: Mon, 10 Mar 2008 07:05:58 +0000 Subject: Fix some link errors and a few remaining compile warnings (the ones that aren't bugs) - if static const int foo=VALUE; is in header, don't need to have a definition in a .cc file. The definition goes into every .cc file with "vague linkage" - add sqlite and lua to the sln/vcproj git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3576 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/MSVC/crawl-ref.sln | 3 +++ crawl-ref/source/MSVC/crawl-ref.vcproj | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) (limited to 'crawl-ref/source/MSVC') diff --git a/crawl-ref/source/MSVC/crawl-ref.sln b/crawl-ref/source/MSVC/crawl-ref.sln index b7b5e68359..71c70c8d63 100644 --- a/crawl-ref/source/MSVC/crawl-ref.sln +++ b/crawl-ref/source/MSVC/crawl-ref.sln @@ -2,6 +2,9 @@ Microsoft Visual Studio Solution File, Format Version 9.00 # Visual Studio 2005 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "crawl-ref", "crawl-ref.vcproj", "{3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}" + ProjectSection(ProjectDependencies) = postProject + {A61349B6-4099-4688-AA1A-00D91397857D} = {A61349B6-4099-4688-AA1A-00D91397857D} + EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lua", "lua.vcproj", "{A61349B6-4099-4688-AA1A-00D91397857D}" EndProject diff --git a/crawl-ref/source/MSVC/crawl-ref.vcproj b/crawl-ref/source/MSVC/crawl-ref.vcproj index 168c25d5d1..7741989eaa 100644 --- a/crawl-ref/source/MSVC/crawl-ref.vcproj +++ b/crawl-ref/source/MSVC/crawl-ref.vcproj @@ -48,6 +48,7 @@ UsePrecompiledHeader="2" PrecompiledHeaderThrough="AppHdr.h" WarningLevel="3" + WarnAsError="true" Detect64BitPortabilityProblems="false" DebugInformationFormat="4" /> @@ -123,6 +124,7 @@ UsePrecompiledHeader="2" PrecompiledHeaderThrough="AppHdr.h" WarningLevel="3" + WarnAsError="true" Detect64BitPortabilityProblems="false" DebugInformationFormat="3" /> @@ -885,6 +887,28 @@ RelativePath="..\sqldbm.h" > + + + + + + + + -- cgit v1.2.3-54-g00ecf