Compiz fails to build GCC-4.7 - [-Werror=conversion-null] cc1plus: all warnings being treated as errors

Bug #986177 reported by triplesqaurednine
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
New
Undecided
Unassigned
Compiz Core
New
Undecided
Unassigned
Arch Linux
New
Undecided
Unassigned

Bug Description

Another GCC-4.7 build error;

very similar to my other bug report about 'warnings being treated as errors';

https://bugs.launchpad.net/compiz-core/+bug/972519

Same story - it is very easy to fix, simply add the CXXFLAG;

-Wno-error=conversion-null

which will in turn tell GCC-4.7 to treat this as a warning and to continue with the build.

I use global flags in my build script, so it is possible that other branches could be affected, but i don't know this off-hand.

cheerz

Revision history for this message
MC Return (mc-return) wrote :

This bug was fixed in the package compiz - 1:0.9.7.8-0ubuntu1

---------------
compiz (1:0.9.7.8-0ubuntu1) precise-proposed; urgency=low

  [ Didier Roche ]
  * New upstream bug fix release:
    - [fglrx] Title bar does not update on non-maximized windows (LP: #770283)
    - Some apps (like Remmina) can't full-screen under Compiz (or Unity)
      (LP: #946388)
    - Compiz-core fails to compile with gcc-4.7 - 'cc1plus: all warnings
      being treated as errors' (LP: #972519)

Revision history for this message
MC Return (mc-return) wrote :

Ups, sorry - it was the other one that already was fixed.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 972519, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

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.