View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004204 | Spring engine | General | public | 2013-12-09 18:02 | 2013-12-09 21:57 | ||||
Reporter | AMDmi3 | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 95.0.1+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004204: float3.{h,cpp} relies on undefined behavious and does not compile with clang/libc++ | ||||||||
Description | float3.{h,cpp} adds function overloads (min(), max(), fabs() for float3) into std namespace. This is undefined behavior and doesn't compile with libc++ (standard c++ library from llvm project). At first I thought it was a problem of libc++, and here's related bug report and clarification of why it is not: http://llvm.org/bugs/show_bug.cgi?id=18176 It has also a hint on how fabs() may be handled, while min()/max() seem to be less of a problem as they may just be converted to template specializations. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|