FS#15096 - [celestia] gcc-4.4.0 build errors (patch included)
Attached to Project:
Arch Linux
Opened by Baho Utot (baho-utot) - Saturday, 13 June 2009, 22:25 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 08 July 2009, 06:58 GMT
Opened by Baho Utot (baho-utot) - Saturday, 13 June 2009, 22:25 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 08 July 2009, 06:58 GMT
|
Details
Description:
../celutil/color.h: In member function 'float Color::green() const': ../celutil/color.h:56: warning: conversion to 'float' from 'int' may alter its value ../celutil/color.h: In member function 'float Color::blue() const': ../celutil/color.h:61: warning: conversion to 'float' from 'int' may alter its value ../celutil/color.h: In member function 'float Color::alpha() const': ../celutil/color.h:66: warning: conversion to 'float' from 'int' may alter its value In file included from ../celestia/celestiacore.h:18, from command.cpp:12: ../celengine/overlay.h: At global scope: ../celengine/overlay.h:30: error: 'EOF' was not declared in this scope In file included from command.cpp:12: ../celestia/celestiacore.h:38: warning: declaration 'class astro::Date' does not declare anything make[3]: *** [command.o] Error 1 make[3]: Leaving directory `/build/src/celestia-1.5.1/src/celengine' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/src/celestia-1.5.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/src/celestia-1.5.1' make: *** [all] Error 2 ./celutil/color.h: In member function ‘float Color::red() const’: ../celutil/color.h:51: warning: conversion to ‘float’ from ‘int’ may alter its value ../celutil/color.h: In member function ‘float Color::green() const’: ../celutil/color.h:56: warning: conversion to ‘float’ from ‘int’ may alter its value ../celutil/color.h: In member function ‘float Color::blue() const’: ../celutil/color.h:61: warning: conversion to ‘float’ from ‘int’ may alter its value ../celutil/color.h: In member function ‘float Color::alpha() const’: ../celutil/color.h:66: warning: conversion to ‘float’ from ‘int’ may alter its value star.cpp: In static member function ‘static StarDetails* StarDetails::GetNormalStarDetails(StellarClass::SpectralClass, unsigned int, StellarClass::LuminosityClass)’: star.cpp:443: error: ‘sprintf’ was not declared in this scope star.cpp: In static member function ‘static StarDetails* StarDetails::GetWhiteDwarfDetails(StellarClass::SpectralClass, unsigned int)’: star.cpp:642: error: ‘sprintf’ was not declared in this scope make[3]: *** [star.o] Error 1 make[3]: Leaving directory `/home/scrat/Desktop/Fix/celestia/src/celestia-1.5.1/src/celengine' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/scrat/Desktop/Fix/celestia/src/celestia-1.5.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/scrat/Desktop/Fix/celestia/src/celestia-1.5.1' make: *** [all] Error 2 |
This task depends upon
Closed by Eric Belanger (Snowman)
Wednesday, 08 July 2009, 06:58 GMT
Reason for closing: Fixed
Additional comments about closing: patch was committed to svn to rebuild celestia against libjpeg in testing
Wednesday, 08 July 2009, 06:58 GMT
Reason for closing: Fixed
Additional comments about closing: patch was committed to svn to rebuild celestia against libjpeg in testing
gcc-4.4.0.patch