forked from boostorg/regex
Various minor warning suppressions.
[SVN r19547]
This commit is contained in:
@ -13,8 +13,13 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <boost/regex.hpp>
|
#include <boost/regex.hpp>
|
||||||
#include <boost/concept_archetype.hpp>
|
#include <boost/concept_archetype.hpp>
|
||||||
|
#if defined(BOOST_MSVC)
|
||||||
|
// this lets us compile at warning level 4 without seeing concept-check related warnings
|
||||||
|
# pragma warning(disable:4100)
|
||||||
|
#endif
|
||||||
#include <boost/concept_check.hpp>
|
#include <boost/concept_check.hpp>
|
||||||
#include <boost/detail/workaround.hpp>
|
#include <boost/detail/workaround.hpp>
|
||||||
|
|
||||||
|
@ -15,6 +15,10 @@
|
|||||||
|
|
||||||
#include <boost/regex.hpp>
|
#include <boost/regex.hpp>
|
||||||
#include <boost/concept_archetype.hpp>
|
#include <boost/concept_archetype.hpp>
|
||||||
|
#if defined(BOOST_MSVC)
|
||||||
|
// this lets us compile at warning level 4 without seeing concept-check related warnings
|
||||||
|
# pragma warning(disable:4100)
|
||||||
|
#endif
|
||||||
#include <boost/concept_check.hpp>
|
#include <boost/concept_check.hpp>
|
||||||
#include <boost/detail/workaround.hpp>
|
#include <boost/detail/workaround.hpp>
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include <boost/regex.hpp>
|
#include <boost/regex.hpp>
|
||||||
#include <boost/test/test_tools.hpp>
|
#include <boost/test/test_tools.hpp>
|
||||||
|
|
||||||
int test_main( int argc, char* argv[] )
|
int test_main( int , char* [] )
|
||||||
{
|
{
|
||||||
std::string bad_text(1024, ' ');
|
std::string bad_text(1024, ' ');
|
||||||
std::string good_text(200, ' ');
|
std::string good_text(200, ' ');
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include <boost/regex.hpp>
|
#include <boost/regex.hpp>
|
||||||
#include <boost/test/test_tools.hpp>
|
#include <boost/test/test_tools.hpp>
|
||||||
|
|
||||||
int test_main( int argc, char* argv[] )
|
int test_main( int , char* [] )
|
||||||
{
|
{
|
||||||
// this regex will recurse twice for each whitespace character matched:
|
// this regex will recurse twice for each whitespace character matched:
|
||||||
boost::regex e("([[:space:]]|.)+");
|
boost::regex e("([[:space:]]|.)+");
|
||||||
|
Reference in New Issue
Block a user