<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>65141</bug_id>
          
          <creation_ts>2004-09-23 14:41 0000</creation_ts>
          <short_desc>Stellarium fails to compile with GCC 3.4</short_desc>
          <delta_ts>2004-10-07 06:00:49 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GCC Porting</component>
          <version>2004.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>will@johnstonclan.net</reporter>
          <assigned_to>gcc-porting@gentoo.org</assigned_to>
          <cc>sci@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>will@johnstonclan.net</who>
            <bug_when>2004-09-23 14:41:54 0000</bug_when>
            <thetext>Stellarium dies on compile with GCC 3.4

Here is the error messages:

if g++ -DHAVE_CONFIG_H -I. -I. -I. -I../src/glpng -I../src/stellplanet -I../src/stellastro -I../src/iniparser    -Wall -s -O3 -I/usr/include/SDL -D_REENTRANT -MT stel_sdl.o -MD -MP -MF &quot;.deps/stel_sdl.Tpo&quot; \
  -c -o stel_sdl.o `test -f &apos;stel_sdl.cpp&apos; || echo &apos;./&apos;`stel_sdl.cpp; \
then mv -f &quot;.deps/stel_sdl.Tpo&quot; &quot;.deps/stel_sdl.Po&quot;; \
else rm -f &quot;.deps/stel_sdl.Tpo&quot;; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I../src/glpng -I../src/stellplanet -I../src/stellastro -I../src/iniparser    -Wall -s -O3 -I/usr/include/SDL -D_REENTRANT -MT stel_core.o -MD -MP -MF &quot;.deps/stel_core.Tpo&quot; \
  -c -o stel_core.o `test -f &apos;stel_core.cpp&apos; || echo &apos;./&apos;`stel_core.cpp; \
then mv -f &quot;.deps/stel_core.Tpo&quot; &quot;.deps/stel_core.Po&quot;; \
else rm -f &quot;.deps/stel_core.Tpo&quot;; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I../src/glpng -I../src/stellplanet -I../src/stellastro -I../src/iniparser    -Wall -s -O3 -I/usr/include/SDL -D_REENTRANT -MT stel_utility.o -MD -MP -MF &quot;.deps/stel_utility.Tpo&quot; \
  -c -o stel_utility.o `test -f &apos;stel_utility.cpp&apos; || echo &apos;./&apos;`stel_utility.cpp; \
then mv -f &quot;.deps/stel_utility.Tpo&quot; &quot;.deps/stel_utility.Po&quot;; \
else rm -f &quot;.deps/stel_utility.Tpo&quot;; exit 1; \
fi
In file included from stel_utility.h:25,
                 from stel_utility.cpp:28:
