Skip to content

What compilers does CATCH work with

Martin Moene edited this page Aug 20, 2013 · 8 revisions

CATCH should work with any compiler capable of compiling C++98 to a reasonable degree.

However even modern compilers have their idiosyncrasies and, despite an effort to keep it portable, there are some parts to the code-base that remain necessarily platform dependent.

Therefore this page is an attempt to capture a list of compilers and platforms that CATCH is known to run on successfully (as well as those it is known not to, or to have problems with). Please note that this list relies on community feedback. If you don't see the compiler you are interested in here don't assume it won't work. If possible please try it for yourself and report your findings in This issue so this page can be updated to help others too.

Thanks for the support.

Fully supported

Mac:

  • GCC 4.2
  • LLVM 4.0

Windows:

  • GCC 4.7.2
  • MSVC 8
  • MSVC 9
  • MSVC 10

Works but with known issues

  • MSVC6 (Windows), branch selftest. Can compile and run a part of the self test successfully now. Some of the Tricky tests are skipped and Testmain.cpp of the self test itself cannot be compiled yet. See also the issues.

Known not to work

Clone this wiki locally