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 +