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.

TI ARM clang asm file debug information and typedef redefinition in TI library module

Other Parts Discussed in Thread: DRA782

Hi,

we recently switched to the TI ARM Clang compiler V2.0.0 for the M4 cores of the Jacinto DRA782. Unfortunately we are facing 2 problems:

- The CCS (we tried several versions) is not able to display asm files in the main window when we debug the code. The asm code can be debugged only in the disassembly window. We tried all available compiler switches. Our settings are -g -gdwarf-3 -mcpu=cortex-m4 --target=arm-arm-none-eabi -mfloat-abi=soft -mthumb -x assembler-with-cpp

- The TI library contains typedef redefinitions. We use treat warnings as errors and thus we are forced to disable this warning by using -Wno-typedef-redefinition. It would be fine to use this feature of the compiler to detected redefinitions.

C:/ti/compiler/ti-cgt-armllvm_2.0.0.STS/include/c\stdlib.h:128:24: error: redefinition of typedef '__WCHAR_T_TYPE__' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef __WCHAR_TYPE__ __WCHAR_T_TYPE__;
^
C:/ti/compiler/ti-cgt-armllvm_2.0.0.STS/include/c\machine/_types.h:137:24: note: previous definition is here
typedef __WCHAR_TYPE__ __WCHAR_T_TYPE__;

We would appreciate support to get rid of this issues.