[ 
https://issues.apache.org/jira/browse/QPID-7390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418324#comment-15418324
 ] 

ASF subversion and git services commented on QPID-7390:
-------------------------------------------------------

Commit 484843fcfb974e6217a976098988d34ef8290850 in qpid-cpp's branch 
refs/heads/master from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-cpp.git;h=484843f ]

QPID-7390: strtod isn't really in std namespace(!)
- This trips up older versions of gcc


> 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]

Reply via email to