You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when there is a unused variable and tag mismatch in a file which is included in multiple areas
while I didn't use LABEL::Data yet or even that iterator labels
in main.pwn: #include "./structure/main.inc"
in main.inc: #include "helpers/labels.inc"
in labels.inc:
structure/main.inc(26740) : warning 213: tag mismatch: expected tags "T_WEAPON", "Float", or none ("_"); but found "LabelData"
structure/main.inc(26741) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
structure/main.inc(26741) : warning 213: tag mismatch: expected tag "LabelData", but found none ("_")
structure/main.inc(26743) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
structure/main.inc(26744) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
structure/main.inc(26748) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
structure/main.inc(26750) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
structure/main.inc(26753) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
structure/main.inc(26754) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
structure/main.inc(26755) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
structure/main.inc(26758) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
structure/main.inc(26759) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
structure/main.inc(26760) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
structure/main.inc(26762) : warning 213: tag mismatch: expected tag none ("_"), but found "LabelData"
main.pwn(48) : warning 203: symbol is never used: "Labels@YSII_Ag"
main.pwn(48) : warning 203: symbol is never used: "Labels@YSII_Cg"
main.pwn(47) : warning 203: symbol is never used: "lbl_Data"
Issue description:
when there is a unused variable and tag mismatch in a file which is included in multiple areas
while I didn't use LABEL::Data yet or even that iterator labels
in main.pwn: #include "./structure/main.inc"
in main.inc: #include "helpers/labels.inc"
in labels.inc:
it reports
which is wrong filenames and line numbers...
is similar a little to Compiler output shows incorrect lines/files for unused symbols warning #305 and Unused var warning wrong file name #619
Workspace Information:
The text was updated successfully, but these errors were encountered: