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.

"incomplete type is not allowed" error when generate the Unit Test case

Options
thinksmart
thinksmart Posts: 2

In my project,there is one cpp file used two .h files.The files are like attachment.When I execute Generate Unit Tests command,it shows an error like this:
"/tools/Kepler8.2/kepler/kepler-sdk/0.2.16202.0/kndk/platforms/0.2/x86_64/usr/i
[C/C++test] [tuner.cpp] nclude/apmf/dso.h", line 35: error: incomplete type is not allowed
[C/C++test] [tuner.cpp] static inline DsoRegistrator constructor;
[C/C++test] [tuner.cpp] ^
[C/C++test] [tuner.cpp] detected during instantiation of class
[C/C++test] [tuner.cpp] "apmf::DsoRegistrator<> [with =void]" at
[C/C++test] [tuner.cpp] line 55 of
[C/C++test] [tuner.cpp] "/tools/Kepler8.2/kepler/kepler-sdk/0.2.16202.0/kndk/platfo
[C/C++test] [tuner.cpp] rms/0.2/x86_64/usr/include/apmf/dso-inl.h"

Any one can tell what is the reason of this error?And how can I resolve it?Thanks