[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5130] Resolve defects identified with Comeau
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5130] Resolve defects identified with Comeau |
Date: |
Sat, 18 Dec 2010 17:07:13 +0000 |
Revision: 5130
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5130
Author: chicares
Date: 2010-12-18 17:07:13 +0000 (Sat, 18 Dec 2010)
Log Message:
-----------
Resolve defects identified with Comeau
Modified Paths:
--------------
lmi/trunk/math_functors.hpp
lmi/trunk/objects.make
Modified: lmi/trunk/math_functors.hpp
===================================================================
--- lmi/trunk/math_functors.hpp 2010-12-17 01:11:46 UTC (rev 5129)
+++ lmi/trunk/math_functors.hpp 2010-12-18 17:07:13 UTC (rev 5130)
@@ -45,7 +45,7 @@
#if !defined LMI_COMPILER_PROVIDES_EXPM1L
# if defined LMI_COMO_WITH_MINGW
extern "C" double expm1(double);
-double expm1l(double x) {return expm1(x);}
+inline double expm1l(double x) {return expm1(x);}
# else // !defined LMI_COMO_WITH_MINGW
extern "C" long double expm1l(long double);
# endif // !defined LMI_COMO_WITH_MINGW
@@ -54,7 +54,7 @@
#if !defined LMI_COMPILER_PROVIDES_LOG1PL
# if defined LMI_COMO_WITH_MINGW
extern "C" double log1p(double);
-double log1pl(double x) {return log1p(x);}
+inline double log1pl(double x) {return log1p(x);}
# else // !defined LMI_COMO_WITH_MINGW
extern "C" long double log1pl(long double);
# endif // !defined LMI_COMO_WITH_MINGW
Modified: lmi/trunk/objects.make
===================================================================
--- lmi/trunk/objects.make 2010-12-17 01:11:46 UTC (rev 5129)
+++ lmi/trunk/objects.make 2010-12-18 17:07:13 UTC (rev 5130)
@@ -752,6 +752,7 @@
mortality_rates_test$(EXEEXT): \
$(common_test_objects) \
+ expm1.o \
ihs_mortal.o \
mortality_rates_test.o \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5130] Resolve defects identified with Comeau,
Greg Chicares <=