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.

AM263P4-Q1: Compiler Diagnostic Option Is Not Applied To Sub Folder and Its Files

Part Number: AM263P4-Q1
Other Parts Discussed in Thread: SYSCONFIG, MATHLIB

Hello,

I have a manual SYSCONFIG output directory (SysCfg) so that I can version control the output.

I want to suppress a warning on all files in directory SysCfg only:

image.png

I checked that the option has cascaded to individual files. For example ti_power_clock_config.c:

image.png

 

<Problem>

The option -Wno-typedef-redefinition does not appear in the invocation for the file(s):

Building file: "C:/repo/SysCfg/controlCard/ti_power_clock_config.c"
Invoking: Arm Compiler
"C:/ti/ccs1281/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb
-I"C:/ti/ccs1281/ccs/tools/compiler/ti-cgt-armllvm_3.2.2.LTS/include/c"
-I"C:/ti/mcu_plus_sdk_am263px_10_02_00_15/source"
-I"C:/ti/mcu_plus_sdk_am263px_10_02_00_15/source/board"
-I"C:/ti/mcu_plus_sdk_am263px_10_02_00_15/source/mathlib/trig"
-I"C:/ti/mcu_plus_sdk_am263px_10_02_00_15/source/drivers"
-I"C:/ti/mcu_plus_sdk_am263px_10_02_00_15/source/drivers/hw_include"
-I"C:/ti/mcu_plus_sdk_am263px_10_02_00_15/source/drivers/hw_include/am263px"
-I"C:/repo/SysCfg/controlCard"
:
:
-DCORE_ID=0 -DSOC_AM263PX -DEVM_BOARD_VERSION=2 -D_DEBUG_=1 -DFREE_RTOS_CORE -D__CONFIGNAME__=\"DebugP\" -g

-Wall

-Wno-gnu-variable-sized-type-not-at-end

-Wno-unused-function

-MMD -MP -MF

"SysCfg/controlCard/ti_power_clock_config.d_raw"
-MT"
SysCfg/controlCard/ti_power_clock_config.o"
-std=gnu99
-o"SysCfg/controlCard/ti_power_clock_config.o"
"C:/repo/core_0/SysCfg/controlCard/ti_power_clock_config.c"
Finished building: "C:/repo/SysCfg/controlCard/ti_power_clock_config.c"