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.

how do i clear the warnings

Other Parts Discussed in Thread: CCSTUDIO

 

 

------------------------------  hab1.pjt - Debug  ------------------------------
[main_dma1.c] "D:\CCStudio_v3.1\C5500\cgtools\bin\cl55" -g -fr"D:/Projects/hab1/Debug" -i"d:/CCStudio_v3.1" -d"CHIP_5509A" -@"../../../../../../Projects/hab1/Debug.lkf" "main_dma1.c"
"main_dma1.c", line 59: warning: nonstandard conversion between pointer to function and pointer to data
"main_dma1.c", line 61: warning: nonstandard conversion between pointer to function and pointer to data

[Linking...] "D:\CCStudio_v3.1\C5500\cgtools\bin\cl55" -@"Debug.lkf"
<Linking>
>> warning: creating .stack section with default size of 500 words.
   Use
            -stack option to change the default size.
>> warning: creating .sysstack section with default size of 500 words.
   Use
            -sysstack option to change the default size.
>> warning: creating .sysmem section with default size of 1000 words.
   Use
            -heap option to change the default size.

Build Complete,
  0 Errors, 5 Warnings, 0 Remarks.

  • The warnings about the .stack and .sysmem sections are just saying that the linker is creating those sections with default sizes since a size has not been specified in the project build options. To make the warning go away, go to project Build Options->Linker tab, and specify the stack, system stack and heap sizes under the Basic Category.

    For the compiler warning, you can find the diagnostic id for the warning by going into Build Options->Compiler tab, Diagnostics Category, and enable "Display Diagnostic Identifiers". Then when you get the diagnostic ID for the warning, you can suppress it by adding the number to the 'Suppress Diagnostic (-pds)" option.

    Please take a look at the wiki page: http://processors.wiki.ti.com/index.php/Before_asking_for_CGT_support
    It a lot of useful information in addition to a link to this presentation: http://processors.wiki.ti.com/index.php/CGT_Tips_%26_Tricks_for_Beginners 
    The presentation discusses diagnostics in addition to many other commonly encountered code gen tools topics.