Whenever I run the SKILL Lint on my code, it gives me a warning whenever I use the hiCreateReportField() function to create a report field:
WARN (hiCreateReportField): The meaning of the "value" property for hiCreateReportField is changing in release IC 5.0.0 (01.01). A new property named "choices" has been added in release 4.4.6 (00.01), and any reference to "value" in 4.4.6 MUST be changed to refer to "choices" in order to remain compatible going forward.
How can I prevent this warning from showing up?
Here's a sample of how I'm using the report field:
report = hiCreateReportField( ?name 'report ?title "File List" ?headers '( ( "Filename" 300 'left 'string t ) ( "Size" 120 'left 'int t ) ( "Type" 120 'left 'string t ) ) ?choices fileList ?sort '(1 nil) ?selectMode 'extended ?callback 'myReportCB ?enableDeselectCB t )
You can turn off the message, by doing:
but it still lowers your lint score even with the message turned off. You can also turn it off via the Custom checkbox on the Lint form.
This message probably should be an INFO rather than a WARNING, or at the very least the rule should be defined to have the version information coded, so that it can be filtered by setting the Code Version on the lint form. So you should contact Cadence Customer Support and ask for this to be changed (best to come from a customer request).