Opened 10 years ago
Last modified 5 years ago
#2780 closed defect
test_parse failing on OS X Mavericks — at Version 4
Reported by: | historic_bruno | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 24 |
Component: | Core engine | Keywords: | |
Cc: | Krinkle, coldphoenix | Patch: |
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 (4)
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.)
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++