Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Unable to generate the Test Suite

Options
Swathi
Swathi Posts: 1

Hi Team,
I am trying to generate the TestSuite for a .cpp file present in the project. The projects builds fine without any errors. The .out file gets generated. Trying to create as - Right click on the .cpp-> Parasoft -> Test Using -> User Defined -> Unit Testing -> Generate Test Suites. The error displayed in the console log is - "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/stdio.h", line 76: error:
expected a declaration
//----------------------------------------------------------------------------
^
"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.5/include/stdio.h", line 212: error:
identifier "FILE" is undefined
extern FILE _ftable[10];
^

There are around 100 errors which were generated related to the stdio.h file. The stdio.h file is added in the .cpp file. The GCC support is enabled in the Project Properties. Have anyone observed this issue before . Please help us resolve this issue.
Thank you in advance.