Troubleshooting
Problem
Attempts to build a test project that involves a stubbed function with a certain variable name for IBM Rational Test RealTime Componenet Testing for C results in the error C2082.
Symptom
Full error is as shown below:
cvisual6\T<code_under_test>_aug.c: Compiling...
cl.exe -ZI -Yd -GZ -GX -c "cvisual6\T <code_under_test>_aug.c" -Fo"cvisual6\T <code_under_test>.obj"
T<code_under_test>.c
cvisual6\T<code_under_test>.c(78) : error C2082: redefinition of formal parameter 'res'
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
status 2
---
Failed.
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21399618