Undeclared ‘Exit’ Error while Building Environment
By default, the VectorCAST test harness #defines
exit to VCAST_exit
. If your source code #includes
the C standard library, which #undefines
exit, you may see a compile or link error while building the environment such as undefined symbol VCAST_exit
or undeclared ‘exit'
Add the defined variable VCAST_DONT_RENAME_EXIT to the list of defined variables, and then either recompile or relink the test harness (Environment | Recompile | Automatic or Environment | Relink).
Article ID: 1512
Last updated: 2019-11-13
VectorCAST -> Troubleshooting -> Undeclared ‘Exit’ Error while Building Environment