hufo-smoke won't build with Sun C++ compiler
Status: Beta
Brought to you by:
tugrul
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.
Patch to oglc_src/FirePart.h