"typeinfo" is undefined

From STRIDE Wiki
Jump to navigation Jump to search

If you are compiling with s2scompile (the STRIDE compiler) and encounter the following error message:

 error: identifier "type_info" is undefined

You should add the following include statement to the file being compiled:

#include <typeinfo>

This will resolve the problem. Note: This issue is known to occur when compiling using the STRIDE compiler using some versions of the Microsoft standard library include files.