Package: stellarium
Version: 0.7.1-1
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of stellarium_0.7.1-1 on bigsur by sbuild/mips 1.106
...
>       mips-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/SDL -D_REENTRANT -c -o main.o `test -f 
> 'main.cpp' || echo './'`main.cpp
> projector.h:78: error: extra qualification 'Projector::' on member 
> 'draw_viewport_shape'
> observator.h:115: error: extra qualification 'Observator::' on member 
> 'string_to_s_date_format'
> observator.h:116: error: extra qualification 'Observator::' on member 
> 's_date_format_to_string'
> stel_command_interface.h:46: error: extra qualification 
> 'StelCommandInterface::' on member 'execute_command'
> stel_command_interface.h:47: error: extra qualification 
> 'StelCommandInterface::' on member 'execute_command'
> stel_command_interface.h:48: error: extra qualification 
> 'StelCommandInterface::' on member 'execute_command'
> stel_ui.h:319: error: extra qualification 'stel_ui::' on member 
> 'create_tree_from_time_zone_file'
> make[4]: *** [main.o] Error 1


--- ./src/projector.h~  2006-03-19 13:07:53.000000000 +0000
+++ ./src/projector.h   2006-03-19 13:08:00.000000000 +0000
@@ -75,7 +75,7 @@
        virtual void set_viewport(int x, int y, int w, int h);
 
        // Fill with black around the circle
-       void Projector::draw_viewport_shape(void);
+       void draw_viewport_shape(void);
 
        int viewW(void) const {return vec_viewport[2];}
        int viewH(void) const {return vec_viewport[3];}
--- ./src/observator.h~ 2006-03-19 13:08:09.000000000 +0000
+++ ./src/observator.h  2006-03-19 13:08:17.000000000 +0000
@@ -112,8 +112,8 @@
        string s_time_format_to_string(S_TIME_FORMAT) const;
 
        // Convert the date format enum to its associated string and reverse
-       S_DATE_FORMAT Observator::string_to_s_date_format(const string& df) 
const;
-       string Observator::s_date_format_to_string(S_DATE_FORMAT df) const;
+       S_DATE_FORMAT string_to_s_date_format(const string& df) const;
+       string s_date_format_to_string(S_DATE_FORMAT df) const;
 
        // for changing position
        bool flag_move_to;
--- ./src/stel_command_interface.h~     2006-03-19 13:08:53.000000000 +0000
+++ ./src/stel_command_interface.h      2006-03-19 13:09:02.000000000 +0000
@@ -43,9 +43,9 @@
  public:
   StelCommandInterface(stel_core * core);
   virtual ~StelCommandInterface();
-  virtual int StelCommandInterface::execute_command(string commandline);
-  virtual int StelCommandInterface::execute_command(string command, double 
arg);
-  virtual int StelCommandInterface::execute_command(string command, int arg);
+  virtual int execute_command(string commandline);
+  virtual int execute_command(string command, double arg);
+  virtual int execute_command(string command, int arg);
   virtual int execute_command(string command, unsigned long int &wait, bool 
trusted);
   virtual int set_flag(string name, string value, bool &newval, bool trusted);
   void update(int delta_time);
--- ./src/stel_ui.h~    2006-03-19 13:09:15.000000000 +0000
+++ ./src/stel_ui.h     2006-03-19 13:09:20.000000000 +0000
@@ -316,7 +316,7 @@
        void tui_cb_sky_time();        // change effect parameters
 
        // Parse a file of type /usr/share/zoneinfo/zone.tab
-       s_tui::MultiSet_item<string>* 
stel_ui::create_tree_from_time_zone_file(const string& zonetab);
+       s_tui::MultiSet_item<string>* create_tree_from_time_zone_file(const 
string& zonetab);
 
        bool ScriptDirectoryRead;
 };

-- 
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