Tool/software: TI C/C++ Compiler
I am getting this error when I call a function via function pointer in .cla file which is defined in a structure. The function pointer has been assigned the address of function in main().
Using sample code from C2000 folder.
I also tried to install the latest compiler but CCS v8 doesn't show the compiler in preferences. Does it require higher CCS version?
Building file: "../cla_ex1_background_task_cla.cla" Invoking: C2000 Compiler "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff --include_path="C:/Users/RND17/Desktop/cla_ex1_background_task" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f28004x/common/include" --include_path="C:/ti/c2000/C2000Ware_2_00_00_03/device_support/f28004x/headers/include" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include" --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --cla_background_task=on --preproc_with_compile --preproc_dependency="cla_ex1_background_task_cla.d_raw" "../cla_ex1_background_task_cla.cla" >> Compilation failure subdir_rules.mk:16: recipe for target 'cla_ex1_background_task_cla.obj' failed INTERNAL ERROR: C:\ti\ccsv8\tools\compiler\ti-cgt-c2000_18.1.1.LTS\bin\accla.exe experienced a segmentation fault while processing function (unknown or file scope) file (unknown) line 0 This is caused by a defect in the TI C/C++ Parser. TI Customer Support may be able to suggest a workaround to avoid this. Upgrading to the newest version of the compiler may fix this problem. Contact TI in the E2E support forums at http://e2e.ti.com under "Development Tools", "TI C/C++ Compiler". See the link titled "Submitting an issue". We need to see this ENTIRE error message and a complete, reproducible test case including ALL of the command-line options. Include the .pp file created by option --preproc_with_comment
I am also attaching the pp file.cla_ex1_background_task_cla.pp.txt