1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-26 19:54:14 +01:00

added newline to error output, added -Wno-uninitialized to makefile

--HG--
branch : sourcemm-1.4.3
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/branches/sourcemm-1.4.3%40593
This commit is contained in:
David Anderson 2007-12-14 00:12:31 +00:00
parent b585c5806a
commit 8e6f8ed29b
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#(C)2004-2007 SourceMM Development Team #(C)2004-2007 SourceMM Development Team
# Makefile written by David "BAILOPAN" Anderson # Makefile written by David "BAILOPAN" Anderson
HL2SDK = ../../hl2sdk HL2SDK = ../../../hl2sdk
SMM_ROOT = .. SMM_ROOT = ..
SRCDS = ~/srcds SRCDS = ~/srcds
@ -34,7 +34,7 @@ endif
GCC_VERSION := $(shell $(CPP) -dumpversion >&1 | cut -b1) GCC_VERSION := $(shell $(CPP) -dumpversion >&1 | cut -b1)
CFLAGS += -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -Wall -Wno-non-virtual-dtor -Werror -fPIC -fno-exceptions -fno-rtti -msse CFLAGS += -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -Wall -Wno-non-virtual-dtor -Werror -fPIC -fno-exceptions -fno-rtti -msse -Wno-uninitialized
ifeq "$(GCC_VERSION)" "4" ifeq "$(GCC_VERSION)" "4"
CFLAGS += $(GCC4_FLAGS) CFLAGS += $(GCC4_FLAGS)

View File

@ -110,7 +110,7 @@ void VSPListener::Unload()
{ {
if (g_bIsTryingToUnload) if (g_bIsTryingToUnload)
{ {
Error("Metamod:Source cannot be unloaded from VSP mode. Use \"meta unload\" to unload specific plugins."); Error("Metamod:Source cannot be unloaded from VSP mode. Use \"meta unload\" to unload specific plugins.\n");
return; return;
} }
if (IsRootLoadMethod()) if (IsRootLoadMethod())