Part Number: TMS320F28377D
Hello,
I include an header file in an asm. This header file contains several #define.
When the compiler option is set to: --strict_ansi (for c99), an error is produced when the asm is processed: Error #97 a translation unit must contain at least one declaration.
When I add a declaration of a variable in the header file, there is no more error.
Why a compiler option has an influence on the assembler ?
Why is it impossible to have #define without variable definition in the header file ?
Thanks for your answer.
Best regards