From 178f290ac55c0eccca0ef1f3692e634cb58b4363 Mon Sep 17 00:00:00 2001 From: Tobias Schwinger Date: Sat, 21 Jul 2007 15:26:41 +0000 Subject: [PATCH] improves warning message (mentions library and macro to suppress it) [SVN r38266] --- include/boost/function_types/config/compiler.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/boost/function_types/config/compiler.hpp b/include/boost/function_types/config/compiler.hpp index 7365d89..b9c020f 100644 --- a/include/boost/function_types/config/compiler.hpp +++ b/include/boost/function_types/config/compiler.hpp @@ -33,10 +33,12 @@ // version 7.1 is missing a keyword to specify the thiscall cc ... # ifndef BOOST_FT_CC_IMPLICIT_THISCALL # define BOOST_FT_CC_IMPLICIT_THISCALL non_variadic|member|callable_builtin -# ifndef BOOST_FT_CONFIGURATION_OK -# pragma message("ATTENTION: /Gd /Gr /Gz compiler options will not") -# pragma message("ATTENTION: work with this configuration.") - // TODO: add documentation reference +# ifndef BOOST_FT_CONFIG_OK +# pragma message("INFO| /Gd /Gr /Gz will compiler options will cause") +# pragma message("INFO| a compile error.") +# pragma message("INFO| Reconfigure Boost.FunctionTypes in this case.") +# pragma message("INFO| This message can be suppressed by defining") +# pragma message("INFO| BOOST_FT_CONFIG_OK.") # endif # endif # else