2025-07-22 07:12 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004204Spring engineGeneralpublic2013-12-09 21:57
ReporterAMDmi3 
Assigned ToKloot 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version95.0.1+git 
Target VersionFixed in Version 
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
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-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
+Issue History