[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5136] Resolve issues discovered with compilers other than
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5136] Resolve issues discovered with compilers other than gcc |
Date: |
Tue, 28 Dec 2010 19:02:34 +0000 |
Revision: 5136
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5136
Author: chicares
Date: 2010-12-28 19:02:34 +0000 (Tue, 28 Dec 2010)
Log Message:
-----------
Resolve issues discovered with compilers other than gcc
Modified Paths:
--------------
lmi/trunk/actuarial_table.cpp
lmi/trunk/handle_exceptions_test.cpp
lmi/trunk/stratified_charges.cpp
lmi/trunk/timer_test.cpp
Modified: lmi/trunk/actuarial_table.cpp
===================================================================
--- lmi/trunk/actuarial_table.cpp 2010-12-22 04:16:18 UTC (rev 5135)
+++ lmi/trunk/actuarial_table.cpp 2010-12-28 19:02:34 UTC (rev 5136)
@@ -158,7 +158,7 @@
v.insert(v.begin(), delta, 0.0);
return v;
}
- break;
+ // break;
case e_reenter_upon_rate_reset:
{
int const age_setback_limit = issue_age - min_age_;
@@ -177,7 +177,7 @@
}
return v;
}
- break;
+ // break;
case e_reenter_never: // Fall through.
default:
{
Modified: lmi/trunk/handle_exceptions_test.cpp
===================================================================
--- lmi/trunk/handle_exceptions_test.cpp 2010-12-22 04:16:18 UTC (rev
5135)
+++ lmi/trunk/handle_exceptions_test.cpp 2010-12-28 19:02:34 UTC (rev
5136)
@@ -38,7 +38,6 @@
{
BOOST_TEST(true);
throw std::runtime_error(" This message should appear on stderr.");
- BOOST_TEST(false); // Shouldn't be reached.
}
catch(...)
{
Modified: lmi/trunk/stratified_charges.cpp
===================================================================
--- lmi/trunk/stratified_charges.cpp 2010-12-22 04:16:18 UTC (rev 5135)
+++ lmi/trunk/stratified_charges.cpp 2010-12-28 19:02:34 UTC (rev 5136)
@@ -294,7 +294,7 @@
+ tiered_curr_sepacct_load(assets, premium)
;
}
- break;
+ // break;
case mce_gen_guar:
{
return
@@ -302,7 +302,7 @@
+ tiered_guar_sepacct_load(assets, premium)
;
}
- break;
+ // break;
case mce_gen_mdpt:
{
fatal_error()
@@ -369,12 +369,12 @@
{
return tiered_curr_m_and_e(assets);
}
- break;
+ // break;
case mce_gen_guar:
{
return tiered_guar_m_and_e(assets);
}
- break;
+ // break;
case mce_gen_mdpt:
{
fatal_error()
Modified: lmi/trunk/timer_test.cpp
===================================================================
--- lmi/trunk/timer_test.cpp 2010-12-22 04:16:18 UTC (rev 5135)
+++ lmi/trunk/timer_test.cpp 2010-12-28 19:02:34 UTC (rev 5136)
@@ -29,6 +29,7 @@
#include "timer.hpp"
#include "contains.hpp"
+#include "miscellany.hpp"
#include "test_tools.hpp"
#if !defined __BORLANDC__
@@ -49,6 +50,7 @@
for(unsigned int j = 0; j < 100; ++j)
{
d = std::log10(1U + j * j);
+ stifle_warning_for_unused_value(d);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5136] Resolve issues discovered with compilers other than gcc,
Greg Chicares <=