compiz-core 0.9.7.12 fails to build on Arch Linux

Bug #1200197 reported by IsItSaturday
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Compiz Core
New
Undecided
Unassigned

Bug Description

$ make
...
[ 5%] Building C object gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/style.c.o
[ 5%] Building C object gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/wnck.c.o
[ 7%] Building C object gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/decorator.c.o
/home/iis/Downloads/compiz-core-0.9.7.12/gtk/window-decorator/decorator.c: In function ‘update_window_decoration_size’:
/home/iis/Downloads/compiz-core-0.9.7.12/gtk/window-decorator/decorator.c:657:28: error: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
  memset (pixmap, 0, sizeof (pixmap));
                            ^
/home/iis/Downloads/compiz-core-0.9.7.12/gtk/window-decorator/decorator.c:673:35: error: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Werror=sizeof-pointer-memaccess]
  memset (buffer_pixmap, 0, sizeof (buffer_pixmap));
                                   ^
cc1: all warnings being treated as errors
make[2]: *** [gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/decorator.c.o] Error 1
make[1]: *** [gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/all] Error 2
make: *** [all] Error 2

summary: - compiz-core fails to build on Arch Linux
+ compiz-core 0.9.7.12 fails to build on Arch Linux
Revision history for this message
quequotion (quequotion) wrote :
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.