Package: stellarium
Version: 0.8.0-1
Severity: serious
Tags: patch

This is serious now since GCC 4.1 will become the default in the next
few days.

> Automatic build of stellarium_0.8.0-1 on test.track.rz.uni-augsburg.de by 
> sbuild/powerpc 0.44
...
> make[4]: Entering directory `/build/tbm/stellarium-0.8.0/src'
> source='main.cpp' object='main.o' libtool=no \
>       depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
>       depmode=gcc3 /bin/sh ../depcomp \
>       powerpc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src/glpng 
> -I../src/stellplanet -I../src/stellastro -I../src/iniparser -I../intl    
> -Wall -g -O2 -Wall -I/usr/include/freetype2 -I/usr/include/SDL 
> -D_GNU_SOURCE=1 -D_REENTRANT -c -o main.o `test -f 'main.cpp' || echo 
> './'`main.cpp
> s_gui.h:513: error: extra qualification 's_gui::ScrollBar::' on member 
> 'adjustSize'
> s_gui.h:841: error: extra qualification 's_gui::City::' on member 'City'
> make[4]: *** [main.o] Error 1
> make[4]: Leaving directory `/build/tbm/stellarium-0.8.0/src'

--- src/s_gui.h~        2006-06-06 11:14:07.000000000 +0100
+++ src/s_gui.h 2006-06-06 11:14:19.000000000 +0100
@@ -510,7 +510,7 @@
                
        private:
                callback<void> onChangeCallback;
-               void ScrollBar::adjustSize(void);
+               void adjustSize(void);
                Button scrollBt;
                bool vertical;
                unsigned int scrollOffset, scrollSize;
@@ -837,7 +837,7 @@
        class City 
        {
        public:
-               City::City(const string& _name = "", const string& _state = "", 
const string& _country = "", 
+               City(const string& _name = "", const string& _state = "", const 
string& _country = "", 
                        double _longitude = 0.f, double _latitude = 0.f, float 
zone = 0, int _showatzoom = 0, int _altitude = 0);
                void addCity(const string& _name = "", const string& _state = 
"", const string& _country = "", 
                        double _longitude = 0.f, double _latitude = 0.f, float 
zone = 0, int _showatzoom = 0, int _altitude = 0);

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to