FTEQCC Warnings and Errors

From FTE
Jump to: navigation, search

Warnings

Parameters

Internal reference: WARN_TOOFEWPARAMS
ID: Q105
Message: too few parameters on call to <token> or <token>: Too few parameters

References

Internal reference: WARN_NOTREFERENCED
ID: Q302
Message: <token> no references

Indicates that <token> is not referenced from any code within the variable's scope. Although unreferenced variables are normally optimized out of a compiled progs, unused variables can cause the progs size to increase when not using optimizations.

Internal reference: WARN_NOTREFERENCEDCONST
Message: <token> no references

Same as WARN_NOTREFERENCED except for constants.

Miscellaneous

Debug warnings

Errors

Premature table until I get this stuff into a real format...

Internal referenceIDDescription
WARN_ASSIGNMENTTOCONSTANTQ106BLAH
WARN_MISSINGRETURNVALUEQ203BLAH
WARN_WRONGRETURNTYPEQ204BLAH
WARN_POINTLESSSTATEMENTQ205BLAH
WARN_MISSINGRETURNQ206BLAH
WARN_DUPLICATEDDEFINITIONQ207BLAH
WARN_PRECOMPILERMESSAGEQ100BLAH
WARN_BADPRAGMAQ120BLAH
WARN_DUPLICATELABELQ111BLAH
WARN_ASSIGNMENTINCONDITIONALQ201BLAH
WARN_DEADCODEF300BLAH