Troubleshooting
Problem
Attempts to instrument C/C++ code using IBM Rational Test RealTime result in warning: "explicit type is missing ("int" assumed)", and possibly additional warnings and/or errors.
Symptom
You get messages similar to the following when you build your application.
Note: The exact errors may vary, depending on the exact syntax of the affected line of code:
TestRT attolccp: "some_file.h",line 1049: warning #260-D:
explicit type is missing ("int" assumed)
extern __thread char some_buffer[buffer_size];
^
TestRT attolccp: "some_file.h",line 1049: error #65:
expected a
";"
extern __thread char some_buffer[buffer_size];
^
TestRT attolccp:
"another_file.h",line 154:
error #20:
identifier "some_buffer" is undefined
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21575672