Portability

Spirit has been tested to compile and run properly on various compilers:

  1. g++ 2.95.3
  2. g++ 3.1
  3. g++ 3.2
  4. Borland 5.5.1
  5. Borland 5.6.1
  6. Intel 5.0
  7. Intel 6.0
  8. Intel 7.0
  9. Visual Age C++ 5.02
  10. Comeau 4.24.5
  11. Metrowerks CodeWarrior 7.2
  12. Metrowerks CodeWarrior 8.3
  13. MSVC 6 SP5
  14. MSVC 7
  15. MSVC 7.1

Spirit is 100% ANSI/ISO C++ conformant. Unfortunately, some compilers do not support all the features of Spirit primarily due to bugs and inadequate conformance to the standard. Finding workarounds for these non-conformance problems is a high priority but it takes time and a lot of effort.

For further details, you can check out the table of compilers vis-a-vis all the tests and examples in the Spirit distribution here. This table is regularly being updated.