We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
IDE: ARM DS-5 (v5.15.0)
Platform: Cortex R4
Hi,
I am interested to use C pre-processor in assembly file but i am facing the attached issue. According to arm documentation
I set the flag --cpreproc and --cpreproc_opts but getting following issue:
Error: C3472E: No source language specified (--cpp or --c90) and sourcefile extensions conflict
Fatal error: A1905U: Pre-processor step failed for '../xx_xxxxxx_xxxxx_restore.s'
1 Error, 0 Warnings
make: *** [xx_xxxxxx_xxxxx_restore.o] Error 8
I really appreciate your suggestions.
Thanks.
Hi emiller,
>>So instead of "--cpreproc_opts='-DTHREAD_PROFILING_ENABLED'," try "--cpreproc_opts='--c90 -DTHREAD_PROFILING_ENABLED'," which I would expect to get you past the 3472 error.
Sorry for late response, I tried that one earlier but didn't succeed. I will try it again with [Build 102] and hit back there with results.
Hi Asi, would you mind closing the question and re-open it later if necessary? That helps keeping track of what requires attention.