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.

TMS570LC4357: safety Library 2.4.0 and Compiler Option Language Mode = "Strict ANSI mode"

Part Number: TMS570LC4357

Hi,

I tried to compile the safety library 2.4.0 (Compiler Version 16.9.3) with the Compiler Option "Strict ANSI mode". I got the following error and warnings:

Error:

sl_asm_api.asm  <-- a Translation unit must contain at least one declaration

Warning:

sl_asm_api.asm  <-- [E1000] error while processing C Code in .cdecls directive

sl_priv.c <-- #188 D pointless comparisoon of unsigned integer with zero

types.h <-- #2104 D Attribute "packed" does not apply here

How can I solve this error / warnings..

Best regards