IBM Support

Errors in building a test node in Test RealTime:
"conflicting types for `main' " and "previous declaration of `main' "

Troubleshooting


Problem

If you build an IBM® Rational® Test RealTime™ (TestRT) test node, you might see compiler errors.

Symptom

The compiler errors are like the following messages.


cwinmingw\TTesting main.aug.c: Compiling...
Failed.
cwinmingw\TTesting main.c:4960: conflicting types for `main'
C:/user/Source/main.h:23: previous declaration of `main'
...
Errors have occurred.

[{"Product":{"code":"SSSHUF","label":"Rational Test RealTime"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Component Testing","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"2003.06.00;2003.06.01;2003.06.12;2003.06.13;2003.06.15;7.0;7.0.0.1;7.0.5","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.

Historical Number

146320415

Document Information

Modified date:
16 June 2018

UID

swg21131438