It's failing to build due to -Werror. (it's just a warning).

cc1: warnings being treated as errors
bat.c: In function 'destroy_children_laser':
bat.c:267: warning: ignoring return value of 'g_list_remove', declared with 
attribute warn_unused_result
make[2]: *** [bat.o] Error 1

This is the code:

/* Destroys a children list of lasers. */
void destroy_children_laser(Bat *bat) {
        GList *children;
        Entity *laser;

        children = bat->children;
        while(children) {
                laser = (Entity *) children->data;
                children = g_list_next(children);
                g_list_remove(bat->children, laser);
                remove_from_canvas(laser);
                g_free(laser);
        }

        bat->children = NULL;
        bat->num_lasers = 0;
}

** Changed in: gnome-breakout (Ubuntu)
     Assignee: Emilio Pozuelo Monfort => (unassigned)

-- 
New upstream release of gnome-breakout
https://bugs.launchpad.net/bugs/84786
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to