1. Edd Dawson
  2. test_o_matic


Clone wiki

test_o_matic / Portability


test-o-matic is known to work on the following compilers:

  • MinGW g++ 4.5.0
  • Microsoft Visual C++ 2005
  • Microsoft Visual C++ 2008
  • Microsoft Visual C++ 2010
  • Apple's g++ 4.0.1 and 4.2.1
  • Apple's llvm-g++ 4.2.1

Formerly, I have supported these compilers and while I still believe they are likely to work, I have no means of testing them at present.

  • g++ 4.2.3 on Linux
  • MinGW g++ 3.4.5
  • Digital Mars dmc 8.50
  • Borland bcc32 5.5.1 (no variadics support)
  • Borland bcc32 5.82

Throughout the wiki I also use C++ namespace aliases to abbreviate test_o_matic to tom. This doesn't work on Digital Mars (yet). Instead you must place a using directive inside the tom namespace:

namespace tom { using namespace test_o_matic; } // fine on all supported compilers

int main()
    namespace tom = test_o_matic; // won't work on dmc

    // ...

Other compilers

I have tried hard to write test-o-matic in a portable fashion and would expect it to work out-the-box on many other reasonably modern compilers. If you have success using test-o-matic with a compiler not listed here, please let me know.