This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C2000 compiler warning : W999 size > 64 words, allocation will span page boundary

Hello

We have just updated to the latest C2000 tools and everything looks OK except we now get several occurances of this warning during compilation :-

"C:\TEMP\0773210", WARNING! at line 221: [W9999] Size is > 64 words, allocation

                                                 will span page boundary

      _DmaRegs:   .usect      "DmaRegsFile",224,1,1

 

We do not recall this warning being there previously., is it something we have to worry about?

What change to the code are required to remove this warning ?

Regards

Bob

 

  • The warning is probably being emitted because you have included the --issue_remarks compiler option.

    The warning was present in previous C2000 compiler versions but would only be emitted with the --asm_remarks assembler option in those versions. Version 16.6.0.STS replaced --asm_remarks with the more generic --issue_remarks.

    To remove the warnings, add --display_error_number to your compiler options.  Then build the same as before.  The same diagnostics are issued, but now an ID number is present.  Record that ID number.  Then add the option --diag_suppress=ID to your compiler options.  That causes the diagnostic to not be issued.


    Thanks,

    Dunni

  • Bob,

    Please ignore the last paragraph of my previous message. There is not a way to suppress the warning. It is being emitted by the assembler and we don't have an option for suppressing specific assembler warnings. If you really want to remove the warning, then you will have to remove --issue_remarks from your compiler options.

    Thanks,
    Dunni