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.

#pragmaLOCATION in ti-cgt-msp430_4.4.1

Using the following declaration:

#pragma NOINIT(X_Scale)
#pragma LOCATION(X_Scale,0x10c0) // locate in Flash Segment "A"

Generates the following linker warning:

warning #10247-D: creating output section ".TI.bound:X_Scale" without a SECTIONS specification

Is there a way to avoid this warning, as I prefer that my builds have no warnings.

Regards,

Corky

  • Thank you for informing us about this issue.  I can reproduce that diagnostic.  I filed SDSCM00051312 in the SDOWP system to have this addressed.  You can follow it with the SDOWP link below in my signature.

    Corky Benson said:
    Is there a way to avoid this warning, as I prefer that my builds have no warnings.

    There is no good answer.  You could consider not using the linker option --warn_sections (-w for short).  However, that step disables all linker warnings, and not just this one.  

    Thanks and regards,

    -George