Package: realtimebattle
Version: 1.0.8-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 realtimebattle_1.0.8-1 on bigsur by sbuild/mips 1.94
...
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -DXTHREADS 
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/X11R6/include 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -DNDEBUG  -DNO_NETWORK 
> -O2  -MT realtimebattle-ArenaBase.o -MD -MP -MF 
> ".deps/realtimebattle-ArenaBase.Tpo" -c -o realtimebattle-ArenaBase.o `test 
> -f 'ArenaBase.cc' || echo './'`ArenaBase.cc; \
>       then mv -f ".deps/realtimebattle-ArenaBase.Tpo" 
> ".deps/realtimebattle-ArenaBase.Po"; else rm -f 
> ".deps/realtimebattle-ArenaBase.Tpo"; exit 1; fi
> ArenaBase.cc: In member function 'bool 
> ArenaBase::parse_arena_line(std::ifstream&, double&, int&, double&)':
> ArenaBase.cc:562: error: 'angle2vec' was not declared in this scope
> make[3]: *** [realtimebattle-ArenaBase.o] Error 1


--- ./include/Vector2D.h~       2006-03-17 03:22:54.000000000 +0000
+++ ./include/Vector2D.h        2006-03-17 03:23:08.000000000 +0000
@@ -24,6 +24,9 @@
 
 using namespace std;
 
+class Vector2D;
+Vector2D angle2vec(const double);
+
 class Vector2D
 {
 public:
--- ./team-framework/parser/configurationparser.h~      2006-03-17 
03:29:10.000000000 +0000
+++ ./team-framework/parser/configurationparser.h       2006-03-17 
03:29:14.000000000 +0000
@@ -51,7 +51,7 @@
        * Public stuff
        */
        public:
-               ConfigurationParser::ConfigurationParser() throw 
(bad_exception);
+               ConfigurationParser() throw (bad_exception);
                void addFile(const string& filename) throw(ParserException, 
bad_exception);
                const map<string, map<string, string> >& getConfigurationData() 
const throw();
        /*

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