#3590 closed defect (invalid)
mutter 3.6.0 compile failes using gcc 4.7
Reported by: | Maik Greubel | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | mutter |
Cc: |
Description ¶
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.
Change History (7)
by , 13 years ago
Attachment: | mutter-3.6.0-compile-gcc-4.7.patch added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
As you see in attached build.log, it works great with 4.7.2 and it worked very well with 4.7.1 here. Unless someone else confirms this, I'll mark it as "worksforme".
comment:3 by , 13 years ago
Same for me, I had no problems to compile it (I'm still with gcc 4.7.1). It has a huge number of deps when we ask for it:
util-macros sqlite libxml2 libgpg-error libpthread-stubs xtrans pcre libjpeg libtiff libpng libpciaccess expat llvm pixman freetype gperf libdatrie icu which libusb nspr hicolor-icon-theme libogg alsa-lib gsl json-c xbitmaps check cdparanoia xdg-utils curl iso-codes libtasn1 nettle libidn p11-kit ruby itstool xorg-proto python docbook-xml libgcrypt glib jasper lcms2 libdrm perl-xml-parser fontconfig libthai aspell libusb-compat js libvorbis flac speex gnutls libxdmcp libxau makedepend libice libfontenc xcb-proto docbook-xsl libxslt gobject-introspection vala intltool libtheora libsndfile libsm libxfont libxcb rarian atk json-glib gstreamer1 gstreamer polkit gsettings-desktop-schemas libx11 xcb-util gnome-doc-utils libxext libxfixes libxrender dbus libxt libxkbfile startup-notification libxinerama libxxf86vm libxi libxv libxcomposite libxdamage libxft libxcursor libxrandr libcups colord dbus-glib glib-networking libgnome-keyring libxmu libxpm libxtst gdk-pixbuf mesa cups enchant libsoup libxaw at-spi2-core cairo xorg-app at-spi2-atk harfbuzz pango cogl gtk-update-icon-cache gstreamer-plugins-base gstreamer1-plugins-base clutter gtk3 gtk bluez gconf libnotify pulseaudio geoclue libcanberra webkit zenity mutter
Regards
Thierry
comment:4 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
As the author didn't reply for some time and the package appears to work for at least two of us, closing this ticket.
I've built Mutter with GCC 4.7.1 and I didn't notice any problems. I have 4.7.2 currently. I'll check it again.