Difference between revisions of "FTEQCC Warnings and Errors"

From FTE
Jump to: navigation, search
 
(a start maybe?)
 
(One intermediate revision by the same user not shown)
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_NOTREFERENCED</td><td>Q302</td><td>BLAH</td></tr>
 
<tr><td>WARN_TOOFEWPARAMS</td><td>Q105</td><td>BLAH</td></tr>
 
<tr><td>WARN_TOOMANYPARAMS</td><td>Q101</td><td>BLAH</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 referenceIDDescription
WARN_ASSIGNMENTTOCONSTANTQ106BLAH
WARN_MISSINGRETURNVALUEQ203BLAH
WARN_WRONGRETURNTYPEQ204BLAH
WARN_POINTLESSSTATEMENTQ205BLAH
WARN_MISSINGRETURNQ206BLAH
WARN_DUPLICATEDDEFINITIONQ207BLAH
WARN_PRECOMPILERMESSAGEQ100BLAH
WARN_BADPRAGMAQ120BLAH
WARN_DUPLICATELABELQ111BLAH
WARN_ASSIGNMENTINCONDITIONALQ201BLAH
WARN_DEADCODEF300BLAH