| commit | 484843fcfb974e6217a976098988d34ef8290850 | [log] [tgz] |
|---|---|---|
| author | Andrew Stitcher <astitcher@apache.org> | Thu Aug 11 23:55:03 2016 -0400 |
| committer | Andrew Stitcher <astitcher@apache.org> | Thu Aug 11 23:55:03 2016 -0400 |
| tree | 8870ec2255a27edcd54add2022ae5fbcdbc1a271 | |
| parent | 63625706844ec5c76ce729c87cae5c90e092f90a [diff] |
QPID-7390: strtod isn't really in std namespace(!) - This trips up older versions of gcc
diff --git a/src/qpid/sys/posix/Time.cpp b/src/qpid/sys/posix/Time.cpp index d6ae0b6..d7774d3 100644 --- a/src/qpid/sys/posix/Time.cpp +++ b/src/qpid/sys/posix/Time.cpp
@@ -107,7 +107,7 @@ const char* start = s.c_str(); char* end; - double number = std::strtod(start, &end); + double number = strtod(start, &end); // check whether we could do any conversion if (start==end) { i.setstate(std::ios::failbit);