$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r81180 - trunk/boost/test/impl
From: gennadiy.rozental_at_[hidden]
Date: 2012-11-04 20:06:19
Author: rogeeff
Date: 2012-11-04 20:06:17 EST (Sun, 04 Nov 2012)
New Revision: 81180
URL: http://svn.boost.org/trac/boost/changeset/81180
Log:
fix for gcc warnings; Fixes #6712
Text files modified: 
   trunk/boost/test/impl/debug.ipp             |     2 ++                                      
   trunk/boost/test/impl/execution_monitor.ipp |     4 ++--                                    
   trunk/boost/test/impl/framework.ipp         |     2 +-                                      
   trunk/boost/test/impl/test_tree.ipp         |     5 ++---                                   
   4 files changed, 7 insertions(+), 6 deletions(-)
Modified: trunk/boost/test/impl/debug.ipp
==============================================================================
--- trunk/boost/test/impl/debug.ipp	(original)
+++ trunk/boost/test/impl/debug.ipp	2012-11-04 20:06:17 EST (Sun, 04 Nov 2012)
@@ -944,6 +944,8 @@
     }
 
     _CrtSetDbgFlag ( flags );
+#else
+    unit_test::ut_detail::ignore_unused_variable_warning( report_file );
 #endif // BOOST_MS_CRT_BASED_DEBUG
 }
 
Modified: trunk/boost/test/impl/execution_monitor.ipp
==============================================================================
--- trunk/boost/test/impl/execution_monitor.ipp	(original)
+++ trunk/boost/test/impl/execution_monitor.ipp	2012-11-04 20:06:17 EST (Sun, 04 Nov 2012)
@@ -1352,7 +1352,7 @@
 #elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H)
     ::feclearexcept(BOOST_FPE_ALL);
     int res = ::feenableexcept( mask );
-    return res == -1 ? BOOST_FPE_INV : (unsigned)res;
+    return res == -1 ? (unsigned)BOOST_FPE_INV : (unsigned)res;
 #else
     /* Not Implemented  */
     return 0;
@@ -1387,7 +1387,7 @@
 #elif defined(__GLIBC__) && defined(__USE_GNU) && !defined(BOOST_CLANG) && !defined(BOOST_NO_FENV_H)
     ::feclearexcept(BOOST_FPE_ALL);
     int res = ::fedisableexcept( mask );
-    return res == -1 ? BOOST_FPE_INV : (unsigned)res;
+    return res == -1 ? (unsigned)BOOST_FPE_INV : (unsigned)res;
 #else
     /* Not Implemented */
     return BOOST_FPE_INV;
Modified: trunk/boost/test/impl/framework.ipp
==============================================================================
--- trunk/boost/test/impl/framework.ipp	(original)
+++ trunk/boost/test/impl/framework.ipp	2012-11-04 20:06:17 EST (Sun, 04 Nov 2012)
@@ -186,7 +186,7 @@
 
         return false;
     }
-    virtual void    test_suite_finish( test_suite const& ts )
+    virtual void    test_suite_finish( test_suite const& /*ts*/ )
     {
         --m_depth;
     }
Modified: trunk/boost/test/impl/test_tree.ipp
==============================================================================
--- trunk/boost/test/impl/test_tree.ipp	(original)
+++ trunk/boost/test/impl/test_tree.ipp	2012-11-04 20:06:17 EST (Sun, 04 Nov 2012)
@@ -315,13 +315,12 @@
 
 //____________________________________________________________________________//
 
-auto_test_unit_registrar::auto_test_unit_registrar( test_unit_generator const& tc_gen, decorator::collector* decorators )
+auto_test_unit_registrar::auto_test_unit_registrar( test_unit_generator const& tc_gen, decorator::collector* /*decorators*/ )
 {
     curr_ts_store().back()->add( tc_gen );
 
-    // !! ??if( decorators )
+    // !! ?? if( decorators )
     // decorators->apply( *tc );
-
 }
 
 //____________________________________________________________________________//