#3590: mutter 3.6.0 compile failes using gcc 4.7
--------------------+-------------------------------------------------------
Reporter: mikeg | Owner: blfs-book@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0
Component: BOOK | Version: SVN
Severity: normal | Keywords: mutter
--------------------+-------------------------------------------------------
Compilation of mutter 3.6.0 failed using gcc 4.7.1 with this error:
core/prefs.c: In function 'meta_prefs_set_num_workspaces':
core/prefs.c:1672:23: error: 'pref' may be used uninitialized in this
function [-Werror=maybe-uninitialized]
core/prefs.c: In function 'meta_prefs_set_no_tab_popup':
core/prefs.c:2151:27: error: 'pref' may be used uninitialized in this
function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
Fixed by attached patch.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/3590>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page