Share

Really Slick Screensavers GLX Port

Tracker: Bugs

5 hufo-smoke won't build with Sun C++ compiler - ID: 2767450
Last Update: Settings changed ( 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.


Alan Coopersmith ( acoopersmith ) - 2009-04-16 04:20

5

Open

None

Tugrul Galatali

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
sun-cxx.patch Patch to oglc_src/FirePart.h Download

Changes ( 2 )

Field Old Value Date By
assigned_to nobody 2009-04-22 00:54 tugrul
File Added 322997: sun-cxx.patch 2009-04-16 04:20 acoopersmith