1
0
Fork 0
forked from fte/fteqw

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
This commit is contained in:
Spoike 2004-09-13 03:15:46 +00:00
parent 58e95206e2
commit 00a3abfb12

View file

@ -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));