View Issue Details

IDProjectCategoryView StatusLast Update
0000621Spring engineGeneralpublic2007-09-02 17:03
Reporterpbrook Assigned ToKloot  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000621: [patch] Build failure with gcc4.2
DescriptionTrying to build spring on recent Debian unstable (gcc4.2) fails with:

rts/Game/Camera/FreeController.cpp:228: error: no matching function for call to 'min(double, float)'

Attached patch fixes this by using fabsf instead of fabs.
Additional InformationThere are many other bogus-looking uses of fabs.
However these don't effect function overloading, so should be optimized to fabsf by the compiler.
TagsNo tags attached.
Attached Files
patch (Attachment missing)
Checked infolog.txt for Errors

Activities

Kloot

2007-09-02 17:03

developer   ~0001211

fixed in r4296, thank you

Issue History

Date Modified Username Field Change
2007-09-02 16:10 pbrook New Issue
2007-09-02 16:10 pbrook File Added: patch
2007-09-02 17:03 Kloot Note Added: 0001211
2007-09-02 17:03 Kloot Status new => resolved
2007-09-02 17:03 Kloot Resolution open => fixed
2007-09-02 17:03 Kloot Assigned To => Kloot