From 6d54921a1bc6f3dd49809330429da2739f7f20a1 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 30 Mar 2003 10:27:50 +0000 Subject: [PATCH] Removed auto-selection of no-recursive implementation - it's not ready yet! [SVN r18132] --- include/boost/regex/config.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index f0af80e7..e05a904b 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -438,6 +438,12 @@ void raise_error(const traits& t, unsigned code) * ****************************************************************************/ +#ifndef BOOST_REGEX_NON_RECURSIVE +// non-recursive mode is currently too fragile to +// auto-select, this will be removed before release: +# define BOOST_REGEX_RECURSIVE +#endif + #if !defined(BOOST_REGEX_RECURSIVE) && !defined(BOOST_REGEX_NON_RECURSIVE) # ifdef BOOST_REGEX_HAS_MS_STACK_GUARD # define BOOST_REGEX_RECURSIVE