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.

Compiler/TMS320F28335: remark #24038-D: --buffer_diagnostics is deprecated

Part Number: TMS320F28335


Tool/software: TI C/C++ Compiler

I am building a clean and relatively simple C2000 project with the cgtools v16.9.1.LTS.  I am getting the following remark:

remark #24038-D: --buffer_diagnostics is deprecated and will be removed in a subsequent release. The default behavior is to line buffer diagnostics.

Thing is, I never set a --buffer_diagnostics option, and I do not see this option documented in the compiler guide, ASM tools guide, or compiler release notes.

So the question is, why am I getting this remark, and what is going to happen when the option is removed (in other words, why is the project apparently issuing this option to the linker?).

Thanks and regards,

David

  • The background on --buffer_diagnostics is described in this forum thread.  Are you saying your project never uses this option, yet you get this diagnostic?

    Thanks and regards,

    -George

  • George Mock said:

    The background on --buffer_diagnostics is described in this forum thread.  Are you saying your project never uses this option, yet you get this diagnostic?

    Correct.  I cannot even find where to set this option in the CCSv7 project options.

    Here is the linker command line that is giving the remark:

    'Invoking: C2000 Linker'

    "C:/TI/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --define=CPU1 --define=EXAMPLE_RAM --diag_warning=225 --diag_wrap=off --display_error_number --issue_remarks -k -z -m"F28377S_DualInterleavedADCs_RAM.map" --stack_size=0x300 --warn_sections -i"C:/TI/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/lib" -i"C:/TI/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="F28377S_DualInterleavedADCs_linkInfo.xml" --rom_model -o "F28377S_DualInterleavedADCs_RAM.out" "./src/Adc.obj" "./src/CodeStartBranch.obj" "./src/DefaultIsr_nonBIOS.obj" "./src/DelayUs.obj" "./src/ECap.obj" "./src/EPwm.obj" "./src/F2837xS_Adc.obj" "./src/F2837xS_GlobalVariableDefs.obj" "./src/Gpio.obj" "./src/Main_nonBIOS.obj" "./src/PieCtrl_nonBIOS.obj" "./src/PieVect_nonBIOS.obj" "./src/SetDBGIER.obj" "./src/SysCtrl.obj" "./src/Watchdog.obj" "../F2837xS_headers/cmd/F2837xS_Headers_nonBIOS.cmd" "../cmd/F28377S_nonBIOS_ram.cmd" -llibc.a

    <Linking>

    remark #24038-D: --buffer_diagnostics is deprecated and will be removed in a subsequent release. The default behavior is to line buffer diagnostics.

    I do not see the option on the command line.

    Regards,

    David

  • George,

    I just created a new project in CCSv7 using C2000 cgtools v16.9.1.LTS.  I modified the project option to issue remarks, but no other changes.  The build throws the offending remark:

    **** Build of configuration Debug for project test ****

    "C:\\TI\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O

    'Building file: ../main.c'

    'Invoking: C2000 Compiler'

    "C:/TI/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/TI/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" -g --diag_warning=225 --diag_wrap=off --display_error_number --issue_remarks --preproc_with_compile --preproc_dependency="main.d" "../main.c"

    'Finished building: ../main.c'

    ' '

    'Building target: test.out'

    'Invoking: C2000 Linker'

    "C:/TI/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 -g --diag_warning=225 --diag_wrap=off --display_error_number --issue_remarks -z -m"test.map" --stack_size=0x300 --warn_sections -i"C:/TI/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/lib" -i"C:/TI/ccsv7/tools/compiler/ti-cgt-c2000_16.9.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="test_linkInfo.xml" --rom_model -o "test.out" "./main.obj" "../28069_RAM_lnk.cmd" -llibc.a

    <Linking>

    remark #24038-D: --buffer_diagnostics is deprecated and will be removed in a subsequent release. The default behavior is to line buffer diagnostics.

    remark #10205-D: automatic RTS selection: linking in "rts2800_fpu32.lib" in place of index library "libc.a"

    'Finished building target: test.out'

    ---------------

    It looks like we are erroneously issuing this remark in the cgtools.

    Regards,

    David

  • Thank you for the additional information.  I am able to reproduce the problem.  I filed CODEGEN-2060 in the SDOWP system to have this addressed.  You are welcome to follow it with the SDOWP link below in my signature.

    Thanks and regards,

    -George