chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
Welcome to Typemock Community! Here you can ask and receive answers from other community members. If you liked or disliked an answer or thread: react with an up- or downvote.
0 votes
I am trying to build a sample test project (C++20) using Typemock in Windows with the GCC compiler. However, I encountered the following error: '#error Typemock Isolator++ requires C++ RTTI enabled (Compiler flag /GR)'. I also need to know if Typemock Isolator++ is compatible with Catch2, as I am using the same for unit testing.
asked by gg (640 points)

2 Answers

+1 vote
 
Best answer
Typemock Isolator++ does not officially support the GCC compiler on Windows, as it primarily targets MSVC. The error you encountered stems from the use of GCC, which handles RTTI differently than MSVC. While Typemock Isolator++ is optimized for Google Test, compatibility with Catch2 may require additional configuration and is not natively supported. Switching to MSVC would provide smoother integration and avoid these compatibility issues.
answered ago by shotvpro (1.2k points)
selected ago by Alon_TypeMock
0 votes
Hi,

Unfortunately, GCC support on Windows is currently not available, however it is on our roadmap.

As for Catch2, it is also currently not supported, but I will pass to our developers to look into it in the future.

Best,
Tom Milchman,
Typemock Support Specialist
answered by Tom_Typemock (720 points)
...