From: Peter Kümmel Date: Tue, 30 Sep 2008 19:58:56 +0000 (+0000) Subject: remove warning. is this a boost bug? the macro is explicitly defined for msvc. X-Git-Tag: 1.6.10~3238 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2950127d8db28dc6560992c8ea862680f083b0d0;p=features.git remove warning. is this a boost bug? the macro is explicitly defined for msvc. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26655 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/boost/libs/regex/src/cregex.cpp b/boost/libs/regex/src/cregex.cpp index 99d48a7b7e..234f0467f9 100644 --- a/boost/libs/regex/src/cregex.cpp +++ b/boost/libs/regex/src/cregex.cpp @@ -559,7 +559,7 @@ std::string RegEx::What(int i)const return result; } -#ifdef BOOST_HAS_LONG_LONG +#if defined(BOOST_HAS_LONG_LONG) && !defined(_MSC_VER) const std::size_t RegEx::npos = static_cast(~0ULL); #else const std::size_t RegEx::npos = static_cast(~0UL);