Multiply defined stdlib functions
By default, Insure links in its own versions of various stdlib functions
(see the list below). These versions have additional checking built in
which helps Insure detect errors in code which was not compiled
with Insure. These functions may collide with those in libc.a, resulting in
multiply-defined symbols, which will cause linking to fail on some platforms.
The solution is to add the option
insure++.stdlib_replace off
to your .psrc file and link your program again.
Since these functions are not used to detect errors in code that was compiled
with Insure (interfaces are), you will not notice any difference in error
detection if you are compiling all of your code with Insure.
The functions defined in Insure's stdlib replacement library are:
bcmp bcopy bzero index memccpy memchr memcmp memcpy memset
rindex strcat strchr strcmp strcpy strcspn strdup strlen strncat
strncmp strncpy strpbrk strrchr strspn strtok
For more information .
call (888) 305-0041, fax (626)305-9048, or
email quality@parasoft.com
|