with testsuite/tickets/399_spcDcl.prl the IMC complains:
399_spcDcl.prl:6:5: warning: FIXED(31) 'm' is never used by SPC
399_spcDcl.prl:9:1: warning: PROC ( FIXED(31), FIXED(31) ) 'p' is never used by SPC
399_spcDcl.prl:14:1: warning: PROC ( FIXED(31), FIXED(31) ) 'q' is never used by SPC
399_spcDcl.prl:6:5: warning: 'm' in module 'm' is never used
399_spcDcl.prl:9:1: warning: 'p' in module 'm' is never used
399_spcDcl.prl:14:1: warning: 'q' in module 'm' is never used
the seconds set of warnings seems to be obsolete
BTW:
the IMC should check if there are any TASKs defined and at least one task of type MAIN
Anonymous
the compiler must export the task SPC/DCL for the check of existing MAIN tasks
there is no source location if we have no main-task.
Thus the IMC should exit with the following message
error: no MAIN task definedTh verifyArrotations-tool should become extended with error messages without source location
seams to work --> close ticket
seams to work --> close ticket