Menu

#10 hufo-smoke won't build with Sun C++ compiler

open
None
5
2009-04-22
2009-04-16
No

The Sun C++ compiler reports errors building hufo-smoke:

"FirePart.h", line 125: Error: Overloading ambiguity between "std::pow(double, double)" and "std::pow(float, float)".
"FirePart.h", line 165: Error: Overloading ambiguity between "std::pow(double, double)" and "std::pow(float, float)".

Defining the FIREDA constant as a float instead of a double resolves
this by making both arguments to the function be float, instead of one float
and one double. The patch from the OpenSolaris package to do this is
attached.

Discussion

  • Alan Coopersmith

    Patch to oglc_src/FirePart.h

     
  • Tugrul Galatali

    Tugrul Galatali - 2009-04-22
    • assigned_to: nobody --> tugrul
     

Log in to post a comment.