Troubleshooting
Problem
When stubbing a static function from the code under test and this function returns a void. There is no declaration of the function. When it sees the STUB it returns a void so you get the following error message: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. cvisual6\TUmtsCode.c(68) : error C2371: 'add' : redefinition; different basic types Failed.
[{"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2003.06.15;7.0;7.0.0.1","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
More support for:
Rational Test RealTime
Software version:
2003.06.15, 7.0, 7.0.0.1
Document number:
336735
Modified date:
16 June 2018
UID
swg21160746
Manage My Notification Subscriptions