mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-12 23:44:39 +00:00
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:
parent
58e95206e2
commit
00a3abfb12
1 changed files with 6 additions and 1 deletions
|
@ -2391,10 +2391,15 @@ void QCC_SetDefaultProperties (void)
|
||||||
//play with default warnings.
|
//play with default warnings.
|
||||||
qccwarningdisabled[WARN_NOTREFERENCEDCONST] = true;
|
qccwarningdisabled[WARN_NOTREFERENCEDCONST] = true;
|
||||||
qccwarningdisabled[WARN_MACROINSTRING] = true;
|
qccwarningdisabled[WARN_MACROINSTRING] = true;
|
||||||
qccwarningdisabled[WARN_ASSIGNMENTTOCONSTANT] = true;
|
// qccwarningdisabled[WARN_ASSIGNMENTTOCONSTANT] = true;
|
||||||
qccwarningdisabled[WARN_FIXEDRETURNVALUECONFLICT] = true;
|
qccwarningdisabled[WARN_FIXEDRETURNVALUECONFLICT] = true;
|
||||||
qccwarningdisabled[WARN_EXTRAPRECACHE] = true;
|
qccwarningdisabled[WARN_EXTRAPRECACHE] = true;
|
||||||
qccwarningdisabled[WARN_DEADCODE] = 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"))
|
if (QCC_CheckParm("-nowarn") || QCC_CheckParm("-Wnone"))
|
||||||
memset(qccwarningdisabled, 1, sizeof(qccwarningdisabled));
|
memset(qccwarningdisabled, 1, sizeof(qccwarningdisabled));
|
||||||
|
|
Loading…
Reference in a new issue