Various minor warning suppressions.

[SVN r19547]
This commit is contained in:
John Maddock
2003-08-12 11:24:09 +00:00
parent e4248fcb19
commit 4e412a1774
4 changed files with 11 additions and 2 deletions

View File

@ -13,8 +13,13 @@
*
*/
#include <boost/regex.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/detail/workaround.hpp>

View File

@ -15,6 +15,10 @@
#include <boost/regex.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/detail/workaround.hpp>

View File

@ -24,7 +24,7 @@
#include <boost/regex.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 good_text(200, ' ');

View File

@ -24,7 +24,7 @@
#include <boost/regex.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:
boost::regex e("([[:space:]]|.)+");