greenhills.hpp 822 B

12345678910111213141516171819202122232425262728
  1. // (C) Copyright John Maddock 2001.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org for most recent version.
  6. // Greenhills C++ compiler setup:
  7. #define BOOST_COMPILER "Greenhills C++ version " BOOST_STRINGIZE(__ghs)
  8. #include <boost/config/compiler/common_edg.hpp>
  9. //
  10. // versions check:
  11. // we don't support Greenhills prior to version 0:
  12. #if __ghs < 0
  13. # error "Compiler not supported or configured - please reconfigure"
  14. #endif
  15. //
  16. // last known and checked version is 0:
  17. #if (__ghs > 0)
  18. # if defined(BOOST_ASSERT_CONFIG)
  19. # error "boost: Unknown compiler version - please run the configure tests and report the results"
  20. # endif
  21. #endif