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
Several function parameters named "ix" are renamed to "i" by checked-c-convert, but just in the parameter list, not in the function body. This means there's no declaration for the uses of "ix" in the function body and no use of the renamed parameter "i".
make test to build the original code. make testchecked to build with the copies produced by checked-c-convert.
convert.sh runs checked-c-convert on the original code and outputs to *checked* files. If you re-run it, also edit parson.checked.c to use parson.checked.h. convert.sh may need modifications to run in Windows.
Compiler errors can be compared with compilerErrors.txt (produced on a Ubuntu system, not sure if it will perfectly match in Windows)
The text was updated successfully, but these errors were encountered:
This issue was copied from checkedc/checkedc-clang#528
Several function parameters named "ix" are renamed to "i" by checked-c-convert, but just in the parameter list, not in the function body. This means there's no declaration for the uses of "ix" in the function body and no use of the renamed parameter "i".
Example: parson.checked.c:1542
Original code: parson.c:1542
Error Produced: use of undeclared identifier 'ix'. There is also a warning for unused parameter 'i'
To use this test case:
make test
to build the original code.make testchecked
to build with the copies produced by checked-c-convert.convert.sh
runs checked-c-convert on the original code and outputs to*checked*
files. If you re-run it, also edit parson.checked.c to use parson.checked.h. convert.sh may need modifications to run in Windows.compilerErrors.txt
(produced on a Ubuntu system, not sure if it will perfectly match in Windows)The text was updated successfully, but these errors were encountered: