yilozt / mutter-rounded

A window manager for GNOME, with rounded corners patch
https://aur.archlinux.org/packages/mutter-rounded/
GNU General Public License v2.0
556 stars 26 forks source link

shell-blur-effect.c: incompatible pointer type #71

Open ran-dall opened 2 years ago

ran-dall commented 2 years ago

There's a build error occurring.

[716/721] x86_64-pc-linux-gnu-gcc -Isrc/libmutter-10.so.0.0.0.p -Isrc -I../mutter-42.1/src -I. -I../mutter-42.1 -Iclutter -I../mutter-42.1/clutter -Iclutter/clutter -I../mutter-42.1/clutter/clutter -Icogl -I../mutter-42.1/cogl -Icogl/cogl -I../mutter-42.1/cogl/cogl -Isrc/meta -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/json-glib-1.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/gsettings-desktop-schemas -I/usr/include/gtk-3.0 -I/usr/include/sysprof-3 -I/usr/include/gnome-settings-daemon-42 -I/usr/include/gnome-desktop-3.0 -I/usr/include/libxml2 -I/usr/include/gudev-1.0 -I/usr/include/startup-notification-1.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/gobject-introspection-1.0 -I/usr/include/libdrm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -D_GNU_SOURCE -march=native -O3 -pipe -falign-functions=32 -Wa,-mbranches-within-32B-boundaries -flto=auto -ffat-lto-objects -feliminate-unused-debug-types -fasynchronous-unwind-tables -Wall -Wformat -Wformat-security -ggdb3 -grecord-gcc-switches -fPIC -pthread -D_REENTRANT -mfpmath=sse -msse -msse2 -DCLUTTER_ENABLE_COMPOSITOR_API -DCOGL_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_2_0_API -DCOGL_ENABLE_MUTTER_API -DCLUTTER_DISABLE_DEPRECATION_WARNINGS -DCOGL_DISABLE_DEPRECATION_WARNINGS -DSN_API_NOT_YET_FROZEN=1 '-DGETTEXT_PACKAGE="mutter"' -DWITH_VERBOSE_MODE '-DG_LOG_DOMAIN="libmutter"' -MD -MQ src/libmutter-10.so.0.0.0.p/shell-blur-effect.c.o -MF src/libmutter-10.so.0.0.0.p/shell-blur-effect.c.o.d -o src/libmutter-10.so.0.0.0.p/shell-blur-effect.c.o -c ../mutter-42.1/src/shell-blur-effect.c
../mutter-42.1/src/shell-blur-effect.c: In function β€˜update_fbo’:
../mutter-42.1/src/shell-blur-effect.c:217:17: warning: assignment to β€˜CoglTexture *’ {aka β€˜struct _CoglTexture *’} from incompatible pointer type β€˜CoglTexture2D *’ {aka β€˜struct _CoglTexture2D *’} [-Wincompatible-pointer-types]
  217 |   data->texture = cogl_texture_2d_new_with_size (ctx, new_width, new_height);
      |                 ^

build.log