From 41e54c1cf2b93219d3725cd0e52e6a61a3bdad70 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 19 Jul 2003 12:12:50 +0000 Subject: [PATCH] Added temporary Intel diagnostic code [SVN r19211] --- include/boost/regex/config.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index 0ab0aa39..4edac5b8 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -576,6 +576,21 @@ BOOST_REGEX_DECL void BOOST_REGEX_CALL put_mem_block(void*); * Diagnostics: * ****************************************************************************/ + +// +// this is a deliberate error, will be removed once it's diagnostics have been checked: +// +#if defined(BOOST_INTEL) +#if BOOST_REGEX_DECL +0 +#error "Oops1" +#endif +#if BOOST_REGEX_CALL +0 +#error "Oops2" +#endif +#if BOOST_REGEX_CCALL +0 +#error "Oops3" +#endif +#endif #if defined(BOOST_REGEX_DIAG) # pragma message ("BOOST_REGEX_DECL set as: " BOOST_STRINGIZE(BOOST_REGEX_DECL)) @@ -607,3 +622,4 @@ BOOST_REGEX_DECL void BOOST_REGEX_CALL put_mem_block(void*); #endif +