Troubleshooting
Problem
Attempts to compile a stubbed function that has type modifier “@far @gpage” in its prototype fails with an error about the redeclared function while performing component test for C using IBM Rational Test RealTime.
Symptom
An example of function prototype with the type modifier "@far @gpage" is shown as below.
extern void Function1(@far @gpage const Str_t *test_Ptr);
When this function is stubbed in the test script PTU file generated by Test RealTime wizard, compiling the stubbed function fails with the following error message.
#error <compiler> <TDP_folder_name>/TTest.c:91(14) redeclared external Funtion1
[{"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Component Testing: C","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.0.3","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21424815