From 00a3abfb123c24e893f605a9cb1f8df22131731d Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 13 Sep 2004 03:15:46 +0000 Subject: [PATCH] Made some more warnings require -Wall to appear. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@200 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/qclib/qccmain.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/engine/qclib/qccmain.c b/engine/qclib/qccmain.c index 7d64141ba..fef38e2e1 100644 --- a/engine/qclib/qccmain.c +++ b/engine/qclib/qccmain.c @@ -2391,10 +2391,15 @@ void QCC_SetDefaultProperties (void) //play with default warnings. qccwarningdisabled[WARN_NOTREFERENCEDCONST] = true; qccwarningdisabled[WARN_MACROINSTRING] = true; - qccwarningdisabled[WARN_ASSIGNMENTTOCONSTANT] = true; +// qccwarningdisabled[WARN_ASSIGNMENTTOCONSTANT] = true; qccwarningdisabled[WARN_FIXEDRETURNVALUECONFLICT] = true; qccwarningdisabled[WARN_EXTRAPRECACHE] = true; qccwarningdisabled[WARN_DEADCODE] = true; + qccwarningdisabled[WARN_INEFFICIENTPLUSPLUS] = true; + qccwarningdisabled[WARN_FTE_SPECIFIC] = true; + qccwarningdisabled[WARN_EXTENSION_USED] = true; + + if (QCC_CheckParm("-nowarn") || QCC_CheckParm("-Wnone")) memset(qccwarningdisabled, 1, sizeof(qccwarningdisabled));