[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi] strtoFDL_msvc linking fix
From: |
Václav Slavík |
Subject: |
[lmi] strtoFDL_msvc linking fix |
Date: |
Fri, 8 Jun 2012 19:26:41 +0200 |
Hi,
this small patch fixes VC’s complains about multiple definitions of
strtoFDL_msvc() in more than one object file:
diff --git a/numeric_io_traits.hpp b/numeric_io_traits.hpp
index be95498..8b1726c 100644
--- a/numeric_io_traits.hpp
+++ b/numeric_io_traits.hpp
@@ -333,7 +333,7 @@ template<> struct numeric_conversion_traits<Floating>
/// COMPILER !! This C runtime's strtod() doesn't understand C99's
/// "inf[inity]". Work around that, but don't worry about NaNs.
-double strtoFDL_msvc(char const* nptr, char** endptr)
+inline double strtoFDL_msvc(char const* nptr, char** endptr)
{
if(!nptr || !endptr)
{
Thanks,
Vaclav
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi] strtoFDL_msvc linking fix,
Václav Slavík <=