mirror of
https://github.com/boostorg/regex.git
synced 2025-07-24 09:37:36 +02:00
Up the warning level, and fix the resulting warnings with msvc, gcc and Intel.
Fix bug in docs and regenerate. [SVN r65208]
This commit is contained in:
@ -31,6 +31,9 @@ typedef boost::match_flag_type match_flag_type;
|
||||
#ifdef BOOST_MSVC
|
||||
#pragma warning(disable:4309)
|
||||
#endif
|
||||
#ifdef BOOST_INTEL
|
||||
#pragma warning(disable:981 383)
|
||||
#endif
|
||||
|
||||
namespace boost{
|
||||
|
||||
|
@ -22,6 +22,10 @@
|
||||
#define BOOST_REGEX_ICU_INSTANTIATE
|
||||
#include <boost/regex/icu.hpp>
|
||||
|
||||
#ifdef BOOST_INTEL
|
||||
#pragma warning(disable:981 2259 383)
|
||||
#endif
|
||||
|
||||
namespace boost{
|
||||
|
||||
namespace re_detail{
|
||||
|
@ -44,6 +44,9 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef BOOST_INTEL
|
||||
#pragma warning(disable:383)
|
||||
#endif
|
||||
|
||||
namespace boost{
|
||||
|
||||
|
@ -29,6 +29,10 @@
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
|
||||
#ifdef BOOST_INTEL
|
||||
#pragma warning(disable:981)
|
||||
#endif
|
||||
|
||||
#if defined(BOOST_NO_STDC_NAMESPACE) || defined(__NetBSD__)
|
||||
namespace std{
|
||||
# ifndef BOOST_NO_SWPRINTF
|
||||
|
Reference in New Issue
Block a user