compiz fails to compile

Bug #1843974 reported by Andreas Westman Dorcsak
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Fix Released
Undecided
Unassigned

Bug Description

hi .i updated my system a time ago and can not recompile compiz.i am getting this errors:

cc1: error: unrecognized command line option '-Wno-unused-private-field' [-Werror]
cc1: error: unrecognized command line option '-Wno-unused-private-field' [-Werror]
cc1: error: unrecognized command line option '-Wno-unused-private-field' [-Werror]
cc1: all warnings being treated as errors
make[2]: *** [compizconfig/integration/gnome/CMakeFiles/compizconfig_gnome_integration_constants.dir/build.make:63: compizconfig/integration/gnome/CMakeFiles/compizconfig_gnome_integration_constants.dir/src/ccs_gnome_integration_constants.c.o] Error 1

Related branches

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

This is now fixed in master branch. I will do a new release when I have time.

Changed in compiz:
status: New → Fix Committed
Revision history for this message
Andreas Westman Dorcsak (hedmo) wrote :

hi thanks for fixing the -Wno-unused-private-field .but there is more compile errors...

/usr/lib/glib-2.0/include/glibconfig.h:101:29: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  101 | #define GINT_TO_POINTER(i) ((gpointer) (gint) (i))
      | ^
/var/tmp/portage/x11-wm/compiz-9999/work/~compiz-team/compiz/9999/compizconfig/integration/gnome/src/ccs_gnome_integration_constants.c:615:97: note: in expansion of macro 'GINT_TO_POINTER'
  615 | g_hash_table_insert (unityshellHashTable, (gpointer) names->UNITYSHELL_SHOW_HUD.compizName, GINT_TO_POINTER (quarks->ORG_COMPIZ_INTEGRATED));
      | ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [compizconfig/integration/gnome/CMakeFiles/compizconfig_gnome_integration_constants.dir/build.make:63: compizconfig/integration/gnome/CMakeFiles/compizconfig_gnome_integration_constants.dir/src/ccs_gnome_integration_constants.c.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/x11-wm/compiz-9999/work/build'
make[1]: *** [CMakeFiles/Makefile2:5776: compizconfig/integration/gnome/CMakeFiles/compizconfig_gnome_integration_constants.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/x11-wm/compiz-9999/work/build'
make: *** [Makefile:163: all] Error 2

regards hedmo

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote :

Did you try to build with `-DCOMPIZ_WERROR=Off`?

Changed in compiz:
status: Fix Committed → Fix Released
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.