blob: d16897d19584e016be84195c632e29a1c5a190e3 [file] [log] [blame]
Jeff Thompsonf7d49942013-08-01 16:47:40 -07001// (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
6// See http://www.boost.org for most recent version.
7
8// Greenhills C++ compiler setup:
9
Jeff Thompson3d613fd2013-10-15 15:39:04 -070010#define NDNBOOST_COMPILER "Greenhills C++ version " NDNBOOST_STRINGIZE(__ghs)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070011
Jeff Thompson2277ce52013-08-01 17:34:11 -070012#include "ndnboost/config/compiler/common_edg.hpp"
Jeff Thompsonf7d49942013-08-01 16:47:40 -070013
14//
15// versions check:
16// we don't support Greenhills prior to version 0:
17#if __ghs < 0
18# error "Compiler not supported or configured - please reconfigure"
19#endif
20//
21// last known and checked version is 0:
22#if (__ghs > 0)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070023# if defined(NDNBOOST_ASSERT_CONFIG)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070024# error "Unknown compiler version - please run the configure tests and report the results"
25# endif
26#endif
27
28