From aa68609a60223e4a140c211e2995b31ac0f97a9d Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 25 Oct 2003 11:20:35 +0000 Subject: [PATCH] New warning supression code doesn't work for VC6 :-( So work around the workaround... [SVN r20493] --- include/boost/regex/v4/regex_compile.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/regex/v4/regex_compile.hpp b/include/boost/regex/v4/regex_compile.hpp index e1579a90..af9411a2 100644 --- a/include/boost/regex/v4/regex_compile.hpp +++ b/include/boost/regex/v4/regex_compile.hpp @@ -71,12 +71,14 @@ struct is_big_char { typedef typename traits::uchar_type traits_uchar_type; typedef typename traits::size_type traits_size_type; +#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1200) static bool test(char) { return false; } static bool test(unsigned char) { return false; } static bool test(signed char) { return false; } +#endif template static bool test(charT c) { return (traits_size_type)(traits_uchar_type)c >= 256; } };