From e605c428896106ead9695835b30941781ab93729 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Wed, 26 Sep 2001 21:42:38 +0000 Subject: [PATCH] SGI MIPSpro (EDG 2.38) doesn't support void returns. [SVN r11288] --- include/boost/config/compiler/common_edg.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/config/compiler/common_edg.hpp b/include/boost/config/compiler/common_edg.hpp index b80c4c79..a83ab677 100644 --- a/include/boost/config/compiler/common_edg.hpp +++ b/include/boost/config/compiler/common_edg.hpp @@ -10,6 +10,13 @@ // // This is included from within the individual compiler mini-configs. +#ifndef __EDG_VERSION__ +# error This file requires that __EDG_VERSION__ be defined. +#endif + +#if (__EDG_VERSION__ <= 238) +# define BOOST_NO_VOID_RETURNS +#endif #if (__EDG_VERSION__ <= 241) && !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) # define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP