From 3570bdb6b6135e4e4f45d0bc5851614e642bbf8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20J=C3=A4rvi?= Date: Wed, 14 Aug 2002 20:55:52 +0000 Subject: [PATCH] fixed some warningns about unused variables, added Jamfile [SVN r14854] --- test/Jamfile | 20 ++++++++++++++++++++ test/another_tuple_test_bench.cpp | 5 +++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 test/Jamfile diff --git a/test/Jamfile b/test/Jamfile new file mode 100644 index 0000000..3f6c587 --- /dev/null +++ b/test/Jamfile @@ -0,0 +1,20 @@ +subproject libs/tuple/test ; + +unit-test tuple_test_bench + : tuple_test_bench.cpp + ../../test/build/test_exec_monitor + : $(BOOST_ROOT) + ; + +unit-test io_test + : io_test.cpp + ../../test/build/test_exec_monitor + : $(BOOST_ROOT) + ; + +unit-test another_tuple_test_bench + : another_tuple_test_bench.cpp + ../../test/build/test_exec_monitor + : $(BOOST_ROOT) + ; + diff --git a/test/another_tuple_test_bench.cpp b/test/another_tuple_test_bench.cpp index 47aad45..af3ab24 100644 --- a/test/another_tuple_test_bench.cpp +++ b/test/another_tuple_test_bench.cpp @@ -94,7 +94,7 @@ void foo4() A a; tuple t(1, d, a); const tuple ct = t; - + (void)ct; #ifdef E8 get<0>(ct) = 5; // can't assign to const #endif @@ -119,9 +119,10 @@ void foo4() void foo5() { tuple t; - + (void)t; tuple aaa; tuple bbb(aaa); + (void)bbb; // tuple a = t; // a = t; }