Andrew Stitcher created QPID-7390:
-------------------------------------
Summary: libc++: Work around seeming library bug
Key: QPID-7390
URL: https://issues.apache.org/jira/browse/QPID-7390
Project: Qpid
Issue Type: Bug
Environment: freeBSD 10, clang 3.4, libc++
Reporter: Andrew Stitcher
Assignee: Andrew Stitcher
It seems that libc++ doesn't like to see the character 'n' after converting an
istream to a double!
For instance "1.23ns" will cause operator>> to fail rather than convert 1.23
and then stop.
I think this is a bug in libc++, probably related to handling "nan"
(Not-a-number) values.
We can work around this by using strtod() rather than operator>> for the
numeric conversion.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]