Other Parts Discussed in Thread: TM4C129XNCZAD
Tool/software: Code Composer Studio
Hi,
I am using CCS version Version: 7.1.0.00016
While i compile my code i encounter the following error on an header file... I have not modified the header file either
Error log ...
**** Build of configuration Debug for project BS_BSC_UcdFunctionCalls_check ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k all
'Building file: ../BS_BSC_RealTimeNosDaysCalc.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156/examples/boards/dk-tm4c129x" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156" --advice:power=all -g --gcc --define=ccs="ccs" --define=PART_TM4C129XNCZAD --define=TARGET_IS_TM4C129_RA0 --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="BS_BSC_RealTimeNosDaysCalc.d" "../BS_BSC_RealTimeNosDaysCalc.c"
'Finished building: ../BS_BSC_RealTimeNosDaysCalc.c'
' '
'Building file: ../BS_BSC_UcdFunctionCalls.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156/examples/boards/dk-tm4c129x" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156" --advice:power=all -g --gcc --define=ccs="ccs" --define=PART_TM4C129XNCZAD --define=TARGET_IS_TM4C129_RA0 --diag_wrap=off --diag_warning=225 --display_error_number --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="BS_BSC_UcdFunctionCalls.d" "../BS_BSC_UcdFunctionCalls.c"
>> Compilation failure
subdir_rules.mk:16: recipe for target 'BS_BSC_UcdFunctionCalls.obj' failed
"..\BS_BSC_RealTimeNosDaysCalc.h", line 13: error #131: expected a "{"
"../BS_BSC_UcdFunctionCalls.c", line 76: warning #12-D: parsing restarts here after previous syntax error
"../BS_BSC_UcdFunctionCalls.c", line 78: warning #994-D: missing return statement at end of non-void function "I2C_Special_Block_read"
"../BS_BSC_UcdFunctionCalls.c", line 107: warning #225-D: function "void_PmbusLinear16" declared implicitly
The header file content is as follows
/************/
#ifndef BS_BSC_REALTIMENOSDAYSCALC_H_
#define BS_BSC_REALTIMENOSDAYSCALC_H_
int32 int32_RealTimeNosDaysCalc(struct Time *RealTime); // Error points occurs on this line
#endif /* BS_BSC_REALTIMENOSDAYSCALC_H_ */
if I comment out the line then the problem spills to other header files...What could be the issue??
1. i tried recreating the project by copying a working project and replacing with *.c , *.h files....
2. I have bwn working ok with this header for some time
what could be the issue ?? How to resolve this??
In LANGUAGE OPTIONS enable gcc is checked....