Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/grub-customizer.spec'], chrootPath='/var/lib/mock/f37-build-675675-76001/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/grub-customizer.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1631577600 Wrote: /builddir/build/SRPMS/grub-customizer-5.1.0-9.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/grub-customizer.spec'], chrootPath='/var/lib/mock/f37-build-675675-76001/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/grub-customizer.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1631577600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VFIGSH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grub-customizer-5.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grub-customizer_5.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grub-customizer-5.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jhAbvO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd grub-customizer-5.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Checking for module 'gtkmm-3.0' -- Found gtkmm-3.0, version 3.24.7 -- Checking for module 'gthread-2.0' -- Found gthread-2.0, version 2.74.0 -- Checking for module 'openssl' -- Found openssl, version 3.0.5 -- Checking for module 'libarchive' -- Found libarchive, version 3.6.1 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_SHARED_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/grub-customizer-5.1.0 -B/builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build/CMakeFiles /builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/grub-customizer.dir/build.make CMakeFiles/grub-customizer.dir/depend /usr/bin/gmake -f CMakeFiles/grubcfg-proxy.dir/build.make CMakeFiles/grubcfg-proxy.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build' cd /builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/grub-customizer-5.1.0 /builddir/build/BUILD/grub-customizer-5.1.0 /builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build /builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build /builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build/CMakeFiles/grubcfg-proxy.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build' cd /builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/grub-customizer-5.1.0 /builddir/build/BUILD/grub-customizer-5.1.0 /builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build /builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build /builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build/CMakeFiles/grub-customizer.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/grub-customizer.dir/build.make CMakeFiles/grub-customizer.dir/build /usr/bin/gmake -f CMakeFiles/grubcfg-proxy.dir/build.make CMakeFiles/grubcfg-proxy.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build' [ 25%] Building CXX object CMakeFiles/grub-customizer.dir/src/main/client.cpp.o [ 25%] Building CXX object CMakeFiles/grubcfg-proxy.dir/src/main/proxy.cpp.o [ 37%] Building CXX object CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkView.cpp.o /usr/bin/g++ -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=c++11 -MD -MT CMakeFiles/grubcfg-proxy.dir/src/main/proxy.cpp.o -MF CMakeFiles/grubcfg-proxy.dir/src/main/proxy.cpp.o.d -o CMakeFiles/grubcfg-proxy.dir/src/main/proxy.cpp.o -c /builddir/build/BUILD/grub-customizer-5.1.0/src/main/proxy.cpp /usr/bin/g++ -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=c++11 -MD -MT CMakeFiles/grub-customizer.dir/src/main/client.cpp.o -MF CMakeFiles/grub-customizer.dir/src/main/client.cpp.o.d -o CMakeFiles/grub-customizer.dir/src/main/client.cpp.o -c /builddir/build/BUILD/grub-customizer-5.1.0/src/main/client.cpp /usr/bin/g++ -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=c++11 -MD -MT CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkView.cpp.o -MF CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkView.cpp.o.d -o CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkView.cpp.o -c /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/GtkView.cpp [ 50%] Building CXX object CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkApplication.cpp.o /usr/bin/g++ -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=c++11 -MD -MT CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkApplication.cpp.o -MF CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkApplication.cpp.o.d -o CMakeFiles/grub-customizer.dir/src/Bootstrap/GtkApplication.cpp.o -c /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/GtkApplication.cpp In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:36, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/proxy.cpp:29: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::md5(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp:60:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for (int i = 0; i < input.length(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp:63:20: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 63 | MD5(cStr, input.length(), buf); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp:32: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_replace(const std::string&, const std::string&, std::string)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp:86:84: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 86 | while (pos < subject.length() && (pos = subject.find(search, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_replace_escape(std::string, const char&, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp:121:93: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 121 | while (pos < subject.length() && (pos = subject.find(escapeCharacter, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_escape(std::string, const char&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp:132:108: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 132 | while (pos < subject.length() && (pos = subject.find_first_of(charactersToBeEscaped, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_unescape(std::string, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp:141:102: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 141 | while (pos < subject.length() && (pos = subject.find_first_of(escapeCharacter, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:37: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/ArrayStructure.hpp: In constructor 'ArrayStructureItem::ArrayStructureItem(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/ArrayStructure.hpp:117:21: warning: 'ArrayStructureItem::value' will be initialized after [-Wreorder] 117 | std::string value; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/ArrayStructure.hpp:44:14: warning: 'bool ArrayStructureItem::isString' [-Wreorder] 44 | bool isString; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/ArrayStructure.hpp:41:9: warning: when initialized here [-Wreorder] 41 | ArrayStructureItem(std::string const& value = "") : isArray(false), value(value), isString(true) {} | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:81:22: warning: 'Model_Entry::quote' will be initialized after [-Wreorder] 81 | public: char quote; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:84:17: warning: when initialized here [-Wreorder] 84 | public: Model_Entry() | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry(std::string, std::string, std::string, EntryType)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:80:46: warning: 'Model_Entry::content' will be initialized after [-Wreorder] 80 | public: std::string name, extension, content; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:79:22: warning: 'bool Model_Entry::isValid' [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:88:17: warning: when initialized here [-Wreorder] 88 | public: Model_Entry(std::string name, std::string extension, std::string content = "", EntryType type = MENUENTRY) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:79:22: warning: 'Model_Entry::isValid' will be initialized after [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:88:17: warning: when initialized here [-Wreorder] 88 | public: Model_Entry(std::string name, std::string extension, std::string content = "", EntryType type = MENUENTRY) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry(FILE*, Model_Entry_Row, std::shared_ptr, std::string*)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:79:22: warning: 'Model_Entry::isValid' will be initialized after [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:92:17: warning: when initialized here [-Wreorder] 92 | public: Model_Entry(FILE* sourceFile, Model_Entry_Row firstRow = Model_Entry_Row(), std::shared_ptr logger = nullptr, std::string* plaintextBuffer = NULL) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:81:22: warning: 'Model_Entry::quote' will be initialized after [-Wreorder] 81 | public: char quote; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:79:31: warning: 'bool Model_Entry::isModified' [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Entry.hpp:92:17: warning: when initialized here [-Wreorder] 92 | public: Model_Entry(FILE* sourceFile, Model_Entry_Row firstRow = Model_Entry_Row(), std::shared_ptr logger = nullptr, std::string* plaintextBuffer = NULL) | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/ArrayStructure.hpp:37, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Env.hpp:37, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/Factory.hpp:33, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/client.cpp:33: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::md5(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp:60:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for (int i = 0; i < input.length(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp:63:20: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 63 | MD5(cStr, input.length(), buf); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp:32: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_replace(const std::string&, const std::string&, std::string)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp:86:84: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 86 | while (pos < subject.length() && (pos = subject.find(search, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_replace_escape(std::string, const char&, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp:121:93: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 121 | while (pos < subject.length() && (pos = subject.find(escapeCharacter, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_escape(std::string, const char&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp:132:108: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 132 | while (pos < subject.length() && (pos = subject.find_first_of(charactersToBeEscaped, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_unescape(std::string, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp:141:102: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 141 | while (pos < subject.length() && (pos = subject.find_first_of(escapeCharacter, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/ArrayStructure.hpp: In constructor 'ArrayStructureItem::ArrayStructureItem(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/ArrayStructure.hpp:117:21: warning: 'ArrayStructureItem::value' will be initialized after [-Wreorder] 117 | std::string value; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/ArrayStructure.hpp:44:14: warning: 'bool ArrayStructureItem::isString' [-Wreorder] 44 | bool isString; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/ArrayStructure.hpp:41:9: warning: when initialized here [-Wreorder] 41 | ArrayStructureItem(std::string const& value = "") : isArray(false), value(value), isString(true) {} | ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Env.hpp:42, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:52, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/proxy.cpp:32: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/MountTable.hpp: In constructor 'Model_MountTable_Mountpoint::Model_MountTable_Mountpoint(const std::string&, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/MountTable.hpp:41:14: warning: 'Model_MountTable_Mountpoint::isMounted' will be initialized after [-Wreorder] 41 | bool isMounted; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/MountTable.hpp:40:29: warning: 'std::string Model_MountTable_Mountpoint::mountpoint' [-Wreorder] 40 | std::string device, mountpoint, fileSystem, options, dump, pass; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/MountTable.hpp:50:9: warning: when initialized here [-Wreorder] 50 | Model_MountTable_Mountpoint(std::string const& mountpoint = "", bool isMounted = false) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/MountTable.hpp: In constructor 'Model_MountTable_Mountpoint::Model_MountTable_Mountpoint(const std::string&, const std::string&, const std::string&, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/MountTable.hpp:41:14: warning: 'Model_MountTable_Mountpoint::isMounted' will be initialized after [-Wreorder] 41 | bool isMounted; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/MountTable.hpp:40:53: warning: 'std::string Model_MountTable_Mountpoint::options' [-Wreorder] 40 | std::string device, mountpoint, fileSystem, options, dump, pass; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/MountTable.hpp:54:9: warning: when initialized here [-Wreorder] 54 | Model_MountTable_Mountpoint(std::string const& device, std::string const& mountpoint, std::string const& options, bool isMounted = false) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/MountTable.hpp: In member function 'bool Model_MountTable_Mountpoint::isLiveCdFs()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/MountTable.hpp:80:41: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 80 | return this->fileSystem == "aufs" | this->fileSystem == "overlayfs"; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Env.hpp:43: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/SettingsStore.hpp: In constructor 'Model_SettingsStore_Row::Model_SettingsStore_Row()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/SettingsStore.hpp:38:31: warning: 'Model_SettingsStore_Row::isActive' will be initialized after [-Wreorder] 38 | bool hasExportPrefix, isActive, isSetting; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/SettingsStore.hpp:38:14: warning: 'bool Model_SettingsStore_Row::hasExportPrefix' [-Wreorder] 38 | bool hasExportPrefix, isActive, isSetting; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/SettingsStore.hpp:35:9: warning: when initialized here [-Wreorder] 35 | Model_SettingsStore_Row() : isActive(true), hasExportPrefix(false), isSetting(true) {} | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/SettingsStore.hpp: In member function 'void Model_SettingsStore_Row::validate()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/SettingsStore.hpp:45:64: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 45 | name = name.substr(name.find_first_not_of(' ') == -1 ? 0 : name.find_first_not_of(' ')); // ltrim | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/SettingsStore.hpp:47:67: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 47 | value = value.substr(value.find_first_not_of(' ') == -1 ? 0 : value.find_first_not_of(' ')); // ltrim | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Env.hpp: In constructor 'Model_Env::Model_Env()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Env.hpp:361:14: warning: 'Model_Env::useDirectBackgroundProps' will be initialized after [-Wreorder] 361 | bool useDirectBackgroundProps; // Whether background settings should be set directly or by creating a desktop-base script | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Env.hpp:55:14: warning: 'bool Model_Env::modificationsUnsaved' [-Wreorder] 55 | bool modificationsUnsaved; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Env.hpp:58:9: warning: when initialized here [-Wreorder] 58 | Model_Env() : burgMode(false), | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Env.hpp:55:14: warning: 'Model_Env::modificationsUnsaved' will be initialized after [-Wreorder] 55 | bool modificationsUnsaved; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Env.hpp:53:14: warning: 'bool Model_Env::quit_requested' [-Wreorder] 53 | bool quit_requested; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Env.hpp:58:9: warning: when initialized here [-Wreorder] 58 | Model_Env() : burgMode(false), | ^~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Env.hpp:42: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/MountTable.hpp: In constructor 'Model_MountTable_Mountpoint::Model_MountTable_Mountpoint(const std::string&, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/MountTable.hpp:41:14: warning: 'Model_MountTable_Mountpoint::isMounted' will be initialized after [-Wreorder] 41 | bool isMounted; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/MountTable.hpp:40:29: warning: 'std::string Model_MountTable_Mountpoint::mountpoint' [-Wreorder] 40 | std::string device, mountpoint, fileSystem, options, dump, pass; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/MountTable.hpp:50:9: warning: when initialized here [-Wreorder] 50 | Model_MountTable_Mountpoint(std::string const& mountpoint = "", bool isMounted = false) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/MountTable.hpp: In constructor 'Model_MountTable_Mountpoint::Model_MountTable_Mountpoint(const std::string&, const std::string&, const std::string&, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/MountTable.hpp:41:14: warning: 'Model_MountTable_Mountpoint::isMounted' will be initialized after [-Wreorder] 41 | bool isMounted; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/MountTable.hpp:40:53: warning: 'std::string Model_MountTable_Mountpoint::options' [-Wreorder] 40 | std::string device, mountpoint, fileSystem, options, dump, pass; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/MountTable.hpp:54:9: warning: when initialized here [-Wreorder] 54 | Model_MountTable_Mountpoint(std::string const& device, std::string const& mountpoint, std::string const& options, bool isMounted = false) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/MountTable.hpp: In member function 'bool Model_MountTable_Mountpoint::isLiveCdFs()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/MountTable.hpp:80:41: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 80 | return this->fileSystem == "aufs" | this->fileSystem == "overlayfs"; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Env.hpp:43: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/SettingsStore.hpp: In constructor 'Model_SettingsStore_Row::Model_SettingsStore_Row()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/SettingsStore.hpp:38:31: warning: 'Model_SettingsStore_Row::isActive' will be initialized after [-Wreorder] 38 | bool hasExportPrefix, isActive, isSetting; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/SettingsStore.hpp:38:14: warning: 'bool Model_SettingsStore_Row::hasExportPrefix' [-Wreorder] 38 | bool hasExportPrefix, isActive, isSetting; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/SettingsStore.hpp:35:9: warning: when initialized here [-Wreorder] 35 | Model_SettingsStore_Row() : isActive(true), hasExportPrefix(false), isSetting(true) {} | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/SettingsStore.hpp: In member function 'void Model_SettingsStore_Row::validate()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/SettingsStore.hpp:45:64: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 45 | name = name.substr(name.find_first_not_of(' ') == -1 ? 0 : name.find_first_not_of(' ')); // ltrim | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/SettingsStore.hpp:47:67: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 47 | value = value.substr(value.find_first_not_of(' ') == -1 ? 0 : value.find_first_not_of(' ')); // ltrim | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/EntryPathBuilderImpl.hpp:32, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:36, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxylist.hpp:35, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:54: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Script.hpp: In constructor 'Model_Script::Model_Script(const std::string&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Script.hpp:46:46: warning: 'Model_Script::root' will be initialized after [-Wreorder] 46 | public: std::shared_ptr root; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Script.hpp:45:22: warning: 'bool Model_Script::isCustomScript' [-Wreorder] 45 | public: bool isCustomScript; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Script.hpp:48:17: warning: when initialized here [-Wreorder] 48 | public: Model_Script(std::string const& name, std::string const& fileName) : | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Env.hpp: In constructor 'Model_Env::Model_Env()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Env.hpp:361:14: warning: 'Model_Env::useDirectBackgroundProps' will be initialized after [-Wreorder] 361 | bool useDirectBackgroundProps; // Whether background settings should be set directly or by creating a desktop-base script | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Env.hpp:55:14: warning: 'bool Model_Env::modificationsUnsaved' [-Wreorder] 55 | bool modificationsUnsaved; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Env.hpp:58:9: warning: when initialized here [-Wreorder] 58 | Model_Env() : burgMode(false), | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Env.hpp:55:14: warning: 'Model_Env::modificationsUnsaved' will be initialized after [-Wreorder] 55 | bool modificationsUnsaved; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Env.hpp:53:14: warning: 'bool Model_Env::quit_requested' [-Wreorder] 53 | bool quit_requested; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Env.hpp:58:9: warning: when initialized here [-Wreorder] 58 | Model_Env() : burgMode(false), | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/EntryPathBuilderImpl.hpp: In constructor 'Model_EntryPathBuilderImpl::Model_EntryPathBuilderImpl(std::shared_ptr)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/EntryPathBuilderImpl.hpp:39:22: warning: 'Model_EntryPathBuilderImpl::prefixLength' will be initialized after [-Wreorder] 39 | private: int prefixLength; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/EntryPathBuilderImpl.hpp:36:48: warning: 'std::shared_ptr Model_EntryPathBuilderImpl::mainScript' [-Wreorder] 36 | private: std::shared_ptr mainScript; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/EntryPathBuilderImpl.hpp:41:17: warning: when initialized here [-Wreorder] 41 | public: Model_EntryPathBuilderImpl(std::shared_ptr mainScript) : prefixLength(0), mainScript(NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:37: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ProxyScriptData.hpp: In static member function 'static bool Model_ProxyScriptData::is_proxyscript(FILE*)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ProxyScriptData.hpp:139:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 139 | for (int i = 0; i < textBefore.length() && (c = fgetc(proxy_fp)) != EOF; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:38: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(RuleType, std::__cxx11::list >, std::string, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(RuleType, std::__cxx11::list >, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(std::shared_ptr, bool, std::shared_ptr, const std::__cxx11::list > >&, const std::__cxx11::list >&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:113:17: warning: when initialized here [-Wreorder] 113 | public: Model_Rule() | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Rule.hpp:113:17: warning: when initialized here [-Wreorder] 113 | public: Model_Rule() | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp: In constructor 'Model_Proxy::Model_Proxy()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:47:47: warning: 'Model_Proxy::dataSource' will be initialized after [-Wreorder] 47 | public: std::shared_ptr dataSource; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:45:27: warning: 'short int Model_Proxy::permissions' [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:52:17: warning: when initialized here [-Wreorder] 52 | public: Model_Proxy() | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:45:27: warning: 'Model_Proxy::permissions' will be initialized after [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:44:21: warning: 'int Model_Proxy::index' [-Wreorder] 44 | public: int index; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:52:17: warning: when initialized here [-Wreorder] 52 | public: Model_Proxy() | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp: In constructor 'Model_Proxy::Model_Proxy(std::shared_ptr, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:47:47: warning: 'Model_Proxy::dataSource' will be initialized after [-Wreorder] 47 | public: std::shared_ptr dataSource; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/EntryPathBuilder.hpp:32, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/EntryPathBuilderImpl.hpp:30, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:36, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxylist.hpp:35, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:54, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/Factory.hpp:34: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:81:22: warning: 'Model_Entry::quote' will be initialized after [-Wreorder] 81 | public: char quote; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:84:17: warning: when initialized here [-Wreorder] 84 | public: Model_Entry() | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:45:27: warning: 'short int Model_Proxy::permissions' [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Proxy(std::shared_ptr dataSource, bool activateRules = true) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:45:27: warning: 'Model_Proxy::permissions' will be initialized after [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:44:21: warning: 'int Model_Proxy::index' [-Wreorder] 44 | public: int index; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Proxy.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Proxy(std::shared_ptr dataSource, bool activateRules = true) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry(std::string, std::string, std::string, EntryType)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:80:46: warning: 'Model_Entry::content' will be initialized after [-Wreorder] 80 | public: std::string name, extension, content; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:79:22: warning: 'bool Model_Entry::isValid' [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:88:17: warning: when initialized here [-Wreorder] 88 | public: Model_Entry(std::string name, std::string extension, std::string content = "", EntryType type = MENUENTRY) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:79:22: warning: 'Model_Entry::isValid' will be initialized after [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:88:17: warning: when initialized here [-Wreorder] 88 | public: Model_Entry(std::string name, std::string extension, std::string content = "", EntryType type = MENUENTRY) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry(FILE*, Model_Entry_Row, std::shared_ptr, std::string*)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:79:22: warning: 'Model_Entry::isValid' will be initialized after [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:92:17: warning: when initialized here [-Wreorder] 92 | public: Model_Entry(FILE* sourceFile, Model_Entry_Row firstRow = Model_Entry_Row(), std::shared_ptr logger = nullptr, std::string* plaintextBuffer = NULL) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:81:22: warning: 'Model_Entry::quote' will be initialized after [-Wreorder] 81 | public: char quote; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:79:31: warning: 'bool Model_Entry::isModified' [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../Model/../Model/Entry.hpp:92:17: warning: when initialized here [-Wreorder] 92 | public: Model_Entry(FILE* sourceFile, Model_Entry_Row firstRow = Model_Entry_Row(), std::shared_ptr logger = nullptr, std::string* plaintextBuffer = NULL) | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/EntryPathBuilderImpl.hpp:32: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Script.hpp: In constructor 'Model_Script::Model_Script(const std::string&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Script.hpp:46:46: warning: 'Model_Script::root' will be initialized after [-Wreorder] 46 | public: std::shared_ptr root; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Script.hpp:45:22: warning: 'bool Model_Script::isCustomScript' [-Wreorder] 45 | public: bool isCustomScript; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Script.hpp:48:17: warning: when initialized here [-Wreorder] 48 | public: Model_Script(std::string const& name, std::string const& fileName) : | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/EntryPathBuilderImpl.hpp: In constructor 'Model_EntryPathBuilderImpl::Model_EntryPathBuilderImpl(std::shared_ptr)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/EntryPathBuilderImpl.hpp:39:22: warning: 'Model_EntryPathBuilderImpl::prefixLength' will be initialized after [-Wreorder] 39 | private: int prefixLength; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/EntryPathBuilderImpl.hpp:36:48: warning: 'std::shared_ptr Model_EntryPathBuilderImpl::mainScript' [-Wreorder] 36 | private: std::shared_ptr mainScript; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/EntryPathBuilderImpl.hpp:41:17: warning: when initialized here [-Wreorder] 41 | public: Model_EntryPathBuilderImpl(std::shared_ptr mainScript) : prefixLength(0), mainScript(NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:37: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ProxyScriptData.hpp: In static member function 'static bool Model_ProxyScriptData::is_proxyscript(FILE*)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ProxyScriptData.hpp:139:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 139 | for (int i = 0; i < textBefore.length() && (c = fgetc(proxy_fp)) != EOF; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:38: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(RuleType, std::__cxx11::list >, std::string, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(RuleType, std::__cxx11::list >, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(std::shared_ptr, bool, std::shared_ptr, const std::__cxx11::list > >&, const std::__cxx11::list >&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:113:17: warning: when initialized here [-Wreorder] 113 | public: Model_Rule() | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Rule.hpp:113:17: warning: when initialized here [-Wreorder] 113 | public: Model_Rule() | ^~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/Repository.hpp:37, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:56: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/PscriptnameTranslator.hpp: In static member function 'static std::string Model_PscriptnameTranslator::decode(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/PscriptnameTranslator.hpp:38:96: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | if (last_nonnum_pos != -1 && result[last_nonnum_pos] == '~' && last_nonnum_pos != input.length()-1) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/PscriptnameTranslator.hpp: In static member function 'static std::string Model_PscriptnameTranslator::encode(const std::string&, int)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/PscriptnameTranslator.hpp:47:108: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | if (x != 0 || ((last_nonnum_pos != -1 && input[last_nonnum_pos] == '~') && last_nonnum_pos != input.length()-1)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp: In constructor 'Model_Proxy::Model_Proxy()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:47:47: warning: 'Model_Proxy::dataSource' will be initialized after [-Wreorder] 47 | public: std::shared_ptr dataSource; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:45:27: warning: 'short int Model_Proxy::permissions' [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:52:17: warning: when initialized here [-Wreorder] 52 | public: Model_Proxy() | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:45:27: warning: 'Model_Proxy::permissions' will be initialized after [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:44:21: warning: 'int Model_Proxy::index' [-Wreorder] 44 | public: int index; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:52:17: warning: when initialized here [-Wreorder] 52 | public: Model_Proxy() | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp: In constructor 'Model_Proxy::Model_Proxy(std::shared_ptr, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:47:47: warning: 'Model_Proxy::dataSource' will be initialized after [-Wreorder] 47 | public: std::shared_ptr dataSource; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:45:27: warning: 'short int Model_Proxy::permissions' [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Proxy(std::shared_ptr dataSource, bool activateRules = true) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:45:27: warning: 'Model_Proxy::permissions' will be initialized after [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:44:21: warning: 'int Model_Proxy::index' [-Wreorder] 44 | public: int index; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Proxy.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Proxy(std::shared_ptr dataSource, bool activateRules = true) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp: In constructor 'Model_ListCfg::Model_ListCfg()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:96:22: warning: 'Model_ListCfg::error_proxy_not_found' will be initialized after [-Wreorder] 96 | public: bool error_proxy_not_found; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:65:25: warning: 'double Model_ListCfg::progress' [-Wreorder] 65 | private: double progress; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:123:22: warning: 'Model_ListCfg::cancelThreadsRequested' will be initialized after [-Wreorder] 123 | public: bool cancelThreadsRequested; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:95:22: warning: 'bool Model_ListCfg::verbose' [-Wreorder] 95 | public: bool verbose; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:95:22: warning: 'Model_ListCfg::verbose' will be initialized after [-Wreorder] 95 | public: bool verbose; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:68:30: warning: 'std::string Model_ListCfg::errorLogFile' [-Wreorder] 68 | private: std::string errorLogFile; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:121:22: warning: 'Model_ListCfg::ignoreLock' will be initialized after [-Wreorder] 121 | public: bool ignoreLock; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:67:22: warning: 'int Model_ListCfg::progress_pos' [-Wreorder] 67 | private: int progress_pos, progress_max; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp: In member function 'void Model_ListCfg::load(bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:263:45: warning: unused variable 'res' [-Wunused-variable] 263 | int res = chmod(proxy->fileName.c_str(), 0644); | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp: In member function 'void Model_ListCfg::save()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:442:37: warning: unused variable 'fileProperties' [-Wunused-variable] 442 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:469:29: warning: unused variable 'bin_mk_success' [-Wunused-variable] 469 | int bin_mk_success = mkdir((this->env->cfg_dir+"/bin").c_str(), 0755); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:556:126: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 556 | if ((saveProcSuccess != 0 || saveProcOutput.find("Syntax errors are detected in generated GRUB config file") != -1)){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:384:21: warning: unused variable 'mkdir_result' [-Wunused-variable] 384 | int mkdir_result = mkdir((this->env->cfg_dir+"/proxifiedScripts").c_str(), 0755); //create this directory if it doesn't already exist | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp: In member function 'void Model_ListCfg::readGeneratedFile(FILE*, bool, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:597:102: warning: operation on 'i' may be undefined [-Wsequence-point] 597 | this->send_new_load_progress(0.1 + (progressbarScriptSpace * ++i + (progressbarScriptSpace/10*innerCount)), script->name, i, this->repository.size()); | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:597:102: warning: operation on 'i' may be undefined [-Wsequence-point] /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp: In member function 'bool Model_ListCfg::cfgDirIsClean()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:800:37: warning: unused variable 'fileProperties' [-Wunused-variable] 800 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp: In member function 'void Model_ListCfg::cleanupCfgDir()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:818:37: warning: unused variable 'fileProperties' [-Wunused-variable] 818 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp: In member function 'bool Model_ListCfg::compare(const Model_ListCfg&) const': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:872:71: error: aggregate 'std::array >, 2> rlist' has incomplete type and cannot be defined 872 | std::array>, 2> rlist; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp: In member function 'std::__cxx11::list > Model_ListCfg::getRemovedEntries(std::shared_ptr, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:1023:56: warning: enumeration value 'SCRIPT_ROOT' not handled in switch [-Wswitch] 1023 | switch (entry->type) { | ^ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp: In member function 'void Model_ListCfg::revert()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/ListCfg.hpp:1260:53: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1260 | assert(this->proxies.size() < remaining); // make sure that the proxy has really been deleted to prevent an endless loop | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Model/../lib/Helper.hpp:40:5: note: in definition of macro 'assert' 40 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Repository.hpp:37, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:56: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/PscriptnameTranslator.hpp: In static member function 'static std::string Model_PscriptnameTranslator::decode(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/PscriptnameTranslator.hpp:38:96: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | if (last_nonnum_pos != -1 && result[last_nonnum_pos] == '~' && last_nonnum_pos != input.length()-1) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/PscriptnameTranslator.hpp: In static member function 'static std::string Model_PscriptnameTranslator::encode(const std::string&, int)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/PscriptnameTranslator.hpp:47:108: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | if (x != 0 || ((last_nonnum_pos != -1 && input[last_nonnum_pos] == '~') && last_nonnum_pos != input.length()-1)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp: In constructor 'Model_ListCfg::Model_ListCfg()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:96:22: warning: 'Model_ListCfg::error_proxy_not_found' will be initialized after [-Wreorder] 96 | public: bool error_proxy_not_found; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:65:25: warning: 'double Model_ListCfg::progress' [-Wreorder] 65 | private: double progress; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:123:22: warning: 'Model_ListCfg::cancelThreadsRequested' will be initialized after [-Wreorder] 123 | public: bool cancelThreadsRequested; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:95:22: warning: 'bool Model_ListCfg::verbose' [-Wreorder] 95 | public: bool verbose; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:95:22: warning: 'Model_ListCfg::verbose' will be initialized after [-Wreorder] 95 | public: bool verbose; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:68:30: warning: 'std::string Model_ListCfg::errorLogFile' [-Wreorder] 68 | private: std::string errorLogFile; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:121:22: warning: 'Model_ListCfg::ignoreLock' will be initialized after [-Wreorder] 121 | public: bool ignoreLock; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:67:22: warning: 'int Model_ListCfg::progress_pos' [-Wreorder] 67 | private: int progress_pos, progress_max; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp: In member function 'void Model_ListCfg::load(bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:263:45: warning: unused variable 'res' [-Wunused-variable] 263 | int res = chmod(proxy->fileName.c_str(), 0644); | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp: In member function 'void Model_ListCfg::save()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:442:37: warning: unused variable 'fileProperties' [-Wunused-variable] 442 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:469:29: warning: unused variable 'bin_mk_success' [-Wunused-variable] 469 | int bin_mk_success = mkdir((this->env->cfg_dir+"/bin").c_str(), 0755); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:556:126: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 556 | if ((saveProcSuccess != 0 || saveProcOutput.find("Syntax errors are detected in generated GRUB config file") != -1)){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:384:21: warning: unused variable 'mkdir_result' [-Wunused-variable] 384 | int mkdir_result = mkdir((this->env->cfg_dir+"/proxifiedScripts").c_str(), 0755); //create this directory if it doesn't already exist | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp: In member function 'void Model_ListCfg::readGeneratedFile(FILE*, bool, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:597:102: warning: operation on 'i' may be undefined [-Wsequence-point] 597 | this->send_new_load_progress(0.1 + (progressbarScriptSpace * ++i + (progressbarScriptSpace/10*innerCount)), script->name, i, this->repository.size()); | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:597:102: warning: operation on 'i' may be undefined [-Wsequence-point] /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp: In member function 'bool Model_ListCfg::cfgDirIsClean()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:800:37: warning: unused variable 'fileProperties' [-Wunused-variable] 800 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp: In member function 'void Model_ListCfg::cleanupCfgDir()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:818:37: warning: unused variable 'fileProperties' [-Wunused-variable] 818 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp: In member function 'bool Model_ListCfg::compare(const Model_ListCfg&) const': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:872:71: error: aggregate 'std::array >, 2> rlist' has incomplete type and cannot be defined 872 | std::array>, 2> rlist; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp: In member function 'std::__cxx11::list > Model_ListCfg::getRemovedEntries(std::shared_ptr, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:1023:56: warning: enumeration value 'SCRIPT_ROOT' not handled in switch [-Wswitch] 1023 | switch (entry->type) { | ^ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp: In member function 'void Model_ListCfg::revert()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ListCfg.hpp:1260:53: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1260 | assert(this->proxies.size() < remaining); // make sure that the proxy has really been deleted to prevent an endless loop | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/../lib/Helper.hpp:40:5: note: in definition of macro 'assert' 40 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Theme.hpp:38, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ThemeManager.hpp:33, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/Factory.hpp:42: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ThemeFile.hpp: In constructor 'Model_ThemeFile::Model_ThemeFile(std::string, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ThemeFile.hpp:41:14: warning: 'Model_ThemeFile::contentLoaded' will be initialized after [-Wreorder] 41 | bool contentLoaded; // say whether the content is loaded (text only) | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ThemeFile.hpp:40:36: warning: 'std::string Model_ThemeFile::newLocalFileName' [-Wreorder] 40 | std::string localFileName, newLocalFileName; // path inside of the theme directory | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/ThemeFile.hpp:32:9: warning: when initialized here [-Wreorder] 32 | Model_ThemeFile(std::string localFileName, bool isAddedByUser = false) : localFileName(localFileName), contentLoaded(false), newLocalFileName(localFileName), isAddedByUser(isAddedByUser) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Theme.hpp: In constructor 'Model_Theme::Model_Theme(const std::string&, const std::string&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Theme.hpp:44:21: warning: 'Model_Theme::name' will be initialized after [-Wreorder] 44 | std::string name; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Theme.hpp:42:21: warning: 'std::string Model_Theme::zipFile' [-Wreorder] 42 | std::string zipFile; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/Theme.hpp:47:9: warning: when initialized here [-Wreorder] 47 | Model_Theme(std::string const& directory, std::string const& zipFile, std::string const& name) : directory(directory), name(name), zipFile(zipFile), isModified(false) | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/DeviceMap.hpp:35, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/Factory.hpp:43: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/SmartFileHandle.hpp: In constructor 'Model_SmartFileHandle::Model_SmartFileHandle()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/SmartFileHandle.hpp:42:37: warning: 'Model_SmartFileHandle::type' will be initialized after [-Wreorder] 42 | Model_SmartFileHandle::Type type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/SmartFileHandle.hpp:41:15: warning: 'FILE* Model_SmartFileHandle::proc_or_file' [-Wreorder] 41 | FILE* proc_or_file; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../Model/SmartFileHandle.hpp:45:9: warning: when initialized here [-Wreorder] 45 | Model_SmartFileHandle() : type(TYPE_STRING), proc_or_file(NULL) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../lib/ContentParser/Chainloader.hpp:34, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/client.cpp:34: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../lib/ContentParser/Abstract.hpp: In member function 'std::string ContentParser_Abstract::escape(std::string) const': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../lib/ContentParser/Abstract.hpp:130:48: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 130 | if (value.find_first_of(" \"") != -1 || value.size() == 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ gmake[2]: *** [CMakeFiles/grubcfg-proxy.dir/build.make:79: CMakeFiles/grubcfg-proxy.dir/src/main/proxy.cpp.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/grubcfg-proxy.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... [ 62%] Building CXX object CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GlibThread.cpp.o /usr/bin/g++ -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=c++11 -MD -MT CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GlibThread.cpp.o -MF CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GlibThread.cpp.o.d -o CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GlibThread.cpp.o -c /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/GlibThread.cpp In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/client.cpp:53: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp: In member function 'void MainController::loadThreadedAction(bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp:338:60: warning: catching polymorphic type 'class FileReadException' by value [-Wcatch-value=] 338 | } catch (FileReadException e) { | ^ [ 75%] Building CXX object CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GLibRegex.cpp.o /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp: In constructor 'MainController::MainController()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp:83:23: warning: 'MainController::is_loading' will be initialized after [-Wreorder] 83 | private: bool is_loading; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp:80:33: warning: 'ContentParser* MainController::currentContentParser' [-Wreorder] 80 | private: ContentParser* currentContentParser; | ^~~~~~~~~~~~~~~~~~~~ /usr/bin/g++ -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -std=c++11 -MD -MT CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GLibRegex.cpp.o -MF CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GLibRegex.cpp.o.d -o CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GLibRegex.cpp.o -c /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/GLibRegex.cpp /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp:445:17: warning: when initialized here [-Wreorder] 445 | public: MainController() : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp: In member function 'void MainController::removeSubmenuAction(std::__cxx11::list)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp:735:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::list::size_type' {aka 'long unsigned int'} [-Wsign-compare] 735 | for (int i = 1; i < childItems.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp: In member function 'void MainController::setViewOptionAction(ViewOption, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp:988:52: warning: catching polymorphic type 'class FileSaveException' by value [-Wcatch-value=] 988 | } catch (FileSaveException e) { | ^ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp: In member function 'bool MainController::listHasAllCurrentSystemRules(const std::__cxx11::list&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp:1112:30: warning: unused variable 'visibleRulesFound' [-Wunused-variable] 1112 | bool visibleRulesFound = false; | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/client.cpp:54: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/SettingsController.hpp: In member function 'void SettingsController::updateShowMenuSettingAction()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/SettingsController.hpp:254:78: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 254 | if (val == "" || val.find_first_not_of("0123456789") != -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/SettingsController.hpp: In member function 'void SettingsController::syncSettings()': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/SettingsController.hpp:435:85: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 435 | if (timeoutStr == "" || (timeoutStr.find_first_not_of("0123456789") != -1 && timeoutStr != "-1")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../View/Main.hpp:37, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/View.hpp:34, from /builddir/build/BUILD/grub-customizer-5.1.0/src/main/client.cpp:31: /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../View/Model/ListItem.hpp: In instantiation of 'View_Model_ListItem::View_Model_ListItem() [with TItem = Rule; TWrapper = Proxy]': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/MainController.hpp:548:38: required from here /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../View/Model/ListItem.hpp:46:19: warning: 'View_Model_ListItem::parentScript' will be initialized after [-Wreorder] 46 | TWrapper* parentScript; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../View/Model/ListItem.hpp:37:14: warning: 'bool View_Model_ListItem::is_placeholder' [-Wreorder] 37 | bool is_placeholder; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../View/Model/ListItem.hpp:48:9: warning: when initialized here [-Wreorder] 48 | View_Model_ListItem() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../View/Model/ListItem.hpp: In instantiation of 'View_Model_ListItem::View_Model_ListItem() [with TItem = Rule; TWrapper = Script]': /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Controller/TrashController.hpp:204:38: required from here /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../View/Model/ListItem.hpp:46:19: warning: 'View_Model_ListItem::parentScript' will be initialized after [-Wreorder] 46 | TWrapper* parentScript; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../View/Model/ListItem.hpp:37:14: warning: 'bool View_Model_ListItem::is_placeholder' [-Wreorder] 37 | bool is_placeholder; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/main/../Bootstrap/../View/Model/ListItem.hpp:48:9: warning: when initialized here [-Wreorder] 48 | View_Model_ListItem() : | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/GtkView.cpp:28: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/About.hpp: In member function 'void View_Gtk_About::signal_about_dlg_response(int)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/About.hpp:45:26: warning: enum constant in boolean context [-Wint-in-bool-context] 45 | if (Gtk::RESPONSE_CLOSE) { | ~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/GLib.hpp:41, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/GLibRegex.cpp:28: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp: In static member function 'static std::string Helper::md5(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp:60:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for (int i = 0; i < input.length(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp:63:20: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 63 | MD5(cStr, input.length(), buf); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp:32: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp: In static member function 'static std::string Helper::str_replace(const std::string&, const std::string&, std::string)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp:86:84: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 86 | while (pos < subject.length() && (pos = subject.find(search, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/EntryEditor.hpp:31, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/GtkView.cpp:29: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp: In static member function 'static std::string Helper::md5(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp:60:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for (int i = 0; i < input.length(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp:63:20: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 63 | MD5(cStr, input.length(), buf); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp:32: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp: In static member function 'static std::string Helper::str_replace(const std::string&, const std::string&, std::string)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp:86:84: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 86 | while (pos < subject.length() && (pos = subject.find(search, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp: In static member function 'static std::string Helper::str_replace_escape(std::string, const char&, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp:121:93: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 121 | while (pos < subject.length() && (pos = subject.find(escapeCharacter, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp: In static member function 'static std::string Helper::str_escape(std::string, const char&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp:132:108: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 132 | while (pos < subject.length() && (pos = subject.find_first_of(charactersToBeEscaped, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp: In static member function 'static std::string Helper::str_unescape(std::string, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp:141:102: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 141 | while (pos < subject.length() && (pos = subject.find_first_of(escapeCharacter, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/GLib.hpp: In member function 'virtual std::vector > Regex_GLib::match(const std::string&, const std::string&, const char&, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/GLib.hpp:63:22: warning: unused variable 'offset' [-Wunused-variable] 63 | gint offset = 0; | ^~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp: In static member function 'static std::string Helper::str_replace_escape(std::string, const char&, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp:121:93: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 121 | while (pos < subject.length() && (pos = subject.find(escapeCharacter, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp: In static member function 'static std::string Helper::str_escape(std::string, const char&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp:132:108: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 132 | while (pos < subject.length() && (pos = subject.find_first_of(charactersToBeEscaped, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp: In static member function 'static std::string Helper::str_unescape(std::string, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/../../lib/Helper.hpp:141:102: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 141 | while (pos < subject.length() && (pos = subject.find_first_of(escapeCharacter, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/GLib.hpp: In member function 'virtual std::string Regex_GLib::replace(const std::string&, const std::string&, const std::map >&, const char&, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/GLib.hpp:95:22: warning: unused variable 'match_count' [-Wunused-variable] 95 | gint match_count = g_match_info_get_match_count(mi); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:37, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../Factory.hpp:33, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/GLibRegex.cpp:29: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/ArrayStructure.hpp: In constructor 'ArrayStructureItem::ArrayStructureItem(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/ArrayStructure.hpp:117:21: warning: 'ArrayStructureItem::value' will be initialized after [-Wreorder] 117 | std::string value; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/ArrayStructure.hpp:44:14: warning: 'bool ArrayStructureItem::isString' [-Wreorder] 44 | bool isString; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/ArrayStructure.hpp:41:9: warning: when initialized here [-Wreorder] 41 | ArrayStructureItem(std::string const& value = "") : isArray(false), value(value), isString(true) {} | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/EntryEditor.hpp: In constructor 'View_Gtk_EntryEditor::View_Gtk_EntryEditor()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/EntryEditor.hpp:56:29: warning: 'View_Gtk_EntryEditor::lblType' will be initialized after [-Wreorder] 56 | private: Gtk::Label lblType; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/EntryEditor.hpp:48:29: warning: 'Gtk::Frame View_Gtk_EntryEditor::frmSource' [-Wreorder] 48 | private: Gtk::Frame frmSource; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/EntryEditor.hpp:65:17: warning: when initialized here [-Wreorder] 65 | public: View_Gtk_EntryEditor() : | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/EntryEditor.hpp:58:29: warning: 'View_Gtk_EntryEditor::lblName' will be initialized after [-Wreorder] 58 | private: Gtk::Label lblName; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/EntryEditor.hpp:46:29: warning: 'Gtk::Label View_Gtk_EntryEditor::lblSourceError' [-Wreorder] 46 | private: Gtk::Label lblSourceError; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/EntryEditor.hpp:65:17: warning: when initialized here [-Wreorder] 65 | public: View_Gtk_EntryEditor() : | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/ArrayStructure.hpp:37, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:37, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../Factory.hpp:33, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/GlibThread.cpp:31: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::md5(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp:60:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for (int i = 0; i < input.length(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp:63:20: warning: 'unsigned char* MD5(const unsigned char*, size_t, unsigned char*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 63 | MD5(cStr, input.length(), buf); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp:32: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_replace(const std::string&, const std::string&, std::string)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp:86:84: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 86 | while (pos < subject.length() && (pos = subject.find(search, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:42: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp: In constructor 'Model_MountTable_Mountpoint::Model_MountTable_Mountpoint(const std::string&, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:41:14: warning: 'Model_MountTable_Mountpoint::isMounted' will be initialized after [-Wreorder] 41 | bool isMounted; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:40:29: warning: 'std::string Model_MountTable_Mountpoint::mountpoint' [-Wreorder] 40 | std::string device, mountpoint, fileSystem, options, dump, pass; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:50:9: warning: when initialized here [-Wreorder] 50 | Model_MountTable_Mountpoint(std::string const& mountpoint = "", bool isMounted = false) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp: In constructor 'Model_MountTable_Mountpoint::Model_MountTable_Mountpoint(const std::string&, const std::string&, const std::string&, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:41:14: warning: 'Model_MountTable_Mountpoint::isMounted' will be initialized after [-Wreorder] 41 | bool isMounted; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:40:53: warning: 'std::string Model_MountTable_Mountpoint::options' [-Wreorder] 40 | std::string device, mountpoint, fileSystem, options, dump, pass; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:54:9: warning: when initialized here [-Wreorder] 54 | Model_MountTable_Mountpoint(std::string const& device, std::string const& mountpoint, std::string const& options, bool isMounted = false) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp: In member function 'bool Model_MountTable_Mountpoint::isLiveCdFs()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:80:41: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 80 | return this->fileSystem == "aufs" | this->fileSystem == "overlayfs"; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_replace_escape(std::string, const char&, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp:121:93: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 121 | while (pos < subject.length() && (pos = subject.find(escapeCharacter, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_escape(std::string, const char&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp:132:108: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 132 | while (pos < subject.length() && (pos = subject.find_first_of(charactersToBeEscaped, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp: In static member function 'static std::string Helper::str_unescape(std::string, const char&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp:141:102: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 141 | while (pos < subject.length() && (pos = subject.find_first_of(escapeCharacter, pos)) != -1){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/ArrayStructure.hpp: In constructor 'ArrayStructureItem::ArrayStructureItem(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/ArrayStructure.hpp:117:21: warning: 'ArrayStructureItem::value' will be initialized after [-Wreorder] 117 | std::string value; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/ArrayStructure.hpp:44:14: warning: 'bool ArrayStructureItem::isString' [-Wreorder] 44 | bool isString; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/ArrayStructure.hpp:41:9: warning: when initialized here [-Wreorder] 41 | ArrayStructureItem(std::string const& value = "") : isArray(false), value(value), isString(true) {} | ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:43: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp: In constructor 'Model_SettingsStore_Row::Model_SettingsStore_Row()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp:38:31: warning: 'Model_SettingsStore_Row::isActive' will be initialized after [-Wreorder] 38 | bool hasExportPrefix, isActive, isSetting; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp:38:14: warning: 'bool Model_SettingsStore_Row::hasExportPrefix' [-Wreorder] 38 | bool hasExportPrefix, isActive, isSetting; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp:35:9: warning: when initialized here [-Wreorder] 35 | Model_SettingsStore_Row() : isActive(true), hasExportPrefix(false), isSetting(true) {} | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp: In member function 'void Model_SettingsStore_Row::validate()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp:45:64: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 45 | name = name.substr(name.find_first_not_of(' ') == -1 ? 0 : name.find_first_not_of(' ')); // ltrim | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp:47:67: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 47 | value = value.substr(value.find_first_not_of(' ') == -1 ? 0 : value.find_first_not_of(' ')); // ltrim | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/GtkView.cpp:30: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/EnvEditor.hpp: In member function 'virtual void View_Gtk_EnvEditor::setEnvSettings(const std::map, std::__cxx11::basic_string >&, const std::__cxx11::list >&, const std::__cxx11::list >&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/EnvEditor.hpp:147:30: warning: variable 'entryCreated' set but not used [-Wunused-but-set-variable] 147 | bool entryCreated = false; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp: In constructor 'Model_Env::Model_Env()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:361:14: warning: 'Model_Env::useDirectBackgroundProps' will be initialized after [-Wreorder] 361 | bool useDirectBackgroundProps; // Whether background settings should be set directly or by creating a desktop-base script | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:55:14: warning: 'bool Model_Env::modificationsUnsaved' [-Wreorder] 55 | bool modificationsUnsaved; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:58:9: warning: when initialized here [-Wreorder] 58 | Model_Env() : burgMode(false), | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:55:14: warning: 'Model_Env::modificationsUnsaved' will be initialized after [-Wreorder] 55 | bool modificationsUnsaved; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:53:14: warning: 'bool Model_Env::quit_requested' [-Wreorder] 53 | bool quit_requested; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:58:9: warning: when initialized here [-Wreorder] 58 | Model_Env() : burgMode(false), | ^~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:42: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp: In constructor 'Model_MountTable_Mountpoint::Model_MountTable_Mountpoint(const std::string&, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:41:14: warning: 'Model_MountTable_Mountpoint::isMounted' will be initialized after [-Wreorder] 41 | bool isMounted; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:40:29: warning: 'std::string Model_MountTable_Mountpoint::mountpoint' [-Wreorder] 40 | std::string device, mountpoint, fileSystem, options, dump, pass; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:50:9: warning: when initialized here [-Wreorder] 50 | Model_MountTable_Mountpoint(std::string const& mountpoint = "", bool isMounted = false) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp: In constructor 'Model_MountTable_Mountpoint::Model_MountTable_Mountpoint(const std::string&, const std::string&, const std::string&, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:41:14: warning: 'Model_MountTable_Mountpoint::isMounted' will be initialized after [-Wreorder] 41 | bool isMounted; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:40:53: warning: 'std::string Model_MountTable_Mountpoint::options' [-Wreorder] 40 | std::string device, mountpoint, fileSystem, options, dump, pass; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:54:9: warning: when initialized here [-Wreorder] 54 | Model_MountTable_Mountpoint(std::string const& device, std::string const& mountpoint, std::string const& options, bool isMounted = false) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp: In member function 'bool Model_MountTable_Mountpoint::isLiveCdFs()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/MountTable.hpp:80:41: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] 80 | return this->fileSystem == "aufs" | this->fileSystem == "overlayfs"; | ~~~~~~~~~~~~~~~~~^~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:37, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/GtkView.cpp:33: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Settings.hpp: In constructor 'View_Gtk_Settings::View_Gtk_Settings()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Settings.hpp:81:52: warning: 'View_Gtk_Settings::rbDefSaved' will be initialized after [-Wreorder] 81 | private: Gtk::RadioButton rbDefPredefined, rbDefSaved; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Settings.hpp:79:29: warning: 'Gtk::Label View_Gtk_Settings::lblDefaultEntry' [-Wreorder] 79 | private: Gtk::Label lblDefaultEntry; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Settings.hpp:118:17: warning: when initialized here [-Wreorder] 118 | public: View_Gtk_Settings() : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Settings.hpp:109:35: warning: 'View_Gtk_Settings::chkGenerateRecovery' will be initialized after [-Wreorder] 109 | private: Gtk::CheckButton chkGenerateRecovery; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Settings.hpp:97:48: warning: 'Gtk::CheckButton View_Gtk_Settings::chkOsProber' [-Wreorder] 97 | private: Gtk::CheckButton chkShowMenu, chkOsProber; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Settings.hpp:118:17: warning: when initialized here [-Wreorder] 118 | public: View_Gtk_Settings() : | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Settings.hpp:116:36: warning: 'View_Gtk_Settings::cbResolution' will be initialized after [-Wreorder] 116 | private: Gtk::ComboBoxText cbResolution; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Settings.hpp:90:29: warning: 'Gtk::Image View_Gtk_Settings::imgDefaultEntryHelp' [-Wreorder] 90 | private: Gtk::Image imgDefaultEntryHelp; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Settings.hpp:118:17: warning: when initialized here [-Wreorder] 118 | public: View_Gtk_Settings() : | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:43: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp: In constructor 'Model_SettingsStore_Row::Model_SettingsStore_Row()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp:38:31: warning: 'Model_SettingsStore_Row::isActive' will be initialized after [-Wreorder] 38 | bool hasExportPrefix, isActive, isSetting; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp:38:14: warning: 'bool Model_SettingsStore_Row::hasExportPrefix' [-Wreorder] 38 | bool hasExportPrefix, isActive, isSetting; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp:35:9: warning: when initialized here [-Wreorder] 35 | Model_SettingsStore_Row() : isActive(true), hasExportPrefix(false), isSetting(true) {} | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp: In member function 'void Model_SettingsStore_Row::validate()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp:45:64: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 45 | name = name.substr(name.find_first_not_of(' ') == -1 ? 0 : name.find_first_not_of(' ')); // ltrim | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SettingsStore.hpp:47:67: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 47 | value = value.substr(value.find_first_not_of(' ') == -1 ? 0 : value.find_first_not_of(' ')); // ltrim | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp: In constructor 'Model_Env::Model_Env()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:361:14: warning: 'Model_Env::useDirectBackgroundProps' will be initialized after [-Wreorder] 361 | bool useDirectBackgroundProps; // Whether background settings should be set directly or by creating a desktop-base script | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:55:14: warning: 'bool Model_Env::modificationsUnsaved' [-Wreorder] 55 | bool modificationsUnsaved; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:58:9: warning: when initialized here [-Wreorder] 58 | Model_Env() : burgMode(false), | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:55:14: warning: 'Model_Env::modificationsUnsaved' will be initialized after [-Wreorder] 55 | bool modificationsUnsaved; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:53:14: warning: 'bool Model_Env::quit_requested' [-Wreorder] 53 | bool quit_requested; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Env.hpp:58:9: warning: when initialized here [-Wreorder] 58 | Model_Env() : burgMode(false), | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp: In constructor 'View_Gtk_Main::View_Gtk_Main()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:70:96: warning: 'View_Gtk_Main::tbttRight' will be initialized after [-Wreorder] 70 | private: Gtk::ToolButton tbttRemove, tbttUp, tbttDown, tbttSave, tbttReload, tbttLeft, tbttRight, tbttEditEntry, tbttRevert, tbttCreateEntry; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:70:64: warning: 'Gtk::ToolButton View_Gtk_Main::tbttSave' [-Wreorder] 70 | private: Gtk::ToolButton tbttRemove, tbttUp, tbttDown, tbttSave, tbttReload, tbttLeft, tbttRight, tbttEditEntry, tbttRevert, tbttCreateEntry; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:99:17: warning: when initialized here [-Wreorder] 99 | public: View_Gtk_Main() : | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:82:37: warning: 'View_Gtk_Main::miExit' will be initialized after [-Wreorder] 82 | private: Gtk::ImageMenuItem miExit, miSave, miAbout, miModifyEnvironment, miRevert, miCreateEntry; | ^~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:70:74: warning: 'Gtk::ToolButton View_Gtk_Main::tbttReload' [-Wreorder] 70 | private: Gtk::ToolButton tbttRemove, tbttUp, tbttDown, tbttSave, tbttReload, tbttLeft, tbttRight, tbttEditEntry, tbttRevert, tbttCreateEntry; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:99:17: warning: when initialized here [-Wreorder] 99 | public: View_Gtk_Main() : | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:84:94: warning: 'View_Gtk_Main::miCEditEntry' will be initialized after [-Wreorder] 84 | private: Gtk::ImageMenuItem miCRemove, miCUp, miCDown, miCLeft, miCRight, miCRename, miCEditEntry; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:83:38: warning: 'ImageMenuItemOwnKey View_Gtk_Main::miReload' [-Wreorder] 83 | private: ImageMenuItemOwnKey miReload, miRemove, miUp, miDown, miLeft, miRight, miEditEntry; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:99:17: warning: when initialized here [-Wreorder] 99 | public: View_Gtk_Main() : | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:83:38: warning: 'View_Gtk_Main::miReload' will be initialized after [-Wreorder] 83 | private: ImageMenuItemOwnKey miReload, miRemove, miUp, miDown, miLeft, miRight, miEditEntry; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:82:45: warning: 'Gtk::ImageMenuItem View_Gtk_Main::miSave' [-Wreorder] 82 | private: Gtk::ImageMenuItem miExit, miSave, miAbout, miModifyEnvironment, miRevert, miCreateEntry; | ^~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:99:17: warning: when initialized here [-Wreorder] 99 | public: View_Gtk_Main() : | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:82:83: warning: 'View_Gtk_Main::miRevert' will be initialized after [-Wreorder] 82 | private: Gtk::ImageMenuItem miExit, miSave, miAbout, miModifyEnvironment, miRevert, miCreateEntry; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:81:110: warning: 'Gtk::MenuItem View_Gtk_Main::miAboutEntryTypes' [-Wreorder] 81 | private: Gtk::MenuItem miFile, miEdit, miView, miHelp, miInstallGrub, miContext, miCAboutEntryTypes, miAboutEntryTypes; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:99:17: warning: when initialized here [-Wreorder] 99 | public: View_Gtk_Main() : | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:81:110: warning: 'View_Gtk_Main::miAboutEntryTypes' will be initialized after [-Wreorder] 81 | private: Gtk::MenuItem miFile, miEdit, miView, miHelp, miInstallGrub, miContext, miCAboutEntryTypes, miAboutEntryTypes; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:81:90: warning: 'Gtk::MenuItem View_Gtk_Main::miCAboutEntryTypes' [-Wreorder] 81 | private: Gtk::MenuItem miFile, miEdit, miView, miHelp, miInstallGrub, miContext, miCAboutEntryTypes, miAboutEntryTypes; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:99:17: warning: when initialized here [-Wreorder] 99 | public: View_Gtk_Main() : | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:97:56: warning: 'View_Gtk_Main::bbxAdvancedSettings2' will be initialized after [-Wreorder] 97 | private: Gtk::HButtonBox bbxAdvancedSettings1, bbxAdvancedSettings2; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:56:29: warning: 'Gtk::Label View_Gtk_Main::lblReloadRequired' [-Wreorder] 56 | private: Gtk::Label lblReloadRequired; | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:99:17: warning: when initialized here [-Wreorder] 99 | public: View_Gtk_Main() : | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/EntryPathBuilder.hpp:32, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp:30, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:36, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxylist.hpp:35, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:54, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../Factory.hpp:34: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:81:22: warning: 'Model_Entry::quote' will be initialized after [-Wreorder] 81 | public: char quote; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:84:17: warning: when initialized here [-Wreorder] 84 | public: Model_Entry() | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry(std::string, std::string, std::string, EntryType)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:80:46: warning: 'Model_Entry::content' will be initialized after [-Wreorder] 80 | public: std::string name, extension, content; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:79:22: warning: 'bool Model_Entry::isValid' [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:88:17: warning: when initialized here [-Wreorder] 88 | public: Model_Entry(std::string name, std::string extension, std::string content = "", EntryType type = MENUENTRY) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:79:22: warning: 'Model_Entry::isValid' will be initialized after [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:88:17: warning: when initialized here [-Wreorder] 88 | public: Model_Entry(std::string name, std::string extension, std::string content = "", EntryType type = MENUENTRY) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry(FILE*, Model_Entry_Row, std::shared_ptr, std::string*)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:79:22: warning: 'Model_Entry::isValid' will be initialized after [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:92:17: warning: when initialized here [-Wreorder] 92 | public: Model_Entry(FILE* sourceFile, Model_Entry_Row firstRow = Model_Entry_Row(), std::shared_ptr logger = nullptr, std::string* plaintextBuffer = NULL) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:81:22: warning: 'Model_Entry::quote' will be initialized after [-Wreorder] 81 | public: char quote; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:79:31: warning: 'bool Model_Entry::isModified' [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:92:17: warning: when initialized here [-Wreorder] 92 | public: Model_Entry(FILE* sourceFile, Model_Entry_Row firstRow = Model_Entry_Row(), std::shared_ptr logger = nullptr, std::string* plaintextBuffer = NULL) | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp:32: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Script.hpp: In constructor 'Model_Script::Model_Script(const std::string&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Script.hpp:46:46: warning: 'Model_Script::root' will be initialized after [-Wreorder] 46 | public: std::shared_ptr root; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Script.hpp:45:22: warning: 'bool Model_Script::isCustomScript' [-Wreorder] 45 | public: bool isCustomScript; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Script.hpp:48:17: warning: when initialized here [-Wreorder] 48 | public: Model_Script(std::string const& name, std::string const& fileName) : | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp: In constructor 'Model_EntryPathBuilderImpl::Model_EntryPathBuilderImpl(std::shared_ptr)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp:39:22: warning: 'Model_EntryPathBuilderImpl::prefixLength' will be initialized after [-Wreorder] 39 | private: int prefixLength; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp:36:48: warning: 'std::shared_ptr Model_EntryPathBuilderImpl::mainScript' [-Wreorder] 36 | private: std::shared_ptr mainScript; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp:41:17: warning: when initialized here [-Wreorder] 41 | public: Model_EntryPathBuilderImpl(std::shared_ptr mainScript) : prefixLength(0), mainScript(NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp: In member function 'void View_Gtk_Main::signal_rename_click()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:805:58: warning: variable 'iter' set but not used [-Wunused-but-set-variable] 805 | Gtk::TreeModel::iterator iter = this->tvConfList.refTreeStore->get_iter(selectedRows[0]); | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp: In member function 'void View_Gtk_Main::signal_treeview_selection_changed()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Main.hpp:846:58: warning: variable 'iter' set but not used [-Wunused-but-set-variable] 846 | Gtk::TreeModel::iterator iter = this->tvConfList.refTreeStore->get_iter(selectedRows[0]); | ^~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/EntryPathBuilder.hpp:32, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp:30, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:36, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxylist.hpp:35, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:54, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../Factory.hpp:34: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:81:22: warning: 'Model_Entry::quote' will be initialized after [-Wreorder] 81 | public: char quote; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:84:17: warning: when initialized here [-Wreorder] 84 | public: Model_Entry() | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:37: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ProxyScriptData.hpp: In static member function 'static bool Model_ProxyScriptData::is_proxyscript(FILE*)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ProxyScriptData.hpp:139:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 139 | for (int i = 0; i < textBefore.length() && (c = fgetc(proxy_fp)) != EOF; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry(std::string, std::string, std::string, EntryType)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:80:46: warning: 'Model_Entry::content' will be initialized after [-Wreorder] 80 | public: std::string name, extension, content; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:79:22: warning: 'bool Model_Entry::isValid' [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:88:17: warning: when initialized here [-Wreorder] 88 | public: Model_Entry(std::string name, std::string extension, std::string content = "", EntryType type = MENUENTRY) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:79:22: warning: 'Model_Entry::isValid' will be initialized after [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:88:17: warning: when initialized here [-Wreorder] 88 | public: Model_Entry(std::string name, std::string extension, std::string content = "", EntryType type = MENUENTRY) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp: In constructor 'Model_Entry::Model_Entry(FILE*, Model_Entry_Row, std::shared_ptr, std::string*)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:79:22: warning: 'Model_Entry::isValid' will be initialized after [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:78:27: warning: 'Model_Entry::EntryType Model_Entry::type' [-Wreorder] 78 | public: EntryType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:92:17: warning: when initialized here [-Wreorder] 92 | public: Model_Entry(FILE* sourceFile, Model_Entry_Row firstRow = Model_Entry_Row(), std::shared_ptr logger = nullptr, std::string* plaintextBuffer = NULL) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:81:22: warning: 'Model_Entry::quote' will be initialized after [-Wreorder] 81 | public: char quote; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:79:31: warning: 'bool Model_Entry::isModified' [-Wreorder] 79 | public: bool isValid, isModified; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../Model/../Model/Entry.hpp:92:17: warning: when initialized here [-Wreorder] 92 | public: Model_Entry(FILE* sourceFile, Model_Entry_Row firstRow = Model_Entry_Row(), std::shared_ptr logger = nullptr, std::string* plaintextBuffer = NULL) | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:38: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(RuleType, std::__cxx11::list >, std::string, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(RuleType, std::__cxx11::list >, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(std::shared_ptr, bool, std::shared_ptr, const std::__cxx11::list > >&, const std::__cxx11::list >&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:113:17: warning: when initialized here [-Wreorder] 113 | public: Model_Rule() | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:113:17: warning: when initialized here [-Wreorder] 113 | public: Model_Rule() | ^~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/GtkView.cpp:35: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp: In constructor 'View_Gtk_Theme::View_Gtk_Theme()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:168:29: warning: 'View_Gtk_Theme::lblFileSelection' will be initialized after [-Wreorder] 168 | private: Gtk::Label lblFileSelection; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:157:34: warning: 'Gtk::ToolButton View_Gtk_Theme::tbttAdd' [-Wreorder] 157 | private: Gtk::ToolButton tbttAdd, tbttRemove; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:216:17: warning: when initialized here [-Wreorder] 216 | public: View_Gtk_Theme() : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:211:29: warning: 'View_Gtk_Theme::imgRemoveBackground' will be initialized after [-Wreorder] 211 | private: Gtk::Image imgRemoveBackground; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:196:29: warning: 'Gtk::Image View_Gtk_Theme::imgRemoveFont' [-Wreorder] 196 | private: Gtk::Image imgRemoveFont; | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:216:17: warning: when initialized here [-Wreorder] 216 | public: View_Gtk_Theme() : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:196:29: warning: 'View_Gtk_Theme::imgRemoveFont' will be initialized after [-Wreorder] 196 | private: Gtk::Image imgRemoveFont; | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:176:58: warning: 'Gtk::Image View_Gtk_Theme::imgThemeHelp' [-Wreorder] 176 | private: Gtk::Image imgAddTheme, imgRemoveTheme, imgThemeHelp; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:216:17: warning: when initialized here [-Wreorder] 216 | public: View_Gtk_Theme() : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:201:49: warning: 'View_Gtk_Theme::lblBackgroundRequiredInfo' will be initialized after [-Wreorder] 201 | private: Gtk::Label lblBackgroundImage, lblBackgroundRequiredInfo; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:184:56: warning: 'GrubColorChooser View_Gtk_Theme::gccNormalBackground' [-Wreorder] 184 | private: GrubColorChooser gccNormalForeground, gccNormalBackground, gccHighlightForeground, gccHighlightBackground; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:216:17: warning: when initialized here [-Wreorder] 216 | public: View_Gtk_Theme() : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:191:29: warning: 'View_Gtk_Theme::lblFont' will be initialized after [-Wreorder] 191 | private: Gtk::Label lblFont; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:176:29: warning: 'Gtk::Image View_Gtk_Theme::imgAddTheme' [-Wreorder] 176 | private: Gtk::Image imgAddTheme, imgRemoveTheme, imgThemeHelp; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:216:17: warning: when initialized here [-Wreorder] 216 | public: View_Gtk_Theme() : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:178:41: warning: 'View_Gtk_Theme::fcThemeFileChooser' will be initialized after [-Wreorder] 178 | private: Gtk::FileChooserDialog fcThemeFileChooser; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:160:29: warning: 'Gtk::Frame View_Gtk_Theme::frmThemeEditor' [-Wreorder] 160 | private: Gtk::Frame frmThemeEditor; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:216:17: warning: when initialized here [-Wreorder] 216 | public: View_Gtk_Theme() : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:160:29: warning: 'View_Gtk_Theme::frmThemeEditor' will be initialized after [-Wreorder] 160 | private: Gtk::Frame frmThemeEditor; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:148:29: warning: 'Gtk::Frame View_Gtk_Theme::frmCustomTheme' [-Wreorder] 148 | private: Gtk::Frame frmCustomTheme; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:216:17: warning: when initialized here [-Wreorder] 216 | public: View_Gtk_Theme() : | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp:32: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Script.hpp: In constructor 'Model_Script::Model_Script(const std::string&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Script.hpp:46:46: warning: 'Model_Script::root' will be initialized after [-Wreorder] 46 | public: std::shared_ptr root; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Script.hpp:45:22: warning: 'bool Model_Script::isCustomScript' [-Wreorder] 45 | public: bool isCustomScript; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Script.hpp:48:17: warning: when initialized here [-Wreorder] 48 | public: Model_Script(std::string const& name, std::string const& fileName) : | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:264:50: warning: enum constant in boolean context [-Wint-in-bool-context] 264 | hpThemeEditor.pack2(vbEdit, Gtk::FILL, Gtk::EXPAND); | ~~~~~^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Theme.hpp:285:65: warning: enum constant in boolean context [-Wint-in-bool-context] 285 | hpCustomTheme.pack2(frmCustomThemePreview, Gtk::FILL, Gtk::EXPAND); | ~~~~~^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp: In constructor 'Model_Proxy::Model_Proxy()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:47:47: warning: 'Model_Proxy::dataSource' will be initialized after [-Wreorder] 47 | public: std::shared_ptr dataSource; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:45:27: warning: 'short int Model_Proxy::permissions' [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:52:17: warning: when initialized here [-Wreorder] 52 | public: Model_Proxy() | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:45:27: warning: 'Model_Proxy::permissions' will be initialized after [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:44:21: warning: 'int Model_Proxy::index' [-Wreorder] 44 | public: int index; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:52:17: warning: when initialized here [-Wreorder] 52 | public: Model_Proxy() | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp: In constructor 'Model_Proxy::Model_Proxy(std::shared_ptr, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:47:47: warning: 'Model_Proxy::dataSource' will be initialized after [-Wreorder] 47 | public: std::shared_ptr dataSource; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:45:27: warning: 'short int Model_Proxy::permissions' [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Proxy(std::shared_ptr dataSource, bool activateRules = true) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:45:27: warning: 'Model_Proxy::permissions' will be initialized after [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:44:21: warning: 'int Model_Proxy::index' [-Wreorder] 44 | public: int index; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Proxy(std::shared_ptr dataSource, bool activateRules = true) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp: In constructor 'Model_EntryPathBuilderImpl::Model_EntryPathBuilderImpl(std::shared_ptr)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp:39:22: warning: 'Model_EntryPathBuilderImpl::prefixLength' will be initialized after [-Wreorder] 39 | private: int prefixLength; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp:36:48: warning: 'std::shared_ptr Model_EntryPathBuilderImpl::mainScript' [-Wreorder] 36 | private: std::shared_ptr mainScript; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/EntryPathBuilderImpl.hpp:41:17: warning: when initialized here [-Wreorder] 41 | public: Model_EntryPathBuilderImpl(std::shared_ptr mainScript) : prefixLength(0), mainScript(NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:37: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ProxyScriptData.hpp: In static member function 'static bool Model_ProxyScriptData::is_proxyscript(FILE*)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ProxyScriptData.hpp:139:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 139 | for (int i = 0; i < textBefore.length() && (c = fgetc(proxy_fp)) != EOF; i++){ | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:38: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(RuleType, std::__cxx11::list >, std::string, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:53:17: warning: when initialized here [-Wreorder] 53 | public: Model_Rule(RuleType type, std::list path, std::string outputName, bool isVisible) | ^~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/GtkView.cpp:36: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Trash.hpp: In constructor 'View_Gtk_Trash::View_Gtk_Trash()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Trash.hpp:52:37: warning: 'View_Gtk_Trash::micRestore' will be initialized after [-Wreorder] 52 | private: Gtk::ImageMenuItem micRestore; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Trash.hpp:45:30: warning: 'Gtk::Button View_Gtk_Trash::bttRestore' [-Wreorder] 45 | private: Gtk::Button bttRestore; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/../View/Gtk/Trash.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: View_Gtk_Trash() : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(RuleType, std::__cxx11::list >, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Rule(RuleType type, std::list path, bool isVisible) | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule(std::shared_ptr, bool, std::shared_ptr, const std::__cxx11::list > >&, const std::__cxx11::list >&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'std::__cxx11::list > Model_Rule::__idpath' [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:43:40: warning: 'Model_Rule::__idpath' will be initialized after [-Wreorder] 43 | public: std::list __idpath; //should only be used by sync()! | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'std::string Model_Rule::outputName' [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:41:29: warning: 'Model_Rule::outputName' will be initialized after [-Wreorder] 41 | public: std::string outputName; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:62:17: warning: when initialized here [-Wreorder] 62 | public: Model_Rule( | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp: In constructor 'Model_Rule::Model_Rule()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:51:26: warning: 'Model_Rule::type' will be initialized after [-Wreorder] 51 | public: RuleType type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'bool Model_Rule::isVisible' [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:113:17: warning: when initialized here [-Wreorder] 113 | public: Model_Rule() | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:45:22: warning: 'Model_Rule::isVisible' will be initialized after [-Wreorder] 45 | public: bool isVisible; | ^~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:40:46: warning: 'std::shared_ptr Model_Rule::dataSource' [-Wreorder] 40 | public: std::shared_ptr dataSource; //assigned when using RuleType::OTHER_ENTRIES_PLACEHOLDER | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Rule.hpp:113:17: warning: when initialized here [-Wreorder] 113 | public: Model_Rule() | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp: In constructor 'Model_Proxy::Model_Proxy()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:47:47: warning: 'Model_Proxy::dataSource' will be initialized after [-Wreorder] 47 | public: std::shared_ptr dataSource; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:45:27: warning: 'short int Model_Proxy::permissions' [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:52:17: warning: when initialized here [-Wreorder] 52 | public: Model_Proxy() | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:45:27: warning: 'Model_Proxy::permissions' will be initialized after [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:44:21: warning: 'int Model_Proxy::index' [-Wreorder] 44 | public: int index; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:52:17: warning: when initialized here [-Wreorder] 52 | public: Model_Proxy() | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp: In constructor 'Model_Proxy::Model_Proxy(std::shared_ptr, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:47:47: warning: 'Model_Proxy::dataSource' will be initialized after [-Wreorder] 47 | public: std::shared_ptr dataSource; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:45:27: warning: 'short int Model_Proxy::permissions' [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Proxy(std::shared_ptr dataSource, bool activateRules = true) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:45:27: warning: 'Model_Proxy::permissions' will be initialized after [-Wreorder] 45 | public: short int permissions; | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:44:21: warning: 'int Model_Proxy::index' [-Wreorder] 44 | public: int index; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Proxy.hpp:57:17: warning: when initialized here [-Wreorder] 57 | public: Model_Proxy(std::shared_ptr dataSource, bool activateRules = true) | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Repository.hpp:37, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:56: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/PscriptnameTranslator.hpp: In static member function 'static std::string Model_PscriptnameTranslator::decode(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/PscriptnameTranslator.hpp:38:96: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | if (last_nonnum_pos != -1 && result[last_nonnum_pos] == '~' && last_nonnum_pos != input.length()-1) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/PscriptnameTranslator.hpp: In static member function 'static std::string Model_PscriptnameTranslator::encode(const std::string&, int)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/PscriptnameTranslator.hpp:47:108: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | if (x != 0 || ((last_nonnum_pos != -1 && input[last_nonnum_pos] == '~') && last_nonnum_pos != input.length()-1)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In constructor 'Model_ListCfg::Model_ListCfg()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:96:22: warning: 'Model_ListCfg::error_proxy_not_found' will be initialized after [-Wreorder] 96 | public: bool error_proxy_not_found; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:65:25: warning: 'double Model_ListCfg::progress' [-Wreorder] 65 | private: double progress; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:123:22: warning: 'Model_ListCfg::cancelThreadsRequested' will be initialized after [-Wreorder] 123 | public: bool cancelThreadsRequested; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:95:22: warning: 'bool Model_ListCfg::verbose' [-Wreorder] 95 | public: bool verbose; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:95:22: warning: 'Model_ListCfg::verbose' will be initialized after [-Wreorder] 95 | public: bool verbose; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:68:30: warning: 'std::string Model_ListCfg::errorLogFile' [-Wreorder] 68 | private: std::string errorLogFile; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:121:22: warning: 'Model_ListCfg::ignoreLock' will be initialized after [-Wreorder] 121 | public: bool ignoreLock; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:67:22: warning: 'int Model_ListCfg::progress_pos' [-Wreorder] 67 | private: int progress_pos, progress_max; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'void Model_ListCfg::load(bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:263:45: warning: unused variable 'res' [-Wunused-variable] 263 | int res = chmod(proxy->fileName.c_str(), 0644); | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'void Model_ListCfg::save()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:442:37: warning: unused variable 'fileProperties' [-Wunused-variable] 442 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:469:29: warning: unused variable 'bin_mk_success' [-Wunused-variable] 469 | int bin_mk_success = mkdir((this->env->cfg_dir+"/bin").c_str(), 0755); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:556:126: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 556 | if ((saveProcSuccess != 0 || saveProcOutput.find("Syntax errors are detected in generated GRUB config file") != -1)){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:384:21: warning: unused variable 'mkdir_result' [-Wunused-variable] 384 | int mkdir_result = mkdir((this->env->cfg_dir+"/proxifiedScripts").c_str(), 0755); //create this directory if it doesn't already exist | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'void Model_ListCfg::readGeneratedFile(FILE*, bool, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:597:102: warning: operation on 'i' may be undefined [-Wsequence-point] 597 | this->send_new_load_progress(0.1 + (progressbarScriptSpace * ++i + (progressbarScriptSpace/10*innerCount)), script->name, i, this->repository.size()); | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:597:102: warning: operation on 'i' may be undefined [-Wsequence-point] In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Repository.hpp:37, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:56: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/PscriptnameTranslator.hpp: In static member function 'static std::string Model_PscriptnameTranslator::decode(const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/PscriptnameTranslator.hpp:38:96: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | if (last_nonnum_pos != -1 && result[last_nonnum_pos] == '~' && last_nonnum_pos != input.length()-1) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/PscriptnameTranslator.hpp: In static member function 'static std::string Model_PscriptnameTranslator::encode(const std::string&, int)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/PscriptnameTranslator.hpp:47:108: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | if (x != 0 || ((last_nonnum_pos != -1 && input[last_nonnum_pos] == '~') && last_nonnum_pos != input.length()-1)) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'bool Model_ListCfg::cfgDirIsClean()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:800:37: warning: unused variable 'fileProperties' [-Wunused-variable] 800 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'void Model_ListCfg::cleanupCfgDir()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:818:37: warning: unused variable 'fileProperties' [-Wunused-variable] 818 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'bool Model_ListCfg::compare(const Model_ListCfg&) const': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:872:71: error: aggregate 'std::array >, 2> rlist' has incomplete type and cannot be defined 872 | std::array>, 2> rlist; | ^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'std::__cxx11::list > Model_ListCfg::getRemovedEntries(std::shared_ptr, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:1023:56: warning: enumeration value 'SCRIPT_ROOT' not handled in switch [-Wswitch] 1023 | switch (entry->type) { | ^ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'void Model_ListCfg::revert()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:1260:53: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1260 | assert(this->proxies.size() < remaining); // make sure that the proxy has really been deleted to prevent an endless loop | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../lib/Regex/../Helper.hpp:40:5: note: in definition of macro 'assert' 40 | ((expr) \ | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In constructor 'Model_ListCfg::Model_ListCfg()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:96:22: warning: 'Model_ListCfg::error_proxy_not_found' will be initialized after [-Wreorder] 96 | public: bool error_proxy_not_found; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:65:25: warning: 'double Model_ListCfg::progress' [-Wreorder] 65 | private: double progress; | ^~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:123:22: warning: 'Model_ListCfg::cancelThreadsRequested' will be initialized after [-Wreorder] 123 | public: bool cancelThreadsRequested; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:95:22: warning: 'bool Model_ListCfg::verbose' [-Wreorder] 95 | public: bool verbose; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:95:22: warning: 'Model_ListCfg::verbose' will be initialized after [-Wreorder] 95 | public: bool verbose; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:68:30: warning: 'std::string Model_ListCfg::errorLogFile' [-Wreorder] 68 | private: std::string errorLogFile; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:121:22: warning: 'Model_ListCfg::ignoreLock' will be initialized after [-Wreorder] 121 | public: bool ignoreLock; | ^~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:67:22: warning: 'int Model_ListCfg::progress_pos' [-Wreorder] 67 | private: int progress_pos, progress_max; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:72:17: warning: when initialized here [-Wreorder] 72 | public: Model_ListCfg() : error_proxy_not_found(false), | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'void Model_ListCfg::load(bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:263:45: warning: unused variable 'res' [-Wunused-variable] 263 | int res = chmod(proxy->fileName.c_str(), 0644); | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'void Model_ListCfg::save()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:442:37: warning: unused variable 'fileProperties' [-Wunused-variable] 442 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:469:29: warning: unused variable 'bin_mk_success' [-Wunused-variable] 469 | int bin_mk_success = mkdir((this->env->cfg_dir+"/bin").c_str(), 0755); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:556:126: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 556 | if ((saveProcSuccess != 0 || saveProcOutput.find("Syntax errors are detected in generated GRUB config file") != -1)){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:384:21: warning: unused variable 'mkdir_result' [-Wunused-variable] 384 | int mkdir_result = mkdir((this->env->cfg_dir+"/proxifiedScripts").c_str(), 0755); //create this directory if it doesn't already exist | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'void Model_ListCfg::readGeneratedFile(FILE*, bool, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:597:102: warning: operation on 'i' may be undefined [-Wsequence-point] 597 | this->send_new_load_progress(0.1 + (progressbarScriptSpace * ++i + (progressbarScriptSpace/10*innerCount)), script->name, i, this->repository.size()); | ^~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:597:102: warning: operation on 'i' may be undefined [-Wsequence-point] /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'bool Model_ListCfg::cfgDirIsClean()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:800:37: warning: unused variable 'fileProperties' [-Wunused-variable] 800 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'void Model_ListCfg::cleanupCfgDir()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:818:37: warning: unused variable 'fileProperties' [-Wunused-variable] 818 | struct stat fileProperties; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'bool Model_ListCfg::compare(const Model_ListCfg&) const': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:872:71: error: aggregate 'std::array >, 2> rlist' has incomplete type and cannot be defined 872 | std::array>, 2> rlist; | ^~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Theme.hpp:38, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ThemeManager.hpp:33, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../Factory.hpp:42: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ThemeFile.hpp: In constructor 'Model_ThemeFile::Model_ThemeFile(std::string, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ThemeFile.hpp:41:14: warning: 'Model_ThemeFile::contentLoaded' will be initialized after [-Wreorder] 41 | bool contentLoaded; // say whether the content is loaded (text only) | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ThemeFile.hpp:40:36: warning: 'std::string Model_ThemeFile::newLocalFileName' [-Wreorder] 40 | std::string localFileName, newLocalFileName; // path inside of the theme directory | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ThemeFile.hpp:32:9: warning: when initialized here [-Wreorder] 32 | Model_ThemeFile(std::string localFileName, bool isAddedByUser = false) : localFileName(localFileName), contentLoaded(false), newLocalFileName(localFileName), isAddedByUser(isAddedByUser) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Theme.hpp: In constructor 'Model_Theme::Model_Theme(const std::string&, const std::string&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Theme.hpp:44:21: warning: 'Model_Theme::name' will be initialized after [-Wreorder] 44 | std::string name; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Theme.hpp:42:21: warning: 'std::string Model_Theme::zipFile' [-Wreorder] 42 | std::string zipFile; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Theme.hpp:47:9: warning: when initialized here [-Wreorder] 47 | Model_Theme(std::string const& directory, std::string const& zipFile, std::string const& name) : directory(directory), name(name), zipFile(zipFile), isModified(false) | ^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'std::__cxx11::list > Model_ListCfg::getRemovedEntries(std::shared_ptr, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:1023:56: warning: enumeration value 'SCRIPT_ROOT' not handled in switch [-Wswitch] 1023 | switch (entry->type) { | ^ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp: In member function 'void Model_ListCfg::revert()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ListCfg.hpp:1260:53: warning: comparison of integer expressions of different signedness: 'std::__cxx11::list >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1260 | assert(this->proxies.size() < remaining); // make sure that the proxy has really been deleted to prevent an endless loop | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/../lib/Helper.hpp:40:5: note: in definition of macro 'assert' 40 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/DeviceMap.hpp:35, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../Factory.hpp:43: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SmartFileHandle.hpp: In constructor 'Model_SmartFileHandle::Model_SmartFileHandle()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SmartFileHandle.hpp:42:37: warning: 'Model_SmartFileHandle::type' will be initialized after [-Wreorder] 42 | Model_SmartFileHandle::Type type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SmartFileHandle.hpp:41:15: warning: 'FILE* Model_SmartFileHandle::proc_or_file' [-Wreorder] 41 | FILE* proc_or_file; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SmartFileHandle.hpp:45:9: warning: when initialized here [-Wreorder] 45 | Model_SmartFileHandle() : type(TYPE_STRING), proc_or_file(NULL) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Theme.hpp:38, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ThemeManager.hpp:33, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../Factory.hpp:42: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ThemeFile.hpp: In constructor 'Model_ThemeFile::Model_ThemeFile(std::string, bool)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ThemeFile.hpp:41:14: warning: 'Model_ThemeFile::contentLoaded' will be initialized after [-Wreorder] 41 | bool contentLoaded; // say whether the content is loaded (text only) | ^~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ThemeFile.hpp:40:36: warning: 'std::string Model_ThemeFile::newLocalFileName' [-Wreorder] 40 | std::string localFileName, newLocalFileName; // path inside of the theme directory | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/ThemeFile.hpp:32:9: warning: when initialized here [-Wreorder] 32 | Model_ThemeFile(std::string localFileName, bool isAddedByUser = false) : localFileName(localFileName), contentLoaded(false), newLocalFileName(localFileName), isAddedByUser(isAddedByUser) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Theme.hpp: In constructor 'Model_Theme::Model_Theme(const std::string&, const std::string&, const std::string&)': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Theme.hpp:44:21: warning: 'Model_Theme::name' will be initialized after [-Wreorder] 44 | std::string name; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Theme.hpp:42:21: warning: 'std::string Model_Theme::zipFile' [-Wreorder] 42 | std::string zipFile; | ^~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/Theme.hpp:47:9: warning: when initialized here [-Wreorder] 47 | Model_Theme(std::string const& directory, std::string const& zipFile, std::string const& name) : directory(directory), name(name), zipFile(zipFile), isModified(false) | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/DeviceMap.hpp:35, from /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../Factory.hpp:43: /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SmartFileHandle.hpp: In constructor 'Model_SmartFileHandle::Model_SmartFileHandle()': /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SmartFileHandle.hpp:42:37: warning: 'Model_SmartFileHandle::type' will be initialized after [-Wreorder] 42 | Model_SmartFileHandle::Type type; | ^~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SmartFileHandle.hpp:41:15: warning: 'FILE* Model_SmartFileHandle::proc_or_file' [-Wreorder] 41 | FILE* proc_or_file; | ^~~~~~~~~~~~ /builddir/build/BUILD/grub-customizer-5.1.0/src/Bootstrap/FactoryImpl/../../Model/SmartFileHandle.hpp:45:9: warning: when initialized here [-Wreorder] 45 | Model_SmartFileHandle() : type(TYPE_STRING), proc_or_file(NULL) | ^~~~~~~~~~~~~~~~~~~~~ gmake[2]: *** [CMakeFiles/grub-customizer.dir/build.make:135: CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GLibRegex.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [CMakeFiles/grub-customizer.dir/build.make:121: CMakeFiles/grub-customizer.dir/src/Bootstrap/FactoryImpl/GlibThread.cpp.o] Error 1 gmake[2]: *** [CMakeFiles/grub-customizer.dir/build.make:79: CMakeFiles/grub-customizer.dir/src/main/client.cpp.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:89: CMakeFiles/grub-customizer.dir/all] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/grub-customizer-5.1.0/redhat-linux-build' gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.jhAbvO (%build) Bad exit status from /var/tmp/rpm-tmp.jhAbvO (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/grub-customizer.spec