Package: aldo
Version: 0.7.3-1
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.

You can reproduce this problem with gcc-snapshot (20070326-1 or higher)
from unstable. (Currently not available for i386, but for amd64, powerpc
and ia64.  I hope to have i386 binaries in the archive in the near
future.)

> Automatic build of aldo_0.7.3-1 on coconut0 by sbuild/ia64 0.49
...
> if ia64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include   -ansi -Wall 
> -pedantic -g -O2 -MT aldo-menu.o -MD -MP -MF ".deps/aldo-menu.Tpo" -c -o 
> aldo-menu.o `test -f 'menu.cc' || echo './'`menu.cc; \
>       then mv -f ".deps/aldo-menu.Tpo" ".deps/aldo-menu.Po"; else rm -f 
> ".deps/aldo-menu.Tpo"; exit 1; fi
> In file included from menu.cc:27:
> ../include/menu.hh:59: error: extra ';'
> ../include/menu.hh:63: error: extra ';'
> ../include/menu.hh:67: error: extra ';'
> make[3]: *** [aldo-menu.o] Error 1
> make[3]: Leaving directory `/build/tbm/aldo-0.7.3/src'

--- include/menu.hh~    2007-04-25 14:49:24.000000000 +0000
+++ include/menu.hh     2007-04-25 14:49:31.000000000 +0000
@@ -56,15 +56,15 @@
     public:
        Item()
            :m_id(0), m_type(none), m_cmd1(0), m_cmd2(0)
-       {};
+       {}
 
        Item(id_type id, std::string c, Function1 f1)
            : m_id(id), m_caption(c), m_type(type1), m_cmd1(f1), m_cmd2(0)
-       {};
+       {}
        
        Item(id_type id, std::string c, Function2 f2)
            : m_id(id), m_caption(c), m_type(type2), m_cmd1(0), m_cmd2(f2)
-       {};
+       {}
 
        Item(const Item& cpy);
 

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