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.

Error deleting precompiled headers in CCSv5.4

Other Parts Discussed in Thread: SYSBIOS

Hello,

Due to very slow building time for a template based library, I enabled pre-compiled headers for the project and dependent libraries, first time I was able to see in the compiler output that pch files have been created and are available on disk. When I try to build the second time, in libraries that their source code is not changed, I get compilation terminated, error deleting precompiled headers:

"E:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6748 -g -O3 -ms3 --pch --gcc --define=c6748 --include_path="E:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="E:/branches/David/libYAFFS/HAL" --include_path="E:/branches/David/libYAFFS/Core" --include_path="E:/branches/David/libYAFFS/Direct" --include_path="E:/branches/David/PGM_sysbios/Include" --include_path="E:/branches/David/PGM_sysbios/Drivers" --include_path="E:/branches/David/PGM_sysbios/Modules" --preinclude="E:/branches/David/PGM_sysbios/Include/platform.h" --diag_remark=179 --display_error_number --diag_warning=225 --gen_func_subsections=on --abi=eabi --remove_hooks_when_inlining --opt_for_speed=5 --preproc_with_compile --preproc_dependency="Direct/yaffsfs.pp" --obj_directory="Direct" "../Direct/yaffsfs.c"
Fatal error #221: error while deleting file "yaffs_setfuncs.pch"

>> Compilation failure
1 fatal error detected in the compilation of "../Direct/yaffs_setfuncs.c".
Compilation terminated.

I am administrator on Windows 7 PC and E:\ is a separate drive with full read/write permissions access to Everyone. Any idea why the pch files are not deleted? I can delete manually with Windows Explorer then pch file is rebuilt again and then next time error deleting it, this is repeatable.

Best regards,

David.