#2780 closed defect (fixed)
test_parse failing on OS X Mavericks
Reported by: | historic_bruno | Owned by: | wraitii |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 24 |
Component: | Core engine | Keywords: | |
Cc: | Krinkle, coldphoenix | Patch: | phab:D1988 |
Description (last modified by )
In TestCStr::test_parse: /Users/ben/GitHub/0ad/source/ps/tests/test_CStr.h:136: Error: Expected (str3.ToFloat() == 3.0f), found (0.0000 != 3.0000) /Users/ben/GitHub/0ad/source/ps/tests/test_CStr.h:137: Error: Expected (str3.ToDouble() == 3.0), found (0.0000 != 3.0000)
OS: OS X Mavericks 10.9.4 Compiler:
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.3.0 Thread model: posix libc++
Change History (9)
comment:1 by , 10 years ago
comment:4 by , 7 years ago
Description: | modified (diff) |
---|
Working LLVM bug report link: https://bugs.llvm.org/show_bug.cgi?id=17782
C++ LWG issue: https://cplusplus.github.io/LWG/lwg-active.html#2381
(And just to show that we aren't the only ones hitting this: https://savannah.gnu.org/bugs/?47413; there is also some (closed, as they added a workaround) bug report for chromium)
(Also closed #4653 as a dupe.)
comment:5 by , 5 years ago
Cc: | added |
---|
comment:7 by , 5 years ago
Patch: | → phab:D1988 |
---|
Being worked on by wraitii at https://code.wildfiregames.com/D1988.
comment:9 by , 5 years ago
Milestone: | Backlog → Alpha 24 |
---|
Note:
See TracTickets
for help on using tickets.
Hi - I've seen and reported this a while ago.
If I remember correctly str3 in that test is equal to "3.0t" or something similar. Seems like a corner case tripping up with libc++