>From <http://gcc.gnu.org/gcc-4.6/changes.html>: """ G++ no longer allows objects of const-qualified type to be default initialized unless the type has a user-declared default constructor. Code that fails to compile can be fixed by providing an initializer e.g. struct A { A(); }; struct B : A { }; const B b = B(); Use -fpermissive to allow the old, non-conforming behaviour. """
Also, see this gcc bug report: <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44499> This issue was fixed in lp:armagetronad/0.2.8, but has not yet made it in to an official release. This was the patch: <http://bazaar.launchpad.net/~armagetronad- dev/armagetronad/0.2.8-armagetronad-work/revision/1275> ** Bug watch added: GCC Bugzilla #44499 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44499 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/765939 Title: armagetronad version 0.2.8.3.1-1 failed to build on i386 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/armagetronad/+bug/765939/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
