Difference between revisions of "FTEQCC Warnings and Errors"
From FTE
m (FTEQCC Warnings moved to FTEQCC Warnings and Errors) |
(a start maybe?) |
||
Line 1: | Line 1: | ||
+ | = Warnings = | ||
+ | |||
+ | == Parameters == | ||
+ | <b>Internal reference</b>: WARN_TOOFEWPARAMS<br /> | ||
+ | <b>ID</b>: Q105<br /> | ||
+ | <b>Message</b>: too few parameters on call to <token> <i>or</i> <token>: Too few parameters<br /> | ||
+ | |||
+ | == References == | ||
+ | <b>Internal reference</b>: WARN_NOTREFERENCED<br /> | ||
+ | <b>ID</b>: Q302<br /> | ||
+ | <b>Message</b>: <token> no references<br /> | ||
+ | |||
+ | 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. | ||
+ | |||
+ | <b>Internal reference</b>: WARN_NOTREFERENCEDCONST<br /> | ||
+ | <b>Message</b>: <token> no references<br /> | ||
+ | |||
+ | Same as WARN_NOTREFERENCED except for constants. | ||
+ | |||
+ | == Miscellaneous == | ||
+ | |||
+ | === Debug warnings === | ||
+ | |||
+ | = Errors = | ||
+ | |||
Premature table until I get this stuff into a real format...<br /> | Premature table until I get this stuff into a real format...<br /> | ||
<table> | <table> | ||
<tr><td>Internal reference</td><td>ID</td><td>Description</td></tr> | <tr><td>Internal reference</td><td>ID</td><td>Description</td></tr> | ||
− | |||
− | |||
− | |||
<tr><td>WARN_ASSIGNMENTTOCONSTANT</td><td>Q106</td><td>BLAH</td></tr> | <tr><td>WARN_ASSIGNMENTTOCONSTANT</td><td>Q106</td><td>BLAH</td></tr> | ||
<tr><td>WARN_MISSINGRETURNVALUE</td><td>Q203</td><td>BLAH</td></tr> | <tr><td>WARN_MISSINGRETURNVALUE</td><td>Q203</td><td>BLAH</td></tr> |
Latest revision as of 07:39, 4 March 2006
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 reference | ID | Description |
WARN_ASSIGNMENTTOCONSTANT | Q106 | BLAH |
WARN_MISSINGRETURNVALUE | Q203 | BLAH |
WARN_WRONGRETURNTYPE | Q204 | BLAH |
WARN_POINTLESSSTATEMENT | Q205 | BLAH |
WARN_MISSINGRETURN | Q206 | BLAH |
WARN_DUPLICATEDDEFINITION | Q207 | BLAH |
WARN_PRECOMPILERMESSAGE | Q100 | BLAH |
WARN_BADPRAGMA | Q120 | BLAH |
WARN_DUPLICATELABEL | Q111 | BLAH |
WARN_ASSIGNMENTINCONDITIONAL | Q201 | BLAH |
WARN_DEADCODE | F300 | BLAH |