AhoyISki / Firedecor

An advanced window decoration plugin for the wayfire window manager.
71 stars 7 forks source link

Build failed with the latest wayfire core #24

Closed ssfdust closed 1 year ago

ssfdust commented 1 year ago
Directory already configured.

Just run your build command (e.g. ninja) and Meson will regenerate as necessary.
If ninja fails, run "ninja reconfigure" or "meson setup --reconfigure"
to force Meson to regenerate.

If build failures persist, run "meson setup --wipe" to rebuild from scratch
using the same options as passed when configuring the build.
To change option values, run "meson configure" instead.
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /home/ssfdust/.cache/updatepkgs/wayfire-firedecor-git/src/wayfire-firedecor/build
ninja: Entering directory `/home/ssfdust/.cache/updatepkgs/wayfire-firedecor-git/src/wayfire-firedecor/build'
[1/2] Compiling C++ object src/libfiredecor.so.p/firedecor-theme.cpp.o
FAILED: src/libfiredecor.so.p/firedecor-theme.cpp.o 
c++ -Isrc/libfiredecor.so.p -Isrc -I../src -I/usr/include/libevdev-1.0 -I/usr/include/libxml2 -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++20 -O0 -g -DWLR_USE_UNSTABLE -DWAYFIRE_PLUGIN -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -fPIC -pthread -MD -MQ src/libfiredecor.so.p/firedecor-theme.cpp.o -MF src/libfiredecor.so.p/firedecor-theme.cpp.o.d -o src/libfiredecor.so.p/firedecor-theme.cpp.o -c ../src/firedecor-theme.cpp
../src/firedecor-theme.cpp: In member function ‘cairo_surface_t* wf::firedecor::decoration_theme_t::form_button(wf::firedecor::button_type_t, double, bool, bool) const’:
../src/firedecor-theme.cpp:399:24: error: jump to case label
  399 |                   case BUTTON_MINIMIZE:
      |                        ^~~~~~~~~~~~~~~
../src/firedecor-theme.cpp:375:56: note:   crosses initialization of ‘wf::pointf_t south_west_arrow_pos’
  375 |                     wf::pointf_t north_east_arrow_pos, south_west_arrow_pos;
      |                                                        ^~~~~~~~~~~~~~~~~~~~
../src/firedecor-theme.cpp:375:34: note:   crosses initialization of ‘wf::pointf_t north_east_arrow_pos’
  375 |                     wf::pointf_t north_east_arrow_pos, south_west_arrow_pos;
      |                                  ^~~~~~~~~~~~~~~~~~~~
../src/firedecor-theme.cpp:356:20: warning: enumeration value ‘BUTTON_MINIMIZE’ not handled in switch [-Wswitch]
  356 |             switch (button) {
      |                    ^
ninja: build stopped: subcommand failed.