vecmath.h: In static member function `static Matrix4&lt;T&gt; Matrix4&lt;T&gt;::rotation(const Vector3&lt;T&gt;&amp;)&apos;:
vecmath.h:764: error: `angle&apos; undeclared (first use this function)
vecmath.h:764: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[3]: *** [stel_utility.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from stel_object.h:23,
                 from navigator.h:24,
                 from stel_core.h:29,
                 from main.cpp:25:
vecmath.h: In static member function `static Matrix4&lt;T&gt; Matrix4&lt;T&gt;::rotation(const Vector3&lt;T&gt;&amp;)&apos;:
vecmath.h:764: error: `angle&apos; undeclared (first use this function)
vecmath.h:764: error: (Each undeclared identifier is reported only once for each function it appears in.)
vecmath.h:764: error: no matching function for call to `cos(&lt;type error&gt;)&apos;
/usr/include/bits/mathcalls.h:64: note: candidates are: double cos(double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:185: note:      long double std::cos(long double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:181: note:      float std::cos(float)
vecmath.h:765: error: no matching function for call to `sin(&lt;type error&gt;)&apos;
/usr/include/bits/mathcalls.h:66: note: candidates are: double sin(double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:371: note:      long double std::sin(long double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:367: note:      float std::sin(float)
In file included from callbacks.hpp:25,
                 from s_gui.h:43,
                 from stel_core.h:39,
                 from main.cpp:25:
callback_helpers.hpp: At global scope:
callback_helpers.hpp:207: error: non-template `Result&apos; used as template
callback_helpers.hpp:207: note: use `typename boost::details::Selector&lt;Condition&gt;::RET::template Result&apos; to indicate that it is a template
callback_helpers.hpp:207: error: declaration does not declare anything
In file included from stel_core.h:39,
                 from main.cpp:25:
callback_helpers.hpp: In instantiation of `boost::details::SWITCH&lt;0, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;:
callback_helpers.hpp:275:   instantiated from `boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
s_gui.h:175:   instantiated from here
callback_helpers.hpp:242: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;0, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp:246: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;0, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;:
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
s_gui.h:175:   instantiated from here
callback_helpers.hpp:275: error: no type named `RET&apos; in `struct boost::details::SWITCH&lt;0, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callbacks.hpp: In instantiation of `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;:
s_gui.h:175:   instantiated from here
callbacks.hpp:45: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
callbacks.hpp:86: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
In file included from solarsystem.h:27,
                 from stel_core.h:41,
                 from main.cpp:25:
callback_helpers.hpp: In instantiation of `boost::details::SWITCH&lt;2, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;:
callback_helpers.hpp:275:   instantiated from `boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, double, double*&gt;&apos;
planet.h:194:   instantiated from here
callback_helpers.hpp:242: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;2, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp:246: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;2, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;:
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, double, double*&gt;&apos;
planet.h:194:   instantiated from here
callback_helpers.hpp:275: error: no type named `RET&apos; in `struct boost::details::SWITCH&lt;2, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callbacks.hpp: In instantiation of `boost::callback&lt;void, double, double*&gt;&apos;:
planet.h:194:   instantiated from here
callbacks.hpp:45: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;
callbacks.hpp:86: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;
callbacks.hpp: In member function `boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;&amp; boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::operator=(const boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;&amp;) [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_gui.h:169:   instantiated from here
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp:69: error: `mFunctor&apos; undeclared (first use this function)
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp: In member function `bool boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::empty() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_gui.h:302:   instantiated from here
callbacks.hpp:80: error: `mFunctor&apos; undeclared (first use this function)
callbacks.hpp: In member function `RETURN_TYPE boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::operator()() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_gui.h:302:   instantiated from here
callbacks.hpp:75: error: `mFunctor&apos; undeclared (first use this function)
callbacks.hpp:75: error: return-statement with a value, in function returning &apos;void&apos;
callbacks.hpp: In constructor `boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_tui.h:105:   instantiated from here
callbacks.hpp:53: error: unnamed initializer for `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;, which has no base classes
callbacks.hpp: In destructor `boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::~callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_tui.h:105:   instantiated from here
callbacks.hpp:51: error: `mFunctor&apos; undeclared (first use this function)
make[3]: *** [main.o] Error 1
In file included from stel_object.h:23,
                 from navigator.h:24,
                 from stel_core.h:29,
                 from stel_sdl.h:25,
                 from stel_sdl.cpp:19:
vecmath.h: In static member function `static Matrix4&lt;T&gt; Matrix4&lt;T&gt;::rotation(const Vector3&lt;T&gt;&amp;)&apos;:
vecmath.h:764: error: `angle&apos; undeclared (first use this function)
vecmath.h:764: error: (Each undeclared identifier is reported only once for each function it appears in.)
vecmath.h:764: error: no matching function for call to `cos(&lt;type error&gt;)&apos;
/usr/include/bits/mathcalls.h:64: note: candidates are: double cos(double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:185: note:      long double std::cos(long double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:181: note:      float std::cos(float)
vecmath.h:765: error: no matching function for call to `sin(&lt;type error&gt;)&apos;
/usr/include/bits/mathcalls.h:66: note: candidates are: double sin(double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:371: note:      long double std::sin(long double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:367: note:      float std::sin(float)
In file included from callbacks.hpp:25,
                 from s_gui.h:43,
                 from stel_core.h:39,
                 from stel_sdl.h:25,
                 from stel_sdl.cpp:19:
callback_helpers.hpp: At global scope:
callback_helpers.hpp:207: error: non-template `Result&apos; used as template
callback_helpers.hpp:207: note: use `typename boost::details::Selector&lt;Condition&gt;::RET::template Result&apos; to indicate that it is a template
callback_helpers.hpp:207: error: declaration does not declare anything
In file included from stel_core.h:39,
                 from stel_sdl.h:25,
                 from stel_sdl.cpp:19:
callback_helpers.hpp: In instantiation of `boost::details::SWITCH&lt;0, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;:
callback_helpers.hpp:275:   instantiated from `boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
s_gui.h:175:   instantiated from here
callback_helpers.hpp:242: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;0, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp:246: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;0, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;:
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
s_gui.h:175:   instantiated from here
callback_helpers.hpp:275: error: no type named `RET&apos; in `struct boost::details::SWITCH&lt;0, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callbacks.hpp: In instantiation of `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;:
s_gui.h:175:   instantiated from here
callbacks.hpp:45: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
callbacks.hpp:86: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
In file included from solarsystem.h:27,
                 from stel_core.h:41,
                 from stel_sdl.h:25,
                 from stel_sdl.cpp:19:
callback_helpers.hpp: In instantiation of `boost::details::SWITCH&lt;2, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;:
callback_helpers.hpp:275:   instantiated from `boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, double, double*&gt;&apos;
planet.h:194:   instantiated from here
callback_helpers.hpp:242: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;2, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp:246: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;2, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;:
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, double, double*&gt;&apos;
planet.h:194:   instantiated from here
callback_helpers.hpp:275: error: no type named `RET&apos; in `struct boost::details::SWITCH&lt;2, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callbacks.hpp: In instantiation of `boost::callback&lt;void, double, double*&gt;&apos;:
planet.h:194:   instantiated from here
callbacks.hpp:45: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;
callbacks.hpp:86: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;
callbacks.hpp: In member function `boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;&amp; boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::operator=(const boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;&amp;) [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_gui.h:169:   instantiated from here
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp:69: error: `mFunctor&apos; undeclared (first use this function)
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp: In member function `bool boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::empty() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_gui.h:302:   instantiated from here
callbacks.hpp:80: error: `mFunctor&apos; undeclared (first use this function)
callbacks.hpp: In member function `RETURN_TYPE boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::operator()() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_gui.h:302:   instantiated from here
callbacks.hpp:75: error: `mFunctor&apos; undeclared (first use this function)
callbacks.hpp:75: error: return-statement with a value, in function returning &apos;void&apos;
callbacks.hpp: In constructor `boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_tui.h:105:   instantiated from here
callbacks.hpp:53: error: unnamed initializer for `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;, which has no base classes
callbacks.hpp: In destructor `boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::~callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_tui.h:105:   instantiated from here
callbacks.hpp:51: error: `mFunctor&apos; undeclared (first use this function)
make[3]: *** [stel_sdl.o] Error 1
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/stellarium-0.6.0/work/stellarium-0.6.0/src&apos;
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/stellarium-0.6.0/work/stellarium-0.6.0/src&apos;
make: *** [all-recursive] Error 1

!!! ERROR: app-sci/stellarium-0.6.0 failed.
!!! Function src_compile, Line 502, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

Computer ~ # In file included from stel_object.h:23,
                 from navigator.h:24,
                 from stel_core.h:29,
                 from stel_core.cpp:22:
vecmath.h: In static member function `static Matrix4&lt;T&gt; Matrix4&lt;T&gt;::rotation(const Vector3&lt;T&gt;&amp;)&apos;:
vecmath.h:764: error: `angle&apos; undeclared (first use this function)
vecmath.h:764: error: (Each undeclared identifier is reported only once for each function it appears in.)
vecmath.h:764: error: no matching function for call to `cos(&lt;type error&gt;)&apos;
/usr/include/bits/mathcalls.h:64: note: candidates are: double cos(double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:185: note:      long double std::cos(long double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:181: note:      float std::cos(float)
vecmath.h:765: error: no matching function for call to `sin(&lt;type error&gt;)&apos;
/usr/include/bits/mathcalls.h:66: note: candidates are: double sin(double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:371: note:      long double std::sin(long double)
/usr/lib/gcc/i686-pc-linux-gnu/3.4.2/include/g++-v3/cmath:367: note:      float std::sin(float)
In file included from callbacks.hpp:25,
                 from s_gui.h:43,
                 from stel_core.h:39,
                 from stel_core.cpp:22:
callback_helpers.hpp: At global scope:
callback_helpers.hpp:207: error: non-template `Result&apos; used as template
callback_helpers.hpp:207: note: use `typename boost::details::Selector&lt;Condition&gt;::RET::template Result&apos; to indicate that it is a template
callback_helpers.hpp:207: error: declaration does not declare anything
In file included from stel_core.h:39,
                 from stel_core.cpp:22:
callback_helpers.hpp: In instantiation of `boost::details::SWITCH&lt;0, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;:
callback_helpers.hpp:275:   instantiated from `boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
s_gui.h:175:   instantiated from here
callback_helpers.hpp:242: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;0, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp:246: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;0, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;:
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
s_gui.h:175:   instantiated from here
callback_helpers.hpp:275: error: no type named `RET&apos; in `struct boost::details::SWITCH&lt;0, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, boost::details::unused_arg&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callbacks.hpp: In instantiation of `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;:
s_gui.h:175:   instantiated from here
callbacks.hpp:45: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
callbacks.hpp:86: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;
In file included from solarsystem.h:27,
                 from stel_core.h:41,
                 from stel_core.cpp:22:
callback_helpers.hpp: In instantiation of `boost::details::SWITCH&lt;2, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;:
callback_helpers.hpp:275:   instantiated from `boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, double, double*&gt;&apos;
planet.h:194:   instantiated from here
callback_helpers.hpp:242: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;2, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp:246: error: no type named `RET&apos; in `struct boost::details::IF&lt; false, boost::details::NilCase, boost::details::SWITCH&lt;2, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callback_helpers.hpp: In instantiation of `boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;:
callbacks.hpp:45:   instantiated from `boost::callback&lt;void, double, double*&gt;&apos;
planet.h:194:   instantiated from here
callback_helpers.hpp:275: error: no type named `RET&apos; in `struct boost::details::SWITCH&lt;2, boost::details::CASE&lt;0, boost::details::base_call_functor0&lt;void&gt;, boost::details::CASE&lt;1, boost::details::base_call_functor1&lt;void, double&gt;, boost::details::CASE&lt;2, boost::details::base_call_functor2&lt;void, double, double*&gt;, boost::details::NilCase&gt; &gt; &gt; &gt;&apos;
callbacks.hpp: In instantiation of `boost::callback&lt;void, double, double*&gt;&apos;:
planet.h:194:   instantiated from here
callbacks.hpp:45: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;
callbacks.hpp:86: error: no type named `RET&apos; in `struct boost::details::generate_base_functor&lt;void, double, double*&gt;&apos;
callbacks.hpp: In member function `boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;&amp; boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::operator=(const boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;&amp;) [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_gui.h:169:   instantiated from here
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp:69: error: `mFunctor&apos; undeclared (first use this function)
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp:69: error: &apos;const class boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos; has no member named &apos;mFunctor&apos;
callbacks.hpp: In member function `bool boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::empty() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_gui.h:302:   instantiated from here
callbacks.hpp:80: error: `mFunctor&apos; undeclared (first use this function)
callbacks.hpp: In member function `RETURN_TYPE boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::operator()() const [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_gui.h:302:   instantiated from here
callbacks.hpp:75: error: `mFunctor&apos; undeclared (first use this function)
callbacks.hpp:75: error: return-statement with a value, in function returning &apos;void&apos;
callbacks.hpp: In constructor `boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_tui.h:105:   instantiated from here
callbacks.hpp:53: error: unnamed initializer for `boost::callback&lt;void, boost::details::unused_arg, boost::details::unused_arg&gt;&apos;, which has no base classes
callbacks.hpp: In destructor `boost::callback&lt;RETURN_TYPE, ARG1, ARG2&gt;::~callback() [with RETURN_TYPE = void, ARG1 = boost::details::unused_arg, ARG2 = boost::details::unused_arg]&apos;:
s_tui.h:105:   instantiated from here
callbacks.hpp:51: error: `mFunctor&apos; undeclared (first use this function)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ribosome@gentoo.org</who>
            <bug_when>2004-10-06 10:29:23 0000</bug_when>
            <thetext>I&apos;m CCing this to the science team, which is in charge of the Stellarium package.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2004-10-07 06:00:49 0000</bug_when>
            <thetext>Was easier to fix than I expected from the report :-)
Thanks for reporting. Next time please include the version number and emerge info output. Didn&apos;t matter much in this case, but one never knows.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>