aboutsummaryrefslogtreecommitdiff
path: root/common/str.cpp
diff options
context:
space:
mode:
authorMatt Hargett2002-09-22 03:53:53 +0000
committerMatt Hargett2002-09-22 03:53:53 +0000
commit8390b0cc53b2025108eee9a8ea9ee7f411edd55e (patch)
tree5ca2452114d38060824e0edee01ce7955132ad37 /common/str.cpp
parentfbe9c544de19cc4a7f28e2dbf1fdebaf351b83ee (diff)
downloadscummvm-rg350-8390b0cc53b2025108eee9a8ea9ee7f411edd55e.tar.gz
scummvm-rg350-8390b0cc53b2025108eee9a8ea9ee7f411edd55e.tar.bz2
scummvm-rg350-8390b0cc53b2025108eee9a8ea9ee7f411edd55e.zip
2002-09-21 Matt Hargett <matt@use.net>
* scumm.dsp, scummvm.dsp, simon.dsp: Turn on warning as errors. Generate PDBs on all builds. * gameDetector.cpp, newgui.cpp, widget.cpp, actor.cpp, dialogs.cpp, resource.cpp, saveload.cpp, scumm_renderer.cpp: Fix warnings where possible. One pragma added to eliminate warning of unknown pragmas. * string.cpp: If unknown escape sequence, print warning. svn-id: r4998
Diffstat (limited to 'common/str.cpp')
-rw-r--r--common/str.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/str.cpp b/common/str.cpp
index 85ceb965d4..9390f6ff47 100644
--- a/common/str.cpp
+++ b/common/str.cpp
@@ -22,6 +22,10 @@
#include "str.h"
#include "util.h"
+#ifdef _MSC_VER
+# pragma warning( disable : 4068 ) // unknown pragmas
+#endif
+
namespace ScummVM {
String::String(const char *str)