Report more warnings while testing boost::lexical_cast. Some warnings suppressed

[SVN r85007]
This commit is contained in:
Antony Polukhin
2013-07-12 11:33:15 +00:00
parent f7bd5e24c2
commit 91aa2ce64d
3 changed files with 11 additions and 2 deletions

View File

@@ -19,6 +19,8 @@ struct foo
int test_main(int, char*[])
{
foo x = implicit_cast<foo>("foobar");
(void)x; // warning suppression.
(void)x; // warning suppression.
BOOST_CHECK(false); // suppressing warning about boost::unit_test::{anonymous}::unit_test_log defined but not used
return 0;
}