View Issue Details

IDProjectCategoryView StatusLast Update
0004204Spring engineGeneralpublic2013-12-09 21:57
ReporterAMDmi3 Assigned ToKloot  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version95.0.1+git 
Summary0004204: float3.{h,cpp} relies on undefined behavious and does not compile with clang/libc++
Descriptionfloat3.{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.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-12-09 18:02 AMDmi3 New Issue
2013-12-09 21:57 Kloot Changeset attached => spring develop 7245714c
2013-12-09 21:57 Kloot Assigned To => Kloot
2013-12-09 21:57 Kloot Status new => resolved
2013-12-09 21:57 Kloot Resolution open => fixed