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.

Version 6.2 tons of warnings:

It is our policy to take all the warnings seriously, how do I resolve these library issues?

|| iwt_os/dispatcher/modem.obj" "./miwt_os/dispatcher/sm_names.obj" "./miwt_os/dispatcher/state_machine.obj" "./miwt_os/dispatcher/task.obj" "./miwt_os/dispatcher/tstamp.obj" "./miwt_os/log/log.obj" "./miwt_os/sensor/sampling_sensor.obj" "./miwt_os/sensor/sensor_alarms.obj" "./miwt_os/sensor/sensor_sm.obj" "./miwt_os/sensor/transient_sensor.obj" "./miwt_os/serial/TI_aes_128.obj" "./miwt_os/serial/base64.obj" "./otp/BSL430_Low_Level_Init.obj" "./otp/cBSL_hw_layer.obj" "./otp/cBSL_main.obj" "./otp/cBSL_serial.obj" "./src/debug.obj" "./src/fw_flash.obj" "./src/hw_abstraction.obj" "./src/hw_layer_ISRs.obj" "./src/init.obj" "./src/isr_clock.obj" "./src/isr_uart.obj" "./src/main.obj" "./src/prod_test_sm.obj" "./src/hw_abstractiontest/test.obj" "../lnk_msp430f5335.cmd"  -l"/home/sporty/HydroGuardFW/driverlib_msp430f5335/Debug/driverlib_msp430f5335.lib" -llibc.a -llibmath.a  
|| <Linking>
|| warning #10366-D: automatic library build: using library "/home/sporty/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib/rts430x_lc_ld_eabi.lib" for the first time, so it must be built.  This may take a few minutes.
/home/sporty/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib/src/s__string_base.h|160| Warning - INLINE recursion limit exceeded.
/home/sporty/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib/src/s__alloc.h|325| Warning - INLINE recursion limit exceeded.
/home/sporty/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib/src/s__string_base.h|101| Warning - INLINE recursion limit exceeded.
/home/sporty/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib/src/s__string_base.h|100| Warning - INLINE recursion limit exceeded.
NO_PSN_FILE|| Warning - INLINE recursion limit exceeded.
NO_PSN_FILE|| Warning - INLINE recursion limit exceeded.
NO_PSN_FILE|| Warning - INLINE recursion limit exceeded.
NO_PSN_FILE|| Warning - INLINE recursion limit exceeded.
NO_PSN_FILE|| Warning - INLINE recursion limit exceeded.
/home/sporty/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib/src/s__string_base.h|101| Warning - INLINE recursion limit exceeded.
/home/sporty/ti/ccsv6/tools/compiler/msp430_15.12.3.LTS/lib/src/s__string_base.h|100| Warning - INLINE recursion limit exceeded.
NO_PSN_FILE|| Warning - INLINE recursion limit exceeded.

  • Sorry, there really isn't any other option but to ignore this particular warning during automatic library builds. When you build your application a second time, the library will already be there, won't be re-built, and you won't see the warning. This particular warning is pretty harmless; it's suggesting that you might be missing opportunities for optimization in very-deeply nested inline function calls. The optimizer needs to prune some optimizations on deeply nested calls to avoid exponential compile time, and just doesn't have an option to do the pruning silently.
  • Thank you for the reply. Nevertheless, it is not right on part of TI not to take care of such warnings. It makes me question the robustness of the software. When we code, no warnings are allowed, warnings should be taken seriously, otherwise they become meaningless.
  • Silver Diamond said:
    warnings should be taken seriously, otherwise they become meaningless.

    Quite true.  We're discussing internally how to deal with this particular warning, so hopefully it will be gone in the next version, but for the current released version, there's unfortunately no way to silence to warning.