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.
Tugrul Galatali
None
None
Public
| Filename | Description | Download |
|---|---|---|
| sun-cxx.patch | Patch to oglc_src/FirePart.h | Download |
| 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 |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use