Using the -Zcov option
The -Zcov option may be used to tell Insure to add
only the instrumentation necessary for gathering coverage analysis data.
This means that all error detection is turned off.
One common problem is caused by not using -Zcov consistently.
If you use -Zcov at all, you must use it on every
Insure compile and link line, or you will end up with undefined
_Insight_* symbols at link time.
Another problem is caused by your program using exit at termination
instead of return . If your program exit s, no
tca.log file will be generated at runtime after
building your program with the -Zcov option.
This problem was present with version 3.0.1 of Insure++,
but does not appear in version 3.1. If you are still using version 3.0.1,
you can work around the problem by changing the exit (s) in
your program to return (s).
For more information .
call (888) 305-0041, fax (626)305-9048, or
email quality@parasoft.com
|