Compilation of lp:compiz with gcc 4.8.0 fails with -WERROR because of warnings

Bug #1094650 reported by MC Return
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Invalid
Medium
Unassigned
GLib
Invalid
Medium
compiz (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Changed in compiz:
milestone: none → 0.9.9.0
importance: Undecided → Medium
Changed in compiz (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

And this is why I hate macros.

Changed in compiz:
assignee: nobody → Sam Spilsbury (smspillaz)
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Hmm, v8 seems to have run into something similar, and they suggest changing the client code instead of silencing the warning. Unfortunately, the relevant client code is something we don't have much control over.

http://code.google.com/p/v8/issues/detail?id=2149

We might be able to work around it by putting the relevant sections in extern "C" blocks if this only happens when compiling C++

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Hmm, nope, upon checking the error again it happens when compiling C too.

The problem is that this is not a standard compiler flag that we are tripping over, -Wno-unused-local-typedefs is not supported in clang or earlier versions of gcc. So we might have to add some nasty compiler detection :(

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

I've filed the relevant bug against glib here: https://bugzilla.gnome.org/show_bug.cgi?id=691107

Changed in glib:
importance: Unknown → Medium
status: Unknown → Invalid
Changed in compiz:
milestone: 0.9.9.0 → 0.9.9.2
Changed in compiz:
status: New → Invalid
assignee: Sam Spilsbury (smspillaz) → nobody
milestone: 0.9.9.2 → none
Stephen M. Webb (bregma)
Changed in compiz (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.