Troubleshooting
Problem
This technote explains how to resolve a Preprocessing error. This error might occur, when you instrument code in IBM Rational Test RealTime.
Symptom
You instrument code, that contains assembly code. Then the instrumentor fails with the following error.
code.c: Preprocessing...
cc -E -mcpu=30F6014A -I"..\include" "code.c" > "instr\code.i"
code.c: Instrumenting using TDP "C ASM" in "C:\PROGRA~1\Rational\TESTRE~1\targets\CASM"...
C:\PROGRA~1\Rational\TESTRE~1\bin\intel\win32\attolcc1 "instr\code.i" "instr\code._aug.c" atct.def -noinstrdir="C:\PROGRA~1\Rational\TESTRE~1\targets\instr\CASM" -proc=ret -block=logical -trace -studio_log="..\projet\intermediates_files300384607.log"
---
TestRT attolcc1 - ERROR: syntax error near volatile [C:\CODE.C,765]
TestRT attolcc1 - ERROR: syntax error near 0x4004 [C:\CODE.C,768]
TestRT attolcc1: Cannot recover from earlier errors ...
Failed.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21395031