APAR status
Closed as fixed if next.
Error description
Compilation of the TDP will fail with the following errors and warnings: c:\users\ky\appdata\roaming\testrealtime\8.0.1.2\targets\cvisual 10\lib\priv.c(289) : error C2065: 'f' : undeclared identifier c:\users\ky\appdata\roaming\testrealtime\8.0.1.2\targets\cvisual 10\lib\priv.c(289) : error C2065: 's' : undeclared identifier c:\users\ky\appdata\roaming\testrealtime\8.0.1.2\targets\cvisual 10\lib\priv.c(289) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' c:\users\appdata\roaming\testrealtime\8.0.1.2\targets\cvisual10\ lib\priv.c(289) : warning C4024: 'send' : different types for formal and actual parameter 2 c:\users\appdata\roaming\testrealtime\8.0.1.2\targets\cvisual10\ lib\priv.c(289) : error C2065: 's' : undeclared identifier c:\users\appdata\roaming\testrealtime\8.0.1.2\targets\cvisual10\ lib\priv.c(289) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int' c:\users\appdata\roaming\testrealtime\8.0.1.2\targets\cvisual10\ lib\priv.c(289) : warning C4024: 'strlen' : different types for formal and actual parameter 1
Local fix
TestRealTime/targets/xml/c/lib/priv.c line 289 must be modified as send(file, str, strlen(str),0); instead of send(f, s, strlen(s),0); Note to avoid POSIX include for socket the macro RTRT_SOCKET_INCLUDES must be defined in Include files or code visible only to the Target Deployment Port and ws2_32.lib must be added to libraries list for link. If you want also use the TestRT socket listener you must add the SOCKET_UPLOAD=â trueâ in the basic settings of the TDP.
Problem summary
**************************************************************** * USERS AFFECTED: * * Users of Rational Test Realtime and Microsoft Visual Studio * **************************************************************** * PROBLEM DESCRIPTION: * * Target Deployment Port for Microsoft Visual does not compile * * when RTRT_IO is set to RTRT_SOCKET. * **************************************************************** * RECOMMENDATION: * * Upgrade to Rational Test Realtime 8.0.2 * ****************************************************************
Problem conclusion
Temporary fix
Comments
APAR Information
APAR number
PI63091
Reported component name
TEST REALTIME
Reported component ID
5724G2000
Reported release
800
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-05-26
Closed date
2016-12-23
Last modified date
2016-12-23
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
R801 PSY
UP
R802 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"800","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
23 December 2016