From f8b1046731b28cce12a848aedb5e016bd1e5c229 Mon Sep 17 00:00:00 2001 From: Boris Gubenko Date: Tue, 5 Jun 2007 19:31:04 +0000 Subject: [PATCH] define BOOST_NO_TWO_PHASE_NAME_LOOKUP macro [SVN r37903] --- include/boost/config/compiler/hp_acc.hpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/hp_acc.hpp b/include/boost/config/compiler/hp_acc.hpp index 71a35363..5181397a 100644 --- a/include/boost/config/compiler/hp_acc.hpp +++ b/include/boost/config/compiler/hp_acc.hpp @@ -3,7 +3,7 @@ // (C) Copyright Aleksey Gurtovoy 2002. // (C) Copyright David Abrahams 2002 - 2003. // (C) Copyright Toon Knapen 2003. -// (C) Copyright Boris Gubenko 2006. +// (C) Copyright Boris Gubenko 2006 - 2007. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -51,6 +51,15 @@ # define BOOST_NO_MEMBER_TEMPLATE_KEYWORD #endif +// This macro should not be defined when compiling in strict ansi +// mode, but, currently, we don't have the ability to determine +// what standard mode we are compiling with. Some future version +// of aCC6 compiler will provide predefined macros reflecting the +// compilation options, including the standard mode. +#if (__HP_aCC >= 60000) +# define BOOST_NO_TWO_PHASE_NAME_LOOKUP +#endif + #define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC) //