You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2016/08/11 19:11:20 UTC
[jira] [Created] (QPID-7390) libc++: Work around seeming library
bug
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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org