Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/lagrange.spec'], chrootPath='/var/lib/mock/f40-build-56052903-6540142/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.agcez1tc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.agcez1tc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '428fb31d87c54c29b175f61638dd93fd', '-D', '/var/lib/mock/f40-build-56052903-6540142/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.agcez1tc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/lagrange.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1728864000 Wrote: /builddir/build/SRPMS/lagrange-1.18.3-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/lagrange.spec'], chrootPath='/var/lib/mock/f40-build-56052903-6540142/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.agcez1tc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.agcez1tc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e5b332c605b04f2cab64240e6a050da0', '-D', '/var/lib/mock/f40-build-56052903-6540142/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.agcez1tc:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/lagrange.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1728864000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DXIR2R + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lagrange-1.18.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lagrange-1.18.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lagrange-1.18.3 + rm -rf /builddir/build/BUILD/lagrange-1.18.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/lagrange-1.18.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf lib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wFQdK3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 lagrange-1.18.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 -DENABLE_POPUP_MENUS:BOOL=NO -DENABLE_X11_XLIB:BOOL=NO -- The C compiler identification is GNU 14.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 -- Setting build type to 'Release' as none was specified. -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1") -- Checking for module 'harfbuzz' -- Found harfbuzz, version 8.5.0 -- Checking for module 'fribidi' -- Found fribidi, version 1.0.14 -- Checking for module 'sdl2' -- Found sdl2, version 2.30.9 -- Checking for module 'libmpg123' -- Found libmpg123, version 1.32.9 -- Checking for module 'libwebp' -- Found libwebp, version 1.5.0 -- Checking for module 'opusfile' -- Package 'opusfile', required by 'virtual:world', not found -- Performing Test CFLAG_INCOMPATIBLE_POINTER_TYPES -- Performing Test CFLAG_INCOMPATIBLE_POINTER_TYPES - Success -- Preparing resources... -- resources.lgr -- Configuring done (2.8s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j8 --verbose Change Dir: '/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j8 /usr/bin/cmake -S/builddir/build/BUILD/lagrange-1.18.3 -B/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build/CMakeFiles /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/ext-deps.dir/build.make CMakeFiles/ext-deps.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build' cd /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/lagrange-1.18.3 /builddir/build/BUILD/lagrange-1.18.3 /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build/CMakeFiles/ext-deps.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/ext-deps.dir/build.make CMakeFiles/ext-deps.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build' gmake[2]: Nothing to be done for 'CMakeFiles/ext-deps.dir/build'. gmake[2]: Leaving directory '/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build' [ 0%] Built target ext-deps /usr/bin/gmake -f CMakeFiles/app.dir/build.make CMakeFiles/app.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build' cd /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/lagrange-1.18.3 /builddir/build/BUILD/lagrange-1.18.3 /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build/CMakeFiles/app.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/app.dir/build.make CMakeFiles/app.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build' [ 1%] Building C object CMakeFiles/app.dir/src/gempub.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gempub.c.o -MF CMakeFiles/app.dir/src/gempub.c.o.d -o CMakeFiles/app.dir/src/gempub.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/gempub.c [ 4%] Building C object CMakeFiles/app.dir/src/export.c.o [ 4%] Building C object CMakeFiles/app.dir/src/app.c.o [ 6%] Building C object CMakeFiles/app.dir/src/bookmarks.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/app.c.o -MF CMakeFiles/app.dir/src/app.c.o.d -o CMakeFiles/app.dir/src/app.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/app.c /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/bookmarks.c.o -MF CMakeFiles/app.dir/src/bookmarks.c.o.d -o CMakeFiles/app.dir/src/bookmarks.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/bookmarks.c /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/export.c.o -MF CMakeFiles/app.dir/src/export.c.o.d -o CMakeFiles/app.dir/src/export.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/export.c [ 7%] Building C object CMakeFiles/app.dir/src/fontpack.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/fontpack.c.o -MF CMakeFiles/app.dir/src/fontpack.c.o.d -o CMakeFiles/app.dir/src/fontpack.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c [ 9%] Building C object CMakeFiles/app.dir/src/gmcerts.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gmcerts.c.o -MF CMakeFiles/app.dir/src/gmcerts.c.o.d -o CMakeFiles/app.dir/src/gmcerts.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/gmcerts.c [ 10%] Building C object CMakeFiles/app.dir/src/main.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/main.c.o -MF CMakeFiles/app.dir/src/main.c.o.d -o CMakeFiles/app.dir/src/main.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/main.c [ 12%] Building C object CMakeFiles/app.dir/src/feeds.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/feeds.c.o -MF CMakeFiles/app.dir/src/feeds.c.o.d -o CMakeFiles/app.dir/src/feeds.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/feeds.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gempub.c:26: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/bookmarks.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/bookmarks.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.18.3/src/app.h:31, from /builddir/build/BUILD/lagrange-1.18.3/src/main.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/feeds.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/feeds.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/export.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/export.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.18.3/src/app.h:31, from /builddir/build/BUILD/lagrange-1.18.3/src/app.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmcerts.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/gmcerts.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c:25: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/bookmarks.c: In function ‘requestFinished_Bookmarks’: /builddir/build/BUILD/lagrange-1.18.3/src/bookmarks.c:849:11: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 849 | iBool found = iFalse; | ^~~~~ [ 13%] Building C object CMakeFiles/app.dir/src/gmdocument.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gmdocument.c.o -MF CMakeFiles/app.dir/src/gmdocument.c.o.d -o CMakeFiles/app.dir/src/gmdocument.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c: In function ‘actions_FontPack’: /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c:912:18: warning: missing braces around initializer [-Wmissing-braces] 912 | &(iMenuItem){ format_Lang(add_Icon " ${fontpack.upgrade}", fpId, d->version), | ^ ...... 915 | "fontpack.install" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c:921:18: warning: missing braces around initializer [-Wmissing-braces] 921 | &(iMenuItem){ format_Lang(isEnabled ? close_Icon " ${fontpack.disable}" | ^ ...... 926 | format_CStr("fontpack.enable arg:%d id:%s", !isEnabled, fpId) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c:931:29: warning: missing braces around initializer [-Wmissing-braces] 931 | &(iMenuItem){ format_Lang(delete_Icon " ${fontpack.delete}", fpId), | ^ ...... 934 | format_CStr("fontpack.delete id:%s", fpId) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c:939:25: warning: missing braces around initializer [-Wmissing-braces] 939 | &(iMenuItem){ format_Lang(add_Icon " " uiTextAction_ColorEscape | ^ ...... 943 | "fontpack.install" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c:945:21: warning: missing braces around initializer [-Wmissing-braces] 945 | items, &(iMenuItem){ download_Icon " " saveToDownloads_Label, 0, 0, "document.save" }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c:950:14: warning: missing braces around initializer [-Wmissing-braces] 950 | &(iMenuItem){ | ^ 951 | fontpack_Icon " ${fontpack.open.aboutfonts}", 0, 0, "!open switch:1 url:about:fonts" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c: In function ‘enablePack_Fonts’: /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c:1138:13: warning: unused variable ‘d’ [-Wunused-variable] 1138 | iFonts *d = &fonts_; | ^ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/fontpack.c:230:13: warning: ‘unloadFiles_Fonts_’ defined but not used [-Wunused-function] 230 | static void unloadFiles_Fonts_(iFonts *d) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/app.c: In function ‘handleOpenCommand_App_’: /builddir/build/BUILD/lagrange-1.18.3/src/app.c:4340:13: warning: missing braces around initializer [-Wmissing-braces] 4340 | (iMenuItem[]){ { "${dlg.spartan.upload}", | ^ ...... 4343 | format_CStr("valueinput.upload url:%s", | { 4344 | cstr_String(urlQueryStripped_String(url))) } }, | } /builddir/build/BUILD/lagrange-1.18.3/src/app.c:4340:13: warning: missing braces around initializer [-Wmissing-braces] 4340 | (iMenuItem[]){ { "${dlg.spartan.upload}", | ^ ...... 4343 | format_CStr("valueinput.upload url:%s", | { 4344 | cstr_String(urlQueryStripped_String(url))) } }, | } /builddir/build/BUILD/lagrange-1.18.3/src/app.c: In function ‘handleCommand_App’: /builddir/build/BUILD/lagrange-1.18.3/src/app.c:4743:17: warning: missing braces around initializer [-Wmissing-braces] 4743 | (iMenuItem[]){ | ^ /builddir/build/BUILD/lagrange-1.18.3/src/app.c:4743:17: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/app.c:4743:17: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/app.c:5237:21: warning: missing braces around initializer [-Wmissing-braces] 5237 | (iMenuItem[]){ { "${cancel}" }, | ^ ...... 5241 | format_CStr("!fontpack.delete confirmed:1 id:%s", | { 5242 | cstr_String(packId)) } }, | } /builddir/build/BUILD/lagrange-1.18.3/src/app.c:5237:21: warning: missing braces around initializer [-Wmissing-braces] 5237 | (iMenuItem[]){ { "${cancel}" }, | ^ ...... 5241 | format_CStr("!fontpack.delete confirmed:1 id:%s", | { 5242 | cstr_String(packId)) } }, | } [ 15%] Building C object CMakeFiles/app.dir/src/gmrequest.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gmrequest.c.o -MF CMakeFiles/app.dir/src/gmrequest.c.o.d -o CMakeFiles/app.dir/src/gmrequest.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/gmrequest.c /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c: In function ‘setThemeSeed_GmDocument’: /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } 1773 | { 7, 6 }, /* 2: yellowish orange */ | { } /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } 1773 | { 7, 6 }, /* 2: yellowish orange */ | { } 1774 | { 5, 7 }, /* 3: yellow */ | { } /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } 1773 | { 7, 6 }, /* 2: yellowish orange */ | { } 1774 | { 5, 7 }, /* 3: yellow */ | { } 1775 | { 8, 2 }, /* 4: greenish yellow */ | { } /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } 1773 | { 7, 6 }, /* 2: yellowish orange */ | { } 1774 | { 5, 7 }, /* 3: yellow */ | { } 1775 | { 8, 2 }, /* 4: greenish yellow */ | { } 1776 | { 2, 3 }, /* 5: green */ | { } /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } 1773 | { 7, 6 }, /* 2: yellowish orange */ | { } 1774 | { 5, 7 }, /* 3: yellow */ | { } 1775 | { 8, 2 }, /* 4: greenish yellow */ | { } 1776 | { 2, 3 }, /* 5: green */ | { } 1777 | { 2, 8 }, /* 6: bluish green */ | { } /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } 1773 | { 7, 6 }, /* 2: yellowish orange */ | { } 1774 | { 5, 7 }, /* 3: yellow */ | { } 1775 | { 8, 2 }, /* 4: greenish yellow */ | { } 1776 | { 2, 3 }, /* 5: green */ | { } 1777 | { 2, 8 }, /* 6: bluish green */ | { } 1778 | { 2, 5 }, /* 7: cyan */ | { } /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } 1773 | { 7, 6 }, /* 2: yellowish orange */ | { } 1774 | { 5, 7 }, /* 3: yellow */ | { } 1775 | { 8, 2 }, /* 4: greenish yellow */ | { } 1776 | { 2, 3 }, /* 5: green */ | { } 1777 | { 2, 8 }, /* 6: bluish green */ | { } 1778 | { 2, 5 }, /* 7: cyan */ | { } 1779 | { 6, 10 }, /* 8: sky blue */ | { } [ 16%] Building C object CMakeFiles/app.dir/src/gmtypesetter.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gmtypesetter.c.o -MF CMakeFiles/app.dir/src/gmtypesetter.c.o.d -o CMakeFiles/app.dir/src/gmtypesetter.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/gmtypesetter.c /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } 1773 | { 7, 6 }, /* 2: yellowish orange */ | { } 1774 | { 5, 7 }, /* 3: yellow */ | { } 1775 | { 8, 2 }, /* 4: greenish yellow */ | { } 1776 | { 2, 3 }, /* 5: green */ | { } 1777 | { 2, 8 }, /* 6: bluish green */ | { } 1778 | { 2, 5 }, /* 7: cyan */ | { } 1779 | { 6, 10 }, /* 8: sky blue */ | { } 1780 | { 3, 11 }, /* 9: blue */ | { } /builddir/build/BUILD/lagrange-1.18.3/src/app.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/app.c:145:21: warning: ‘idleThreshold_App_’ defined but not used [-Wunused-const-variable=] 145 | static const int idleThreshold_App_ = 1000; /* ms */ | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } 1773 | { 7, 6 }, /* 2: yellowish orange */ | { } 1774 | { 5, 7 }, /* 3: yellow */ | { } 1775 | { 8, 2 }, /* 4: greenish yellow */ | { } 1776 | { 2, 3 }, /* 5: green */ | { } 1777 | { 2, 8 }, /* 6: bluish green */ | { } 1778 | { 2, 5 }, /* 7: cyan */ | { } 1779 | { 6, 10 }, /* 8: sky blue */ | { } 1780 | { 3, 11 }, /* 9: blue */ | { } 1781 | { 8, 9 }, /* 10: violet */ | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmcerts.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/gmrequest.c:25: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } 1773 | { 7, 6 }, /* 2: yellowish orange */ | { } 1774 | { 5, 7 }, /* 3: yellow */ | { } 1775 | { 8, 2 }, /* 4: greenish yellow */ | { } 1776 | { 2, 3 }, /* 5: green */ | { } 1777 | { 2, 8 }, /* 6: bluish green */ | { } 1778 | { 2, 5 }, /* 7: cyan */ | { } 1779 | { 6, 10 }, /* 8: sky blue */ | { } 1780 | { 3, 11 }, /* 9: blue */ | { } 1781 | { 8, 9 }, /* 10: violet */ | { } 1782 | { 7, 8 }, /* 11: pink */ | { } /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1770:39: warning: missing braces around initializer [-Wmissing-braces] 1770 | } altHues[iElemCount(hues)] = { | ^ 1771 | { 2, 3 }, /* 0: red */ | { } 1772 | { 8, 3 }, /* 1: reddish orange */ | { } 1773 | { 7, 6 }, /* 2: yellowish orange */ | { } 1774 | { 5, 7 }, /* 3: yellow */ | { } 1775 | { 8, 2 }, /* 4: greenish yellow */ | { } 1776 | { 2, 3 }, /* 5: green */ | { } 1777 | { 2, 8 }, /* 6: bluish green */ | { } 1778 | { 2, 5 }, /* 7: cyan */ | { } 1779 | { 6, 10 }, /* 8: sky blue */ | { } 1780 | { 3, 11 }, /* 9: blue */ | { } 1781 | { 8, 9 }, /* 10: violet */ | { } 1782 | { 7, 8 }, /* 11: pink */ | { } /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.c:1802:36: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 1802 | primIndex = (primIndex + d->themeSeed & 0xf) % 12; | ~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmtypesetter.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/gmtypesetter.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 18%] Building C object CMakeFiles/app.dir/src/gmutil.c.o /builddir/build/BUILD/lagrange-1.18.3/src/gmrequest.c:193:17: warning: ‘port_GmRequest_’ defined but not used [-Wunused-function] 193 | static uint16_t port_GmRequest_(iGmRequest *d) { | ^~~~~~~~~~~~~~~ /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gmutil.c.o -MF CMakeFiles/app.dir/src/gmutil.c.o.d -o CMakeFiles/app.dir/src/gmutil.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/gmutil.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/sitespec.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/gmutil.c:26: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 20%] Building C object CMakeFiles/app.dir/src/gopher.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gopher.c.o -MF CMakeFiles/app.dir/src/gopher.c.o.d -o CMakeFiles/app.dir/src/gopher.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/gopher.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.18.3/src/gopher.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 21%] Building C object CMakeFiles/app.dir/src/guppy.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/guppy.c.o -MF CMakeFiles/app.dir/src/guppy.c.o.d -o CMakeFiles/app.dir/src/guppy.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/guppy.c [ 23%] Building C object CMakeFiles/app.dir/src/history.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/history.c.o -MF CMakeFiles/app.dir/src/history.c.o.d -o CMakeFiles/app.dir/src/history.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/history.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/guppy.h:26, from /builddir/build/BUILD/lagrange-1.18.3/src/guppy.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/history.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/history.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/history.c: In function ‘precedingLocked_History’: /builddir/build/BUILD/lagrange-1.18.3/src/history.c:335:11: warning: unused variable ‘ok’ [-Wunused-variable] 335 | iBool ok = iFalse; | ^~ [ 24%] Building C object CMakeFiles/app.dir/src/lang.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/lang.c.o -MF CMakeFiles/app.dir/src/lang.c.o.d -o CMakeFiles/app.dir/src/lang.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/lang.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.18.3/src/lang.c:25: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 26%] Building C object CMakeFiles/app.dir/src/lookup.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/lookup.c.o -MF CMakeFiles/app.dir/src/lookup.c.o.d -o CMakeFiles/app.dir/src/lookup.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/lookup.c [ 27%] Building C object CMakeFiles/app.dir/src/media.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/media.c.o -MF CMakeFiles/app.dir/src/media.c.o.d -o CMakeFiles/app.dir/src/media.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/media.c [ 29%] Building C object CMakeFiles/app.dir/src/mimehooks.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/mimehooks.c.o -MF CMakeFiles/app.dir/src/mimehooks.c.o.d -o CMakeFiles/app.dir/src/mimehooks.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/mimehooks.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/media.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 30%] Building C object CMakeFiles/app.dir/src/misfin.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/misfin.c.o -MF CMakeFiles/app.dir/src/misfin.c.o.d -o CMakeFiles/app.dir/src/misfin.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/misfin.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/mimehooks.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.18.3/src/app.h:31, from /builddir/build/BUILD/lagrange-1.18.3/src/misfin.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 32%] Building C object CMakeFiles/app.dir/src/periodic.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/periodic.c.o -MF CMakeFiles/app.dir/src/periodic.c.o.d -o CMakeFiles/app.dir/src/periodic.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/periodic.c [ 33%] Building C object CMakeFiles/app.dir/src/prefs.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/prefs.c.o -MF CMakeFiles/app.dir/src/prefs.c.o.d -o CMakeFiles/app.dir/src/prefs.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/prefs.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.18.3/src/prefs.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/periodic.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 35%] Building C object CMakeFiles/app.dir/src/resources.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/resources.c.o -MF CMakeFiles/app.dir/src/resources.c.o.d -o CMakeFiles/app.dir/src/resources.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/resources.c [ 36%] Building C object CMakeFiles/app.dir/src/sitespec.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/sitespec.c.o -MF CMakeFiles/app.dir/src/sitespec.c.o.d -o CMakeFiles/app.dir/src/sitespec.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/sitespec.c [ 38%] Building C object CMakeFiles/app.dir/src/snippets.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/snippets.c.o -MF CMakeFiles/app.dir/src/snippets.c.o.d -o CMakeFiles/app.dir/src/snippets.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/snippets.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/sitespec.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/sitespec.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 40%] Building C object CMakeFiles/app.dir/src/visited.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/visited.c.o -MF CMakeFiles/app.dir/src/visited.c.o.d -o CMakeFiles/app.dir/src/visited.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/visited.c In file included from /usr/include/the_Foundation/stringarray.h:31, from /builddir/build/BUILD/lagrange-1.18.3/src/sitespec.h:26: /builddir/build/BUILD/lagrange-1.18.3/src/sitespec.c: In function ‘loadOldFormat_SiteSpec_’: /builddir/build/BUILD/lagrange-1.18.3/src/sitespec.c:105:33: warning: the address of ‘params’ will always evaluate as ‘true’ [-Waddress] 105 | iReleasePtr(¶ms); | ^ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/snippets.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/snippets.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 41%] Building C object CMakeFiles/app.dir/src/ui/banner.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/banner.c.o -MF CMakeFiles/app.dir/src/ui/banner.c.o.d -o CMakeFiles/app.dir/src/ui/banner.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/banner.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.18.3/src/app.h:31, from /builddir/build/BUILD/lagrange-1.18.3/src/visited.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 43%] Building C object CMakeFiles/app.dir/src/ui/bindingswidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/bindingswidget.c.o -MF CMakeFiles/app.dir/src/ui/bindingswidget.c.o.d -o CMakeFiles/app.dir/src/ui/bindingswidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/bindingswidget.c [ 44%] Building C object CMakeFiles/app.dir/src/ui/certimportwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/certimportwidget.c.o -MF CMakeFiles/app.dir/src/ui/certimportwidget.c.o.d -o CMakeFiles/app.dir/src/ui/certimportwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/certimportwidget.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/../gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/banner.c:26: /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/bindingswidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/bindingswidget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/certimportwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/certimportwidget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/banner.c: In function ‘processEvent_Banner’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/banner.c:354:45: warning: missing braces around initializer [-Wmissing-braces] 354 | (iMenuItem[]){ | ^ ...... 359 | format_CStr("!document.dismiss warning:%d ptr:%p", | { 360 | ansiEscapes_GmDocumentWarning, 361 | d->doc) } }, | } [ 46%] Building C object CMakeFiles/app.dir/src/ui/certlistwidget.c.o /builddir/build/BUILD/lagrange-1.18.3/src/ui/banner.c:354:45: warning: missing braces around initializer [-Wmissing-braces] 354 | (iMenuItem[]){ | ^ ...... 359 | format_CStr("!document.dismiss warning:%d ptr:%p", | { 360 | ansiEscapes_GmDocumentWarning, 361 | d->doc) } }, | } /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/certlistwidget.c.o -MF CMakeFiles/app.dir/src/ui/certlistwidget.c.o.d -o CMakeFiles/app.dir/src/ui/certlistwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c [ 47%] Building C object CMakeFiles/app.dir/src/ui/color.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/color.c.o -MF CMakeFiles/app.dir/src/ui/color.c.o.d -o CMakeFiles/app.dir/src/ui/color.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/color.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/scrollwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/listwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/bindingswidget.c: In function ‘init_BindingsWidget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/bindingswidget.c:125:9: warning: missing braces around initializer [-Wmissing-braces] 125 | (iMenuItem[]){ { "${menu.binding.reset}", 0, 0, "binding.reset" }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/bindingswidget.c:125:9: warning: missing braces around initializer [-Wmissing-braces] 125 | (iMenuItem[]){ { "${menu.binding.reset}", 0, 0, "binding.reset" }, | ^ | { } 126 | { uiTextCaution_ColorEscape "${menu.binding.clear}", 0, 0, "binding.clear" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/bindingswidget.c:125:9: warning: missing braces around initializer [-Wmissing-braces] 125 | (iMenuItem[]){ { "${menu.binding.reset}", 0, 0, "binding.reset" }, | ^ | { } 126 | { uiTextCaution_ColorEscape "${menu.binding.clear}", 0, 0, "binding.clear" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certimportwidget.c: In function ‘init_CertImportWidget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/certimportwidget.c:120:33: warning: missing braces around initializer [-Wmissing-braces] 120 | const iMenuItem actions[] = { | ^ ...... 132 | "certimport.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certimportwidget.c:120:33: warning: missing braces around initializer [-Wmissing-braces] 120 | const iMenuItem actions[] = { | ^ ...... 132 | "certimport.accept" } | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/color.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c: In function ‘updateContextMenu_CertListWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:104:34: warning: missing braces around initializer [-Wmissing-braces] 104 | const iMenuItem ctxItems[] = { | ^ 105 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:104:34: warning: missing braces around initializer [-Wmissing-braces] 104 | const iMenuItem ctxItems[] = { | ^ 105 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 106 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:104:34: warning: missing braces around initializer [-Wmissing-braces] 104 | const iMenuItem ctxItems[] = { | ^ 105 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 106 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } 107 | { close_Icon " ${ident.stopuse.all}", 0, 0, "ident.use arg:0 clear:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:104:34: warning: missing braces around initializer [-Wmissing-braces] 104 | const iMenuItem ctxItems[] = { | ^ 105 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 106 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } 107 | { close_Icon " ${ident.stopuse.all}", 0, 0, "ident.use arg:0 clear:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:104:34: warning: missing braces around initializer [-Wmissing-braces] 104 | const iMenuItem ctxItems[] = { | ^ 105 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 106 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } 107 | { close_Icon " ${ident.stopuse.all}", 0, 0, "ident.use arg:0 clear:1" }, | { } 108 | { "---" }, 109 | { edit_Icon " ${menu.edit.notes}", 0, 0, "ident.edit" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:104:34: warning: missing braces around initializer [-Wmissing-braces] 104 | const iMenuItem ctxItems[] = { | ^ 105 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 106 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } 107 | { close_Icon " ${ident.stopuse.all}", 0, 0, "ident.use arg:0 clear:1" }, | { } 108 | { "---" }, 109 | { edit_Icon " ${menu.edit.notes}", 0, 0, "ident.edit" }, | { } 110 | { "${ident.fingerprint}", 0, 0, "ident.fingerprint" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:104:34: warning: missing braces around initializer [-Wmissing-braces] 104 | const iMenuItem ctxItems[] = { | ^ 105 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 106 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } 107 | { close_Icon " ${ident.stopuse.all}", 0, 0, "ident.use arg:0 clear:1" }, | { } 108 | { "---" }, 109 | { edit_Icon " ${menu.edit.notes}", 0, 0, "ident.edit" }, | { } 110 | { "${ident.fingerprint}", 0, 0, "ident.fingerprint" }, | { } ...... 115 | { magnifyingGlass_Icon " ${menu.reveal.filemgr}", 0, 0, "ident.reveal" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:104:34: warning: missing braces around initializer [-Wmissing-braces] 104 | const iMenuItem ctxItems[] = { | ^ 105 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 106 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } 107 | { close_Icon " ${ident.stopuse.all}", 0, 0, "ident.use arg:0 clear:1" }, | { } 108 | { "---" }, 109 | { edit_Icon " ${menu.edit.notes}", 0, 0, "ident.edit" }, | { } 110 | { "${ident.fingerprint}", 0, 0, "ident.fingerprint" }, | { } ...... 115 | { magnifyingGlass_Icon " ${menu.reveal.filemgr}", 0, 0, "ident.reveal" }, | { } 116 | #endif 117 | { export_Icon " ${ident.export}", 0, 0, "ident.export" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:104:34: warning: missing braces around initializer [-Wmissing-braces] 104 | const iMenuItem ctxItems[] = { | ^ 105 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 106 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } 107 | { close_Icon " ${ident.stopuse.all}", 0, 0, "ident.use arg:0 clear:1" }, | { } 108 | { "---" }, 109 | { edit_Icon " ${menu.edit.notes}", 0, 0, "ident.edit" }, | { } 110 | { "${ident.fingerprint}", 0, 0, "ident.fingerprint" }, | { } ...... 115 | { magnifyingGlass_Icon " ${menu.reveal.filemgr}", 0, 0, "ident.reveal" }, | { } 116 | #endif 117 | { export_Icon " ${ident.export}", 0, 0, "ident.export" }, | { } [ 49%] Building C object CMakeFiles/app.dir/src/ui/command.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/command.c.o -MF CMakeFiles/app.dir/src/ui/command.c.o.d -o CMakeFiles/app.dir/src/ui/command.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/command.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:104:34: warning: missing braces around initializer [-Wmissing-braces] 104 | const iMenuItem ctxItems[] = { | ^ 105 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 106 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } 107 | { close_Icon " ${ident.stopuse.all}", 0, 0, "ident.use arg:0 clear:1" }, | { } 108 | { "---" }, 109 | { edit_Icon " ${menu.edit.notes}", 0, 0, "ident.edit" }, | { } 110 | { "${ident.fingerprint}", 0, 0, "ident.fingerprint" }, | { } ...... 115 | { magnifyingGlass_Icon " ${menu.reveal.filemgr}", 0, 0, "ident.reveal" }, | { } 116 | #endif 117 | { export_Icon " ${ident.export}", 0, 0, "ident.export" }, | { } 118 | { "---" }, 119 | { delete_Icon " " uiTextCaution_ColorEscape "${ident.delete}", 0, 0, "ident.delete confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:104:34: warning: missing braces around initializer [-Wmissing-braces] 104 | const iMenuItem ctxItems[] = { | ^ 105 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 106 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } 107 | { close_Icon " ${ident.stopuse.all}", 0, 0, "ident.use arg:0 clear:1" }, | { } 108 | { "---" }, 109 | { edit_Icon " ${menu.edit.notes}", 0, 0, "ident.edit" }, | { } 110 | { "${ident.fingerprint}", 0, 0, "ident.fingerprint" }, | { } ...... 115 | { magnifyingGlass_Icon " ${menu.reveal.filemgr}", 0, 0, "ident.reveal" }, | { } 116 | #endif 117 | { export_Icon " ${ident.export}", 0, 0, "ident.export" }, | { } 118 | { "---" }, 119 | { delete_Icon " " uiTextCaution_ColorEscape "${ident.delete}", 0, 0, "ident.delete confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:137:27: warning: missing braces around initializer [-Wmissing-braces] 137 | &(iMenuItem){ format_CStr(globe_Icon " %s", cstr_Rangecc(urlStr)), | ^ ...... 140 | format_CStr("!open url:%s", cstr_String(url)) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:153:21: warning: missing braces around initializer [-Wmissing-braces] 153 | (iMenuItem[]){ { envelope_Icon " ${ident.sendmsg}", 0, 0, "ident.sendmsg" }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:153:21: warning: missing braces around initializer [-Wmissing-braces] 153 | (iMenuItem[]){ { envelope_Icon " ${ident.sendmsg}", 0, 0, "ident.sendmsg" }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:153:21: warning: missing braces around initializer [-Wmissing-braces] 153 | (iMenuItem[]){ { envelope_Icon " ${ident.sendmsg}", 0, 0, "ident.sendmsg" }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c: In function ‘processEvent_CertListWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:239:25: warning: missing braces around initializer [-Wmissing-braces] 239 | (iMenuItem[]){ { "${dlg.message.ok}", SDLK_RETURN, 0, "message.ok" } }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:239:25: warning: missing braces around initializer [-Wmissing-braces] 239 | (iMenuItem[]){ { "${dlg.message.ok}", SDLK_RETURN, 0, "message.ok" } }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:304:21: warning: missing braces around initializer [-Wmissing-braces] 304 | (iMenuItem[]){ { "${cancel}", 0, 0, NULL }, | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:304:21: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/certlistwidget.c:304:21: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/color.c: In function ‘setThemePalette_Color’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/color.c:119:21: warning: unused variable ‘isMediumDark’ [-Wunused-variable] 119 | const iBool isMediumDark = prefs_App()->theme == dark_ColorTheme; | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/command.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 50%] Building C object CMakeFiles/app.dir/src/ui/documentview.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/documentview.c.o -MF CMakeFiles/app.dir/src/ui/documentview.c.o.d -o CMakeFiles/app.dir/src/ui/documentview.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentview.c [ 52%] Building C object CMakeFiles/app.dir/src/ui/documentwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/documentwidget.c.o -MF CMakeFiles/app.dir/src/ui/documentwidget.c.o.d -o CMakeFiles/app.dir/src/ui/documentwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c [ 53%] Building C object CMakeFiles/app.dir/src/ui/indicatorwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/indicatorwidget.c.o -MF CMakeFiles/app.dir/src/ui/indicatorwidget.c.o.d -o CMakeFiles/app.dir/src/ui/indicatorwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/indicatorwidget.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/../gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentview.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentview.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/../gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:25: /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/indicatorwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/indicatorwidget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentview.c: In function ‘isWideBlockScrollable_DocumentView’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentview.c:639:23: warning: unused variable ‘range’ [-Wunused-variable] 639 | const iGmRunRange range = meta->runRange; | ^~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c: In function ‘showErrorPage_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:981:21: warning: missing braces around initializer [-Wmissing-braces] 981 | (iMenuItem[]){ { rightArrowhead_Icon " ${menu.unexpire}", | ^ 982 | SDLK_RETURN, 0, "server.unexpire" | { 983 | }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:981:21: warning: missing braces around initializer [-Wmissing-braces] 981 | (iMenuItem[]){ { rightArrowhead_Icon " ${menu.unexpire}", | ^ 982 | SDLK_RETURN, 0, "server.unexpire" | { 983 | }, | } ...... 987 | "document.info" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:981:21: warning: missing braces around initializer [-Wmissing-braces] 981 | (iMenuItem[]){ { rightArrowhead_Icon " ${menu.unexpire}", | ^ 982 | SDLK_RETURN, 0, "server.unexpire" | { 983 | }, | } ...... 987 | "document.info" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:994:21: warning: missing braces around initializer [-Wmissing-braces] 994 | (iMenuItem[]){ { info_Icon " ${menu.pageinfo}", | ^ ...... 997 | "document.info" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:994:21: warning: missing braces around initializer [-Wmissing-braces] 994 | (iMenuItem[]){ { info_Icon " ${menu.pageinfo}", | ^ ...... 997 | "document.info" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1014:26: warning: missing braces around initializer [-Wmissing-braces] 1014 | &(iMenuItem){ translateCStr_Lang(format_CStr("View as \"%s\"", mtype)), | ^ ...... 1017 | format_CStr("document.setmediatype mime:%s", mtype) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1020:33: warning: missing braces around initializer [-Wmissing-braces] 1020 | &(iMenuItem){ export_Icon " ${menu.open.external}", | ^ ...... 1023 | "document.save extview:1" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1026:22: warning: missing braces around initializer [-Wmissing-braces] 1026 | &(iMenuItem){ translateCStr_Lang(download_Icon " " saveToDownloads_Label), | ^ ...... 1029 | "document.save" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1045:13: warning: missing braces around initializer [-Wmissing-braces] 1045 | (iMenuItem[]){ | ^ 1046 | { person_Icon " ${menu.identity.newdomain}", SDLK_n, 0, "ident.new scope:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1045:13: warning: missing braces around initializer [-Wmissing-braces] 1045 | (iMenuItem[]){ | ^ 1046 | { person_Icon " ${menu.identity.newdomain}", SDLK_n, 0, "ident.new scope:1" }, | { } 1047 | { person_Icon " ${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1045:13: warning: missing braces around initializer [-Wmissing-braces] 1045 | (iMenuItem[]){ | ^ 1046 | { person_Icon " ${menu.identity.newdomain}", SDLK_n, 0, "ident.new scope:1" }, | { } 1047 | { person_Icon " ${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } 1048 | { leftHalf_Icon " ${menu.show.identities}", showIdentities_KeyShortcut, 1049 | deviceType_App() == desktop_AppDeviceType ? "sidebar.mode arg:3 show:1" | { 1050 | : "preferences idents:1" } }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1045:13: warning: missing braces around initializer [-Wmissing-braces] 1045 | (iMenuItem[]){ | ^ 1046 | { person_Icon " ${menu.identity.newdomain}", SDLK_n, 0, "ident.new scope:1" }, | { } 1047 | { person_Icon " ${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } 1048 | { leftHalf_Icon " ${menu.show.identities}", showIdentities_KeyShortcut, 1049 | deviceType_App() == desktop_AppDeviceType ? "sidebar.mode arg:3 show:1" | { 1050 | : "preferences idents:1" } }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c: In function ‘postProcessRequestContent_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1167:26: warning: missing braces around initializer [-Wmissing-braces] 1167 | &(iMenuItem){ book_Icon " ${gempub.cover.view}", | ^ ...... 1170 | format_CStr("!open url:%s", | { 1171 | cstr_String(indexPageUrl_Gempub(d->sourceGempub))) }); | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1175:30: warning: missing braces around initializer [-Wmissing-braces] 1175 | &(iMenuItem){ | ^ ...... 1180 | format_CStr("!open url:%s", | { 1181 | cstr_String(navLinkUrl_Gempub(d->sourceGempub, 0))) }); | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1188:25: warning: missing braces around initializer [-Wmissing-braces] 1188 | (iMenuItem[]){ { book_Icon " ${menu.save.downloads.open}", | ^ ...... 1191 | "document.save open:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1188:25: warning: missing braces around initializer [-Wmissing-braces] 1188 | (iMenuItem[]){ { book_Icon " ${menu.save.downloads.open}", | ^ ...... 1191 | "document.save open:1" }, | { } ...... 1195 | "document.save" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1188:25: warning: missing braces around initializer [-Wmissing-braces] 1188 | (iMenuItem[]){ { book_Icon " ${menu.save.downloads.open}", | ^ ...... 1191 | "document.save open:1" }, | { } ...... 1195 | "document.save" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1207:21: warning: missing braces around initializer [-Wmissing-braces] 1207 | (iMenuItem[]){ { format_CStr(book_Icon " %s", | ^ ...... 1212 | format_CStr("!open url:%s", | { 1213 | cstr_String(coverPageUrl_Gempub(d->sourceGempub))) } }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1207:21: warning: missing braces around initializer [-Wmissing-braces] 1207 | (iMenuItem[]){ { format_CStr(book_Icon " %s", | ^ ...... 1212 | format_CStr("!open url:%s", | { 1213 | cstr_String(coverPageUrl_Gempub(d->sourceGempub))) } }, | } [ 55%] Building C object CMakeFiles/app.dir/src/ui/font.c.o /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1224:30: warning: missing braces around initializer [-Wmissing-braces] 1224 | &(iMenuItem){ | ^ ...... 1229 | format_CStr("!open url:%s", | { 1230 | cstr_String(navLinkUrl_Gempub(d->sourceGempub, navIndex + 1))) }); | } /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/font.c.o -MF CMakeFiles/app.dir/src/ui/font.c.o.d -o CMakeFiles/app.dir/src/ui/font.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/font.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1235:30: warning: missing braces around initializer [-Wmissing-braces] 1235 | &(iMenuItem){ | ^ ...... 1240 | format_CStr("!open url:%s", | { 1241 | cstr_String(navLinkUrl_Gempub(d->sourceGempub, navIndex - 1))) }); | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1246:30: warning: missing braces around initializer [-Wmissing-braces] 1246 | &(iMenuItem){ | ^ ...... 1251 | format_CStr("!open url:%s", | { 1252 | cstr_String(coverPageUrl_Gempub(d->sourceGempub))) }); | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c: In function ‘updateDocument_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1389:29: warning: missing braces around initializer [-Wmissing-braces] 1389 | (iMenuItem[]){ | ^ ...... 1393 | format_CStr("!fontpack.install ttf:1 name:%s", | { 1394 | cstr_Rangecc(name)) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1389:29: warning: missing braces around initializer [-Wmissing-braces] 1389 | (iMenuItem[]){ | ^ ...... 1393 | format_CStr("!fontpack.install ttf:1 name:%s", | { 1394 | cstr_Rangecc(name)) }, | } ...... 1398 | format_CStr("!open url:%s/fonts", | { 1399 | cstrCollect_String(makeFileUrl_String(dataDir_App()))) 1400 | } | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1389:29: warning: missing braces around initializer [-Wmissing-braces] 1389 | (iMenuItem[]){ | ^ ...... 1393 | format_CStr("!fontpack.install ttf:1 name:%s", | { 1394 | cstr_Rangecc(name)) }, | } ...... 1398 | format_CStr("!open url:%s/fonts", | { 1399 | cstrCollect_String(makeFileUrl_String(dataDir_App()))) 1400 | } | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1443:49: warning: missing braces around initializer [-Wmissing-braces] 1443 | &(iMenuItem){ openExt_Icon " ${menu.open.external}", | ^ ...... 1446 | "document.save extview:1" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1473:34: warning: missing braces around initializer [-Wmissing-braces] 1473 | &(iMenuItem){ | ^ ...... 1477 | "document.save" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:1486:46: warning: missing braces around initializer [-Wmissing-braces] 1486 | &(iMenuItem){ import_Icon " " uiTextAction_ColorEscape | ^ ...... 1490 | format_CStr("!import path:%s", | { 1491 | cstr_String(localPath)) }); | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c: In function ‘makePastePrecedingLineMenuItem_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:2074:17: warning: missing braces around initializer [-Wmissing-braces] 2074 | *item_out = (iMenuItem){ | ^ ...... 2078 | format_CStr("!valueinput.set ptr:%p text:%s", buttons, precedingLine) | { 2079 | }; | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c: In function ‘updateInputPromptMenuItems_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:2092:28: warning: missing braces around initializer [-Wmissing-braces] 2092 | pushBack_Array(items, &(iMenuItem){ "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:2095:9: warning: missing braces around initializer [-Wmissing-braces] 2095 | (iMenuItem[]){ | ^ ...... 2100 | format_CStr("!prompturl.toggle url:%s", cstr_String(url)) } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:2095:9: warning: missing braces around initializer [-Wmissing-braces] 2095 | (iMenuItem[]){ | ^ ...... 2100 | format_CStr("!prompturl.toggle url:%s", cstr_String(url)) } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:2107:29: warning: missing braces around initializer [-Wmissing-braces] 2107 | &(iMenuItem){ "${menu.input.clear}", 0, 0, "!recentinput.clear" }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:2123:33: warning: missing braces around initializer [-Wmissing-braces] 2123 | &(iMenuItem){ cstr_String(label), | ^ ...... 2126 | format_CStr("!valueinput.set ptr:%p text:%s", | { 2127 | buttons, 2128 | cstr_String(i.value)) }); | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c: In function ‘saveToFile_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:2552:44: warning: missing braces around initializer [-Wmissing-braces] 2552 | const iMenuItem items[2] = { | ^ 2553 | { "${dlg.save.opendownload}", 0, 0, 2554 | format_CStr("!open url:%s", cstrCollect_String(makeFileUrl_String(savePath))) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:2552:44: warning: missing braces around initializer [-Wmissing-braces] 2552 | const iMenuItem items[2] = { | ^ 2553 | { "${dlg.save.opendownload}", 0, 0, 2554 | format_CStr("!open url:%s", cstrCollect_String(makeFileUrl_String(savePath))) }, | { } 2555 | { "${dlg.message.ok}", 0, 0, "message.ok" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:2552:44: warning: missing braces around initializer [-Wmissing-braces] 2552 | const iMenuItem items[2] = { | ^ 2553 | { "${dlg.save.opendownload}", 0, 0, 2554 | format_CStr("!open url:%s", cstrCollect_String(makeFileUrl_String(savePath))) }, | { } 2555 | { "${dlg.message.ok}", 0, 0, "message.ok" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c: In function ‘handleCommand_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3099:46: warning: missing braces around initializer [-Wmissing-braces] 3099 | const iMenuItem fingerprintItems[] = { | ^ 3100 | { "${dlg.cert.fingerprint.full}", 0, 0, "server.copycert arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3099:46: warning: missing braces around initializer [-Wmissing-braces] 3099 | const iMenuItem fingerprintItems[] = { | ^ 3100 | { "${dlg.cert.fingerprint.full}", 0, 0, "server.copycert arg:1" }, | { } 3101 | { "${dlg.cert.fingerprint.pubkey}", 0, 0, "server.copycert" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3099:46: warning: missing braces around initializer [-Wmissing-braces] 3099 | const iMenuItem fingerprintItems[] = { | ^ 3100 | { "${dlg.cert.fingerprint.full}", 0, 0, "server.copycert arg:1" }, | { } 3101 | { "${dlg.cert.fingerprint.pubkey}", 0, 0, "server.copycert" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3107:29: warning: missing braces around initializer [-Wmissing-braces] 3107 | &(iMenuItem){ uiTextAction_ColorEscape "\x1b[1m${dlg.cert.trust}", | ^ 3108 | trustServerCertificate_KeyShortcut, 3109 | "server.trustcert" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3113:36: warning: missing braces around initializer [-Wmissing-braces] 3113 | pushBack_Array(items, &(iMenuItem){ "${pageinfo.settings}", 0, 0, "document.sitespec" }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3120:36: warning: missing braces around initializer [-Wmissing-braces] 3120 | pushBack_Array(items, &(iMenuItem){ "---", 0, 0, 0 }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3122:32: warning: missing braces around initializer [-Wmissing-braces] 3122 | pushBack_Array(items, &(iMenuItem){ "${close}", 0, 0, "message.ok" }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3193:17: warning: missing braces around initializer [-Wmissing-braces] 3193 | (iMenuItem[]){ { "${dlg.message.ok}", SDLK_RETURN, 0, "message.ok" } }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3193:17: warning: missing braces around initializer [-Wmissing-braces] 3193 | (iMenuItem[]){ { "${dlg.message.ok}", SDLK_RETURN, 0, "message.ok" } }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3862:36: warning: missing braces around initializer [-Wmissing-braces] 3862 | pushBack_Array(items, &(iMenuItem){ | ^ ...... 3867 | format_CStr("document.autoreload.set arg:%d", i) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3869:32: warning: missing braces around initializer [-Wmissing-braces] 3869 | pushBack_Array(items, &(iMenuItem){ "${cancel}", 0, 0, NULL }); | ^ [ 56%] Building C object CMakeFiles/app.dir/src/ui/linkinfo.c.o [ 58%] Building C object CMakeFiles/app.dir/src/ui/listwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/linkinfo.c.o -MF CMakeFiles/app.dir/src/ui/linkinfo.c.o.d -o CMakeFiles/app.dir/src/ui/linkinfo.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/linkinfo.c /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/listwidget.c.o -MF CMakeFiles/app.dir/src/ui/listwidget.c.o.d -o CMakeFiles/app.dir/src/ui/listwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/listwidget.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/font.c: In function ‘prepare_AttributedText_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/font.c:219:20: warning: unused variable ‘numNonSpace’ [-Wunused-variable] 219 | int numNonSpace = 0; | ^~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c: In function ‘handleWheelSwipe_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4135:14: warning: unused variable ‘w’ [-Wunused-variable] 4135 | iWidget *w = as_Widget(d); | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/font.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/ui/font.c:127:17: warning: ‘sourceRange_AttributedText_’ defined but not used [-Wunused-function] 127 | static iRangecc sourceRange_AttributedText_(const iAttributedText *d, iRangei logical) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c: In function ‘makeLinkContextMenuWithParameters_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4268:25: warning: missing braces around initializer [-Wmissing-braces] 4268 | &(iMenuItem){ format_CStr("```%s", cstr_String(infoText)), 0, 0, NULL }); | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4276:25: warning: missing braces around initializer [-Wmissing-braces] 4276 | (iMenuItem[]){ | ^ ...... 4280 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4284 | cstr_String(linkUrl)) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4276:25: warning: missing braces around initializer [-Wmissing-braces] 4276 | (iMenuItem[]){ | ^ ...... 4280 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4284 | cstr_String(linkUrl)) }, | } ...... 4288 | format_CStr("!open query:%d newtab:2 origin:%s%s url:%s", | { ...... 4292 | cstr_String(linkUrl)) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4276:25: warning: missing braces around initializer [-Wmissing-braces] 4276 | (iMenuItem[]){ | ^ ...... 4280 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4284 | cstr_String(linkUrl)) }, | } ...... 4288 | format_CStr("!open query:%d newtab:2 origin:%s%s url:%s", | { ...... 4292 | cstr_String(linkUrl)) }, | } ...... 4296 | format_CStr("!open query:%d newwindow:1 origin:%s%s url:%s", | { ...... 4300 | cstr_String(linkUrl)) }, | } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/scrollwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/listwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/listwidget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4276:25: warning: missing braces around initializer [-Wmissing-braces] 4276 | (iMenuItem[]){ | ^ ...... 4280 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4284 | cstr_String(linkUrl)) }, | } ...... 4288 | format_CStr("!open query:%d newtab:2 origin:%s%s url:%s", | { ...... 4292 | cstr_String(linkUrl)) }, | } ...... 4296 | format_CStr("!open query:%d newwindow:1 origin:%s%s url:%s", | { ...... 4300 | cstr_String(linkUrl)) }, | } ...... 4304 | format_CStr("!open query:%d newtab:4 origin:%s%s url:%s", | { ...... 4308 | cstr_String(linkUrl)) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4276:25: warning: missing braces around initializer [-Wmissing-braces] 4276 | (iMenuItem[]){ | ^ ...... 4280 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4284 | cstr_String(linkUrl)) }, | } ...... 4288 | format_CStr("!open query:%d newtab:2 origin:%s%s url:%s", | { ...... 4292 | cstr_String(linkUrl)) }, | } ...... 4296 | format_CStr("!open query:%d newwindow:1 origin:%s%s url:%s", | { ...... 4300 | cstr_String(linkUrl)) }, | } ...... 4304 | format_CStr("!open query:%d newtab:4 origin:%s%s url:%s", | { ...... 4308 | cstr_String(linkUrl)) }, | } ...... 4312 | format_CStr("!open query:%d newtab:5 origin:%s%s url:%s", | { ...... 4316 | cstr_String(linkUrl)) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4276:25: warning: missing braces around initializer [-Wmissing-braces] 4276 | (iMenuItem[]){ | ^ ...... 4280 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4284 | cstr_String(linkUrl)) }, | } ...... 4288 | format_CStr("!open query:%d newtab:2 origin:%s%s url:%s", | { ...... 4292 | cstr_String(linkUrl)) }, | } ...... 4296 | format_CStr("!open query:%d newwindow:1 origin:%s%s url:%s", | { ...... 4300 | cstr_String(linkUrl)) }, | } ...... 4304 | format_CStr("!open query:%d newtab:4 origin:%s%s url:%s", | { ...... 4308 | cstr_String(linkUrl)) }, | } ...... 4312 | format_CStr("!open query:%d newtab:5 origin:%s%s url:%s", | { ...... 4316 | cstr_String(linkUrl)) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4331:18: warning: missing braces around initializer [-Wmissing-braces] 4331 | &(iMenuItem){ export_Icon " ${menu.open.external}", | ^ ...... 4334 | format_CStr("!open default:1 url:%s", cstr_String(linkUrl)) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4337:33: warning: missing braces around initializer [-Wmissing-braces] 4337 | &(iMenuItem){ "${menu.reveal.macos}", | ^ ...... 4340 | format_CStr("!reveal url:%s", cstr_String(linkUrl)) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4344:33: warning: missing braces around initializer [-Wmissing-braces] 4344 | &(iMenuItem){ "${menu.reveal.filemgr}", | ^ ...... 4347 | format_CStr("!reveal url:%s", cstr_String(linkUrl)) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4353:25: warning: missing braces around initializer [-Wmissing-braces] 4353 | &(iMenuItem){ openExt_Icon " ${link.browser}", | ^ ...... 4356 | format_CStr("!open default:1 url:%s", cstr_String(linkUrl)) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4361:13: warning: missing braces around initializer [-Wmissing-braces] 4361 | (iMenuItem[]){ { "---" }, | ^ ...... 4365 | format_CStr("!open origin:%s noproxy:1 url:%s", | { 4366 | cstr_String(id_Widget(w)), 4367 | cstr_String(linkUrl)) } }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4361:13: warning: missing braces around initializer [-Wmissing-braces] 4361 | (iMenuItem[]){ { "---" }, | ^ ...... 4365 | format_CStr("!open origin:%s noproxy:1 url:%s", | { 4366 | cstr_String(id_Widget(w)), 4367 | cstr_String(linkUrl)) } }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4374:9: warning: missing braces around initializer [-Wmissing-braces] 4374 | (iMenuItem[]){ | ^ 4375 | { "---" }, 4376 | { "${link.copy}", 0, 0, "document.copylink" }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/linkinfo.h:26, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/linkinfo.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4374:9: warning: missing braces around initializer [-Wmissing-braces] 4374 | (iMenuItem[]){ | ^ 4375 | { "---" }, 4376 | { "${link.copy}", 0, 0, "document.copylink" }, | { } 4377 | { bookmark_Icon " ${link.bookmark}", 0, 0, 4378 | format_CStr("!bookmark.add title:%s url:%s", cstr_String(encLabel), cstr_String(linkUrl)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4374:9: warning: missing braces around initializer [-Wmissing-braces] 4374 | (iMenuItem[]){ | ^ 4375 | { "---" }, 4376 | { "${link.copy}", 0, 0, "document.copylink" }, | { } 4377 | { bookmark_Icon " ${link.bookmark}", 0, 0, 4378 | format_CStr("!bookmark.add title:%s url:%s", cstr_String(encLabel), cstr_String(linkUrl)) }, | { } 4379 | { clipboard_Icon " ${link.snippet}", 0, 0, 4380 | format_CStr("!snippet.add content:%s", cstr_String(linkUrl)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4374:9: warning: missing braces around initializer [-Wmissing-braces] 4374 | (iMenuItem[]){ | ^ 4375 | { "---" }, 4376 | { "${link.copy}", 0, 0, "document.copylink" }, | { } 4377 | { bookmark_Icon " ${link.bookmark}", 0, 0, 4378 | format_CStr("!bookmark.add title:%s url:%s", cstr_String(encLabel), cstr_String(linkUrl)) }, | { } 4379 | { clipboard_Icon " ${link.snippet}", 0, 0, 4380 | format_CStr("!snippet.add content:%s", cstr_String(linkUrl)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4374:9: warning: missing braces around initializer [-Wmissing-braces] 4374 | (iMenuItem[]){ | ^ 4375 | { "---" }, 4376 | { "${link.copy}", 0, 0, "document.copylink" }, | { } 4377 | { bookmark_Icon " ${link.bookmark}", 0, 0, 4378 | format_CStr("!bookmark.add title:%s url:%s", cstr_String(encLabel), cstr_String(linkUrl)) }, | { } 4379 | { clipboard_Icon " ${link.snippet}", 0, 0, 4380 | format_CStr("!snippet.add content:%s", cstr_String(linkUrl)) }, | { } ...... 4383 | format_CStr("!searchurl address:%s", cstr_String(linkUrl)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4374:9: warning: missing braces around initializer [-Wmissing-braces] 4374 | (iMenuItem[]){ | ^ 4375 | { "---" }, 4376 | { "${link.copy}", 0, 0, "document.copylink" }, | { } 4377 | { bookmark_Icon " ${link.bookmark}", 0, 0, 4378 | format_CStr("!bookmark.add title:%s url:%s", cstr_String(encLabel), cstr_String(linkUrl)) }, | { } 4379 | { clipboard_Icon " ${link.snippet}", 0, 0, 4380 | format_CStr("!snippet.add content:%s", cstr_String(linkUrl)) }, | { } ...... 4383 | format_CStr("!searchurl address:%s", cstr_String(linkUrl)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4390:25: warning: missing braces around initializer [-Wmissing-braces] 4390 | (iMenuItem[]){ | ^ 4391 | { "---" }, 4392 | { download_Icon " ${link.download}", 0, 0, "document.downloadlink" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4390:25: warning: missing braces around initializer [-Wmissing-braces] 4390 | (iMenuItem[]){ | ^ 4391 | { "---" }, 4392 | { download_Icon " ${link.download}", 0, 0, "document.downloadlink" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4402:18: warning: missing braces around initializer [-Wmissing-braces] 4402 | &(iMenuItem){ download_Icon " " saveToDownloads_Label, | ^ ...... 4405 | format_CStr("document.media.save link:%u", linkId) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4413:14: warning: missing braces around initializer [-Wmissing-braces] 4413 | &(iMenuItem){ delete_Icon " " uiTextCaution_ColorEscape "${link.file.delete}", | ^ ...... 4416 | format_CStr("!file.delete confirm:1 path:%s", | { 4417 | cstrCollect_String(localFilePathFromUrl_String(linkUrl))) }); | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c: In function ‘processEvent_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4661:33: warning: missing braces around initializer [-Wmissing-braces] 4661 | (iMenuItem[]){ | ^ 4662 | { "${menu.copy}", 0, 0, "copy" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4661:33: warning: missing braces around initializer [-Wmissing-braces] 4661 | (iMenuItem[]){ | ^ 4662 | { "${menu.copy}", 0, 0, "copy" }, | { } 4663 | { "${menu.search}", 0, 0, 4664 | format_CStr("search newtab:1 query:%s", | { 4665 | cstr_String(selectedText_DocumentWidget_(d))) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4661:33: warning: missing braces around initializer [-Wmissing-braces] 4661 | (iMenuItem[]){ | ^ 4662 | { "${menu.copy}", 0, 0, "copy" }, | { } 4663 | { "${menu.search}", 0, 0, 4664 | format_CStr("search newtab:1 query:%s", | { 4665 | cstr_String(selectedText_DocumentWidget_(d))) }, | } 4666 | { "${menu.snippet.add}", 0, 0, 4667 | format_CStr("!snippet.add content:%s", | { 4668 | cstr_String(selectedText_DocumentWidget_(d))) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4661:33: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4661:33: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4685:29: warning: missing braces around initializer [-Wmissing-braces] 4685 | (iMenuItem[]){ | ^ 4686 | { ">>>" backArrow_Icon, navigateBack_KeyShortcut, "navigate.back" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4685:29: warning: missing braces around initializer [-Wmissing-braces] 4685 | (iMenuItem[]){ | ^ 4686 | { ">>>" backArrow_Icon, navigateBack_KeyShortcut, "navigate.back" }, | { } 4687 | { ">>>" forwardArrow_Icon, navigateForward_KeyShortcut, "navigate.forward" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4685:29: warning: missing braces around initializer [-Wmissing-braces] 4685 | (iMenuItem[]){ | ^ 4686 | { ">>>" backArrow_Icon, navigateBack_KeyShortcut, "navigate.back" }, | { } 4687 | { ">>>" forwardArrow_Icon, navigateForward_KeyShortcut, "navigate.forward" }, | { } 4688 | { ">>>" upArrow_Icon, navigateParent_KeyShortcut, "navigate.parent" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4685:29: warning: missing braces around initializer [-Wmissing-braces] 4685 | (iMenuItem[]){ | ^ 4686 | { ">>>" backArrow_Icon, navigateBack_KeyShortcut, "navigate.back" }, | { } 4687 | { ">>>" forwardArrow_Icon, navigateForward_KeyShortcut, "navigate.forward" }, | { } 4688 | { ">>>" upArrow_Icon, navigateParent_KeyShortcut, "navigate.parent" }, | { } 4689 | { ">>>" upArrowBar_Icon, navigateRoot_KeyShortcut, "navigate.root" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4685:29: warning: missing braces around initializer [-Wmissing-braces] 4685 | (iMenuItem[]){ | ^ 4686 | { ">>>" backArrow_Icon, navigateBack_KeyShortcut, "navigate.back" }, | { } 4687 | { ">>>" forwardArrow_Icon, navigateForward_KeyShortcut, "navigate.forward" }, | { } 4688 | { ">>>" upArrow_Icon, navigateParent_KeyShortcut, "navigate.parent" }, | { } 4689 | { ">>>" upArrowBar_Icon, navigateRoot_KeyShortcut, "navigate.root" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4694:29: warning: missing braces around initializer [-Wmissing-braces] 4694 | (iMenuItem[]){ | ^ 4695 | { "---" }, 4696 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4694:29: warning: missing braces around initializer [-Wmissing-braces] 4694 | (iMenuItem[]){ | ^ 4695 | { "---" }, 4696 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4694:29: warning: missing braces around initializer [-Wmissing-braces] 4694 | (iMenuItem[]){ | ^ 4695 | { "---" }, 4696 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4697 | { "---" }, 4698 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4694:29: warning: missing braces around initializer [-Wmissing-braces] 4694 | (iMenuItem[]){ | ^ 4695 | { "---" }, 4696 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4697 | { "---" }, 4698 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4699 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4694:29: warning: missing braces around initializer [-Wmissing-braces] 4694 | (iMenuItem[]){ | ^ 4695 | { "---" }, 4696 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4697 | { "---" }, 4698 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4699 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4694:29: warning: missing braces around initializer [-Wmissing-braces] 4694 | (iMenuItem[]){ | ^ 4695 | { "---" }, 4696 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4697 | { "---" }, 4698 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4699 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } ...... 4703 | 0, 0, "document.viewformat" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4694:29: warning: missing braces around initializer [-Wmissing-braces] 4694 | (iMenuItem[]){ | ^ 4695 | { "---" }, 4696 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4697 | { "---" }, 4698 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4699 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } ...... 4703 | 0, 0, "document.viewformat" }, | { } 4704 | { hammer_Icon " ${menu.tools}", 0, 0, "submenu id:toolsmenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4694:29: warning: missing braces around initializer [-Wmissing-braces] 4694 | (iMenuItem[]){ | ^ 4695 | { "---" }, 4696 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4697 | { "---" }, 4698 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4699 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } ...... 4703 | 0, 0, "document.viewformat" }, | { } 4704 | { hammer_Icon " ${menu.tools}", 0, 0, "submenu id:toolsmenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4694:29: warning: missing braces around initializer [-Wmissing-braces] 4694 | (iMenuItem[]){ | ^ 4695 | { "---" }, 4696 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4697 | { "---" }, 4698 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4699 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } ...... 4703 | 0, 0, "document.viewformat" }, | { } 4704 | { hammer_Icon " ${menu.tools}", 0, 0, "submenu id:toolsmenu" }, | { } 4705 | { "---" }, 4706 | { "${menu.page.copyurl}", 0, 0, "document.copylink" }, }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4694:29: warning: missing braces around initializer [-Wmissing-braces] 4694 | (iMenuItem[]){ | ^ 4695 | { "---" }, 4696 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4697 | { "---" }, 4698 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4699 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } ...... 4703 | 0, 0, "document.viewformat" }, | { } 4704 | { hammer_Icon " ${menu.tools}", 0, 0, "submenu id:toolsmenu" }, | { } 4705 | { "---" }, 4706 | { "${menu.page.copyurl}", 0, 0, "document.copylink" }, }, | { } [ 60%] Building C object CMakeFiles/app.dir/src/ui/lookupwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/lookupwidget.c.o -MF CMakeFiles/app.dir/src/ui/lookupwidget.c.o.d -o CMakeFiles/app.dir/src/ui/lookupwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/lookupwidget.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4711:33: warning: missing braces around initializer [-Wmissing-braces] 4711 | (iMenuItem[]){ | ^ 4712 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4711:33: warning: missing braces around initializer [-Wmissing-braces] 4711 | (iMenuItem[]){ | ^ 4712 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } 4713 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4711:33: warning: missing braces around initializer [-Wmissing-braces] 4711 | (iMenuItem[]){ | ^ 4712 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } 4713 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4864:51: warning: missing braces around initializer [-Wmissing-braces] 4864 | const iMenuItem items[] = { | ^ 4865 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4864:51: warning: missing braces around initializer [-Wmissing-braces] 4864 | const iMenuItem items[] = { | ^ 4865 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4864:51: warning: missing braces around initializer [-Wmissing-braces] 4864 | const iMenuItem items[] = { | ^ 4865 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } ...... 4868 | format_CStr("search newtab:1 query:%s", | { 4869 | cstr_String(selectedText_DocumentWidget_(d))) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4864:51: warning: missing braces around initializer [-Wmissing-braces] 4864 | const iMenuItem items[] = { | ^ 4865 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } ...... 4868 | format_CStr("search newtab:1 query:%s", | { 4869 | cstr_String(selectedText_DocumentWidget_(d))) }, | } 4870 | { add_Icon " ${menu.snippet.add}", 0, 0, 4871 | format_CStr("!snippet.add content:%s", | { 4872 | cstr_String(selectedText_DocumentWidget_(d))) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4864:51: warning: missing braces around initializer [-Wmissing-braces] 4864 | const iMenuItem items[] = { | ^ 4865 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } ...... 4868 | format_CStr("search newtab:1 query:%s", | { 4869 | cstr_String(selectedText_DocumentWidget_(d))) }, | } 4870 | { add_Icon " ${menu.snippet.add}", 0, 0, 4871 | format_CStr("!snippet.add content:%s", | { 4872 | cstr_String(selectedText_DocumentWidget_(d))) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4864:51: warning: missing braces around initializer [-Wmissing-braces] 4864 | const iMenuItem items[] = { | ^ 4865 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } ...... 4868 | format_CStr("search newtab:1 query:%s", | { 4869 | cstr_String(selectedText_DocumentWidget_(d))) }, | } 4870 | { add_Icon " ${menu.snippet.add}", 0, 0, 4871 | format_CStr("!snippet.add content:%s", | { 4872 | cstr_String(selectedText_DocumentWidget_(d))) }, | } ...... 4877 | { close_Icon " ${menu.select.clear}", 0, 0, "document.select arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4864:51: warning: missing braces around initializer [-Wmissing-braces] 4864 | const iMenuItem items[] = { | ^ 4865 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } ...... 4868 | format_CStr("search newtab:1 query:%s", | { 4869 | cstr_String(selectedText_DocumentWidget_(d))) }, | } 4870 | { add_Icon " ${menu.snippet.add}", 0, 0, 4871 | format_CStr("!snippet.add content:%s", | { 4872 | cstr_String(selectedText_DocumentWidget_(d))) }, | } ...... 4877 | { close_Icon " ${menu.select.clear}", 0, 0, "document.select arg:0" }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/lookupwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/lookupwidget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4973:29: warning: missing braces around initializer [-Wmissing-braces] 4973 | (iMenuItem[]){ | ^ ...... 4976 | 0, 0, format_CStr("!open default:1 url:%s", cstr_String(url)) } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:4973:29: warning: missing braces around initializer [-Wmissing-braces] 4973 | (iMenuItem[]){ | ^ ...... 4976 | 0, 0, format_CStr("!open default:1 url:%s", cstr_String(url)) } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:337:13: warning: ‘updateSideIconBuf_DocumentWidget_’ declared ‘static’ but never defined [-Wunused-function] 337 | static void updateSideIconBuf_DocumentWidget_ (const iDocumentWidget *d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 61%] Building C object CMakeFiles/app.dir/src/ui/keys.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/keys.c.o -MF CMakeFiles/app.dir/src/ui/keys.c.o.d -o CMakeFiles/app.dir/src/ui/keys.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/lookupwidget.c:225:14: warning: ‘matchSnippet_LookupJob_’ defined but not used [-Wunused-function] 225 | static iBool matchSnippet_LookupJob_(void *context, const iRangecc name, const iRangecc content) { | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } [ 63%] Building C object CMakeFiles/app.dir/src/ui/metrics.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/metrics.c.o -MF CMakeFiles/app.dir/src/ui/metrics.c.o.d -o CMakeFiles/app.dir/src/ui/metrics.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/metrics.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } [ 64%] Building C object CMakeFiles/app.dir/src/ui/paint.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/paint.c.o -MF CMakeFiles/app.dir/src/ui/paint.c.o.d -o CMakeFiles/app.dir/src/ui/paint.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/paint.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.18.3/src/app.h:31, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/metrics.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } 277 | { 1010, { NULL, SDLK_AC_REFRESH, 0, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } 277 | { 1010, { NULL, SDLK_AC_REFRESH, 0, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } 277 | { 1010, { NULL, SDLK_AC_REFRESH, 0, "document.reload" }, 0 }, | { } 278 | { 1011, { NULL, SDLK_AC_BOOKMARKS, 0, "sidebar.mode arg:0 toggle:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } 277 | { 1010, { NULL, SDLK_AC_REFRESH, 0, "document.reload" }, 0 }, | { } 278 | { 1011, { NULL, SDLK_AC_BOOKMARKS, 0, "sidebar.mode arg:0 toggle:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", bang_KeyShortcut, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } 277 | { 1010, { NULL, SDLK_AC_REFRESH, 0, "document.reload" }, 0 }, | { } 278 | { 1011, { NULL, SDLK_AC_BOOKMARKS, 0, "sidebar.mode arg:0 toggle:1" }, 0 }, | { } [ 66%] Building C object CMakeFiles/app.dir/src/ui/root.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/root.c.o -MF CMakeFiles/app.dir/src/ui/root.c.o.d -o CMakeFiles/app.dir/src/ui/root.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/paint.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/paint.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 67%] Building C object CMakeFiles/app.dir/src/ui/mediaui.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/mediaui.c.o -MF CMakeFiles/app.dir/src/ui/mediaui.c.o.d -o CMakeFiles/app.dir/src/ui/mediaui.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/mediaui.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } ...... 79 | { "${menu.help}", SDLK_F1, 0, "!open url:about:help" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } ...... 79 | { "${menu.help}", SDLK_F1, 0, "!open url:about:help" }, | { } 80 | { "${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } ...... 79 | { "${menu.help}", SDLK_F1, 0, "!open url:about:help" }, | { } 80 | { "${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } ...... 79 | { "${menu.help}", SDLK_F1, 0, "!open url:about:help" }, | { } 80 | { "${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 81 | { "---" }, 82 | { "${menu.quit}", 'q', KMOD_PRIMARY, "quit" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } ...... 79 | { "${menu.help}", SDLK_F1, 0, "!open url:about:help" }, | { } 80 | { "${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 81 | { "---" }, 82 | { "${menu.quit}", 'q', KMOD_PRIMARY, "quit" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 92 | { "---" }, 93 | { "${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 92 | { "---" }, 93 | { "${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 92 | { "---" }, 93 | { "${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } 94 | { "---" }, 95 | { "${menu.downloads}", 0, 0, "downloads.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 92 | { "---" }, 93 | { "${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } 94 | { "---" }, 95 | { "${menu.downloads}", 0, 0, "downloads.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 109 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 109 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 110 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 109 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 110 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 109 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 110 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, | { } 111 | { "---" }, 112 | { gear_Icon " ${menu.settings}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 109 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 110 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, | { } 111 | { "---" }, 112 | { gear_Icon " ${menu.settings}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 123 | { "---" }, 124 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 123 | { "---" }, 124 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 123 | { "---" }, 124 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 125 | { "---" }, 126 | { gear_Icon " ${menu.settings}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 123 | { "---" }, 124 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 125 | { "---" }, 126 | { gear_Icon " ${menu.settings}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c: In function ‘makeIdentityMenu_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:344:25: warning: missing braces around initializer [-Wmissing-braces] 344 | &(iMenuItem){ close_Icon " ${ident.unset}", | ^ 345 | 0, 0, "document.unsetident" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:349:25: warning: missing braces around initializer [-Wmissing-braces] 349 | &(iMenuItem){ close_Icon " ${ident.stopuse}", | ^ ...... 352 | format_CStr("ident.signout ident:%s url:%s", | { 353 | cstr_String(fp), 354 | cstr_String(docUrl)) }); | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:368:22: warning: missing braces around initializer [-Wmissing-braces] 368 | &(iMenuItem){ | ^ ...... 374 | format_CStr("ident.switch fp:%s", cstr_String(i.value)) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:386:9: warning: missing braces around initializer [-Wmissing-braces] 386 | (iMenuItem[]){ | ^ ...... 390 | isGemini ? "ident.new scope:1" | { 391 | : "ident.new" }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:386:9: warning: missing braces around initializer [-Wmissing-braces] 386 | (iMenuItem[]){ | ^ ...... 390 | isGemini ? "ident.new scope:1" | { 391 | : "ident.new" }, | } 392 | { "${menu.identity.import}", SDLK_m, KMOD_SECONDARY, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:386:9: warning: missing braces around initializer [-Wmissing-braces] 386 | (iMenuItem[]){ | ^ ...... 390 | isGemini ? "ident.new scope:1" | { 391 | : "ident.new" }, | } 392 | { "${menu.identity.import}", SDLK_m, KMOD_SECONDARY, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:386:9: warning: missing braces around initializer [-Wmissing-braces] 386 | (iMenuItem[]){ | ^ ...... 390 | isGemini ? "ident.new scope:1" | { 391 | : "ident.new" }, | } 392 | { "${menu.identity.import}", SDLK_m, KMOD_SECONDARY, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:396:25: warning: missing braces around initializer [-Wmissing-braces] 396 | &(iMenuItem){ isVisible_Widget(sidebar) && mode_SidebarWidget(sidebar) == | ^ ...... 402 | "sidebar.mode arg:3 toggle:1" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:405:33: warning: missing braces around initializer [-Wmissing-braces] 405 | pushBack_Array(&items, &(iMenuItem){ gear_Icon " ${menu.identities}", 0, 0, | ^ 406 | "toolbar.showident"}); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c: In function ‘updateNavBarSize_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1064:18: warning: unused variable ‘toolBar’ [-Wunused-variable] 1064 | iWidget *toolBar = findWidget_Root("toolbar"); | ^~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c: In function ‘handleNavBarCommands_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1134:22: warning: missing braces around initializer [-Wmissing-braces] 1134 | &(iMenuItem){ | ^ ...... 1139 | format_CStr("navbar.action.set arg:%d button:%d", i, buttonIndex) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c: In function ‘updateWindowMenu_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1634:29: warning: missing braces around initializer [-Wmissing-braces] 1634 | &(iMenuItem){ .label = cstr_String(bookmarkTitle_DocumentWidget(doc)), | ^ ...... 1637 | format_CStr("!window.activate ptr:%p", win) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c: In function ‘createClipMenu_Root’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1681:9: warning: missing braces around initializer [-Wmissing-braces] 1681 | (iMenuItem[]){ | ^ 1682 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1681:9: warning: missing braces around initializer [-Wmissing-braces] 1681 | (iMenuItem[]){ | ^ 1682 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1683 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1681:9: warning: missing braces around initializer [-Wmissing-braces] 1681 | (iMenuItem[]){ | ^ 1682 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1683 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1684 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1681:9: warning: missing braces around initializer [-Wmissing-braces] 1681 | (iMenuItem[]){ | ^ 1682 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1683 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1684 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1685 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1681:9: warning: missing braces around initializer [-Wmissing-braces] 1681 | (iMenuItem[]){ | ^ 1682 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1683 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1684 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1685 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1686 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1681:9: warning: missing braces around initializer [-Wmissing-braces] 1681 | (iMenuItem[]){ | ^ 1682 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1683 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1684 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1685 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1686 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1681:9: warning: missing braces around initializer [-Wmissing-braces] 1681 | (iMenuItem[]){ | ^ 1682 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1683 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1684 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1685 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1686 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 1687 | { "---" }, 1688 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.delete}", 0, 0, "input.delete" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1681:9: warning: missing braces around initializer [-Wmissing-braces] 1681 | (iMenuItem[]){ | ^ 1682 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1683 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1684 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1685 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1686 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 1687 | { "---" }, 1688 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.delete}", 0, 0, "input.delete" }, | { } 1689 | { undo_Icon " ${menu.undo}", 0, 0, "input.undo" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1681:9: warning: missing braces around initializer [-Wmissing-braces] 1681 | (iMenuItem[]){ | ^ 1682 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1683 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1684 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1685 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1686 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 1687 | { "---" }, 1688 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.delete}", 0, 0, "input.delete" }, | { } 1689 | { undo_Icon " ${menu.undo}", 0, 0, "input.undo" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1681:9: warning: missing braces around initializer [-Wmissing-braces] 1681 | (iMenuItem[]){ | ^ 1682 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1683 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1684 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1685 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1686 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 1687 | { "---" }, 1688 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.delete}", 0, 0, "input.delete" }, | { } 1689 | { undo_Icon " ${menu.undo}", 0, 0, "input.undo" }, | { } 1690 | { "---" }, 1691 | { select_Icon " ${menu.selectall}", 0, 0, "input.selectall" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1681:9: warning: missing braces around initializer [-Wmissing-braces] 1681 | (iMenuItem[]){ | ^ 1682 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1683 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1684 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1685 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1686 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 1687 | { "---" }, 1688 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.delete}", 0, 0, "input.delete" }, | { } 1689 | { undo_Icon " ${menu.undo}", 0, 0, "input.undo" }, | { } 1690 | { "---" }, 1691 | { select_Icon " ${menu.selectall}", 0, 0, "input.selectall" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c: In function ‘createSplitMenu_Root’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1704:25: warning: missing braces around initializer [-Wmissing-braces] 1704 | iMenuItem items[] = { | ^ 1705 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } [ 69%] Building C object CMakeFiles/app.dir/src/ui/mobile.c.o /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1704:25: warning: missing braces around initializer [-Wmissing-braces] 1704 | iMenuItem items[] = { | ^ 1705 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1706 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/mobile.c.o -MF CMakeFiles/app.dir/src/ui/mobile.c.o.d -o CMakeFiles/app.dir/src/ui/mobile.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.c [ 70%] Building C object CMakeFiles/app.dir/src/ui/scrollwidget.c.o /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1704:25: warning: missing braces around initializer [-Wmissing-braces] 1704 | iMenuItem items[] = { | ^ 1705 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1706 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/scrollwidget.c.o -MF CMakeFiles/app.dir/src/ui/scrollwidget.c.o.d -o CMakeFiles/app.dir/src/ui/scrollwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/scrollwidget.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1704:25: warning: missing braces around initializer [-Wmissing-braces] 1704 | iMenuItem items[] = { | ^ 1705 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1706 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1707 | { "---" }, 1708 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1704:25: warning: missing braces around initializer [-Wmissing-braces] 1704 | iMenuItem items[] = { | ^ 1705 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1706 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1707 | { "---" }, 1708 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1709 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1704:25: warning: missing braces around initializer [-Wmissing-braces] 1704 | iMenuItem items[] = { | ^ 1705 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1706 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1707 | { "---" }, 1708 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1709 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1710 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/../gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mediaui.c:25: /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/../defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1704:25: warning: missing braces around initializer [-Wmissing-braces] 1704 | iMenuItem items[] = { | ^ 1705 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1706 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1707 | { "---" }, 1708 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1709 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1710 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } [ 72%] Building C object CMakeFiles/app.dir/src/ui/sidebarwidget.c.o /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1704:25: warning: missing braces around initializer [-Wmissing-braces] 1704 | iMenuItem items[] = { | ^ 1705 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1706 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1707 | { "---" }, 1708 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1709 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1710 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } 1711 | { "---" }, 1712 | { "${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1" }, | { } /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/sidebarwidget.c.o -MF CMakeFiles/app.dir/src/ui/sidebarwidget.c.o.d -o CMakeFiles/app.dir/src/ui/sidebarwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1704:25: warning: missing braces around initializer [-Wmissing-braces] 1704 | iMenuItem items[] = { | ^ 1705 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1706 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1707 | { "---" }, 1708 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1709 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1710 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } 1711 | { "---" }, 1712 | { "${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1" }, | { } 1713 | { "${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1704:25: warning: missing braces around initializer [-Wmissing-braces] 1704 | iMenuItem items[] = { | ^ 1705 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1706 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1707 | { "---" }, 1708 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1709 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1710 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } 1711 | { "---" }, 1712 | { "${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1" }, | { } 1713 | { "${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1" }, | { } 1714 | { "${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1704:25: warning: missing braces around initializer [-Wmissing-braces] 1704 | iMenuItem items[] = { | ^ 1705 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1706 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1707 | { "---" }, 1708 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1709 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1710 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } 1711 | { "---" }, 1712 | { "${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1" }, | { } 1713 | { "${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1" }, | { } 1714 | { "${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c: In function ‘recreateSnippetMenu_Root’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1734:25: warning: missing braces around initializer [-Wmissing-braces] 1734 | &(iMenuItem){ format_CStr(clipboard_Icon " %s", cstr_String(s.value)), | ^ ...... 1737 | format_CStr("!input.paste snippet:%s", cstr_String(s.value)) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1743:21: warning: missing braces around initializer [-Wmissing-braces] 1743 | &(iMenuItem){ gear_Icon " ${menu.snip.prefs}", 0, 0, "preferences sniped:1" }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c: In function ‘createUserInterface_Root’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/mediaui.c: In function ‘processEvent_DownloadUI’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/mediaui.c:257:43: warning: missing braces around initializer [-Wmissing-braces] 257 | const iMenuItem items[] = { | ^ ...... 262 | format_CStr("!open newtab:1 url:%s", | { 263 | cstrCollect_String(makeFileUrl_String(path))) }, | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/mediaui.c:257:43: warning: missing braces around initializer [-Wmissing-braces] 257 | const iMenuItem items[] = { | ^ ...... 262 | format_CStr("!open newtab:1 url:%s", | { 263 | cstrCollect_String(makeFileUrl_String(path))) }, | } ...... 280 | format_CStr("!reveal path:%s", cstr_String(path)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/mediaui.c:257:43: warning: missing braces around initializer [-Wmissing-braces] 257 | const iMenuItem items[] = { | ^ ...... 262 | format_CStr("!open newtab:1 url:%s", | { 263 | cstrCollect_String(makeFileUrl_String(path))) }, | } ...... 280 | format_CStr("!reveal path:%s", cstr_String(path)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/mediaui.c:257:43: warning: missing braces around initializer [-Wmissing-braces] 257 | const iMenuItem items[] = { | ^ ...... 262 | format_CStr("!open newtab:1 url:%s", | { 263 | cstrCollect_String(makeFileUrl_String(path))) }, | } ...... 280 | format_CStr("!reveal path:%s", cstr_String(path)) }, | { } ...... 284 | { "${menu.downloads}", 0, 0, "downloads.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/mediaui.c:257:43: warning: missing braces around initializer [-Wmissing-braces] 257 | const iMenuItem items[] = { | ^ ...... 262 | format_CStr("!open newtab:1 url:%s", | { 263 | cstrCollect_String(makeFileUrl_String(path))) }, | } ...... 280 | format_CStr("!reveal path:%s", cstr_String(path)) }, | { } ...... 284 | { "${menu.downloads}", 0, 0, "downloads.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/mediaui.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/ui/mediaui.c:87:20: warning: ‘sevenSegmentStr_’ defined but not used [-Wunused-variable] 87 | static const char *sevenSegmentStr_ = "\U0001fbf0"; | ^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1982 | { "---${menu.tools}" }, 1983 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1982 | { "---${menu.tools}" }, 1983 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1984 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1982 | { "---${menu.tools}" }, 1983 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1984 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1985 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1982 | { "---${menu.tools}" }, 1983 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1984 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1985 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1986 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 73%] Building C object CMakeFiles/app.dir/src/ui/snippetwidget.c.o /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/snippetwidget.c.o -MF CMakeFiles/app.dir/src/ui/snippetwidget.c.o.d -o CMakeFiles/app.dir/src/ui/snippetwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/snippetwidget.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1982 | { "---${menu.tools}" }, 1983 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1984 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1985 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1986 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1987 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/scrollwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/scrollwidget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1982 | { "---${menu.tools}" }, 1983 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1984 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1985 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1986 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1987 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1988 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1982 | { "---${menu.tools}" }, 1983 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1984 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1985 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1986 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1987 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1988 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1982 | { "---${menu.tools}" }, 1983 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1984 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1985 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1986 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1987 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1988 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 1989 | { "---" }, 1990 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1982 | { "---${menu.tools}" }, 1983 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1984 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1985 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1986 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1987 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1988 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 1989 | { "---" }, 1990 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 1991 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1982 | { "---${menu.tools}" }, 1983 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1984 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1985 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1986 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1987 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1988 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 1989 | { "---" }, 1990 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 1991 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } 1992 | { "${menu.viewformat.plain}", 0, 0, "document.viewformat" } }, | { } [ 75%] Building C object CMakeFiles/app.dir/src/ui/text.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/text.c.o -MF CMakeFiles/app.dir/src/ui/text.c.o.d -o CMakeFiles/app.dir/src/ui/text.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/text.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1976:21: warning: missing braces around initializer [-Wmissing-braces] 1976 | (iMenuItem[]){ | ^ 1977 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1978 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1979 | { "---" }, 1980 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1981 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1982 | { "---${menu.tools}" }, 1983 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1984 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1985 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1986 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1987 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1988 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 1989 | { "---" }, 1990 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 1991 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } 1992 | { "${menu.viewformat.plain}", 0, 0, "document.viewformat" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2222:13: warning: missing braces around initializer [-Wmissing-braces] 2222 | (iMenuItem[]){ | ^ 2223 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2222:13: warning: missing braces around initializer [-Wmissing-braces] 2222 | (iMenuItem[]){ | ^ 2223 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2224 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2222:13: warning: missing braces around initializer [-Wmissing-braces] 2222 | (iMenuItem[]){ | ^ 2223 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2224 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2222:13: warning: missing braces around initializer [-Wmissing-braces] 2222 | (iMenuItem[]){ | ^ 2223 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2224 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2225 | { "---" }, 2226 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2222:13: warning: missing braces around initializer [-Wmissing-braces] 2222 | (iMenuItem[]){ | ^ 2223 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2224 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2225 | { "---" }, 2226 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2227 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/snippetwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/snippetwidget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2222:13: warning: missing braces around initializer [-Wmissing-braces] 2222 | (iMenuItem[]){ | ^ 2223 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2224 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2225 | { "---" }, 2226 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2227 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } 2228 | { barRightArrow_Icon " ${menu.closetab.right}", 0, 0, "tabs.close toright:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2222:13: warning: missing braces around initializer [-Wmissing-braces] 2222 | (iMenuItem[]){ | ^ 2223 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2224 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2225 | { "---" }, 2226 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2227 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } 2228 | { barRightArrow_Icon " ${menu.closetab.right}", 0, 0, "tabs.close toright:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2222:13: warning: missing braces around initializer [-Wmissing-braces] 2222 | (iMenuItem[]){ | ^ 2223 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2224 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2225 | { "---" }, 2226 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2227 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } 2228 | { barRightArrow_Icon " ${menu.closetab.right}", 0, 0, "tabs.close toright:1" }, | { } 2229 | { "---" }, 2230 | { leftAngle_Icon " ${menu.movetab.left}", 0, 0, "tabs.move arg:-1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2222:13: warning: missing braces around initializer [-Wmissing-braces] 2222 | (iMenuItem[]){ | ^ 2223 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2224 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2225 | { "---" }, 2226 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2227 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } 2228 | { barRightArrow_Icon " ${menu.closetab.right}", 0, 0, "tabs.close toright:1" }, | { } 2229 | { "---" }, 2230 | { leftAngle_Icon " ${menu.movetab.left}", 0, 0, "tabs.move arg:-1" }, | { } 2231 | { rightAngle_Icon " ${menu.movetab.right}", 0, 0, "tabs.move arg:1" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } 281 | { "---" }, 282 | { rightAngle_Icon " ${menu.foldall}", 0, 0, "bookmark.foldall arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } 281 | { "---" }, 282 | { rightAngle_Icon " ${menu.foldall}", 0, 0, "bookmark.foldall arg:1" }, | { } 283 | { downAngle_Icon " ${menu.unfoldall}", 0, 0, "bookmark.foldall arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } 281 | { "---" }, 282 | { rightAngle_Icon " ${menu.foldall}", 0, 0, "bookmark.foldall arg:1" }, | { } 283 | { downAngle_Icon " ${menu.unfoldall}", 0, 0, "bookmark.foldall arg:0" }, | { } 284 | { reload_Icon " ${bookmarks.reload}", 0, 0, "bookmarks.reload.remote" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.c: In function ‘initPanels_Mobile’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } 281 | { "---" }, 282 | { rightAngle_Icon " ${menu.foldall}", 0, 0, "bookmark.foldall arg:1" }, | { } 283 | { downAngle_Icon " ${menu.unfoldall}", 0, 0, "bookmark.foldall arg:0" }, | { } 284 | { reload_Icon " ${bookmarks.reload}", 0, 0, "bookmarks.reload.remote" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.c:996:22: warning: missing braces around initializer [-Wmissing-braces] 996 | &(iMenuItem){ isToggle | ^ ...... 1002 | isToggle ? act->label + 1 : act->command }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c: In function ‘updateItemsWithFlags_SidebarWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:389:47: warning: missing braces around initializer [-Wmissing-braces] 389 | const iMenuItem items[] = { | ^ ...... 393 | "feeds.mode arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:389:47: warning: missing braces around initializer [-Wmissing-braces] 389 | const iMenuItem items[] = { | ^ ...... 393 | "feeds.mode arg:0" }, | { } ...... 397 | "feeds.mode arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:389:47: warning: missing braces around initializer [-Wmissing-braces] 389 | const iMenuItem items[] = { | ^ ...... 393 | "feeds.mode arg:0" }, | { } ...... 397 | "feeds.mode arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] 440 | const iMenuItem menuItems[] = { | ^ 441 | { openTab_Icon " ${menu.opentab}", 0, 0, "feed.entry.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2222:13: warning: missing braces around initializer [-Wmissing-braces] 2222 | (iMenuItem[]){ | ^ 2223 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2224 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2225 | { "---" }, 2226 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2227 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } 2228 | { barRightArrow_Icon " ${menu.closetab.right}", 0, 0, "tabs.close toright:1" }, | { } 2229 | { "---" }, 2230 | { leftAngle_Icon " ${menu.movetab.left}", 0, 0, "tabs.move arg:-1" }, | { } 2231 | { rightAngle_Icon " ${menu.movetab.right}", 0, 0, "tabs.move arg:1" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] 440 | const iMenuItem menuItems[] = { | ^ 441 | { openTab_Icon " ${menu.opentab}", 0, 0, "feed.entry.open newtab:1" }, | { } 442 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "feed.entry.open newtab:2" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] 440 | const iMenuItem menuItems[] = { | ^ 441 | { openTab_Icon " ${menu.opentab}", 0, 0, "feed.entry.open newtab:1" }, | { } 442 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "feed.entry.open newtab:2" }, | { } 443 | #if defined (iPlatformDesktop) 444 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "feed.entry.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:462:17: warning: missing braces around initializer [-Wmissing-braces] 462 | (iMenuItem[]){ | ^ 463 | { check_Icon " ${feeds.markallread}", SDLK_a, KMOD_SHIFT, "feeds.markallread" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:462:17: warning: missing braces around initializer [-Wmissing-braces] 462 | (iMenuItem[]){ | ^ 463 | { check_Icon " ${feeds.markallread}", SDLK_a, KMOD_SHIFT, "feeds.markallread" }, | { } 464 | { reload_Icon " ${feeds.refresh}", refreshFeeds_KeyShortcut, "feeds.refresh" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2234:40: warning: missing braces around initializer [-Wmissing-braces] 2234 | pushBack_Array(tabsItems, &(iMenuItem){ "${menu.movetab.split}", 0, 0, "tabs.swap" }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:462:17: warning: missing braces around initializer [-Wmissing-braces] 462 | (iMenuItem[]){ | ^ 463 | { check_Icon " ${feeds.markallread}", SDLK_a, KMOD_SHIFT, "feeds.markallread" }, | { } 464 | { reload_Icon " ${feeds.refresh}", refreshFeeds_KeyShortcut, "feeds.refresh" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] 526 | const iMenuItem menuItems[] = { | ^ 527 | { openTab_Icon " ${menu.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] 526 | const iMenuItem menuItems[] = { | ^ 527 | { openTab_Icon " ${menu.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 528 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "bookmark.open newtab:2" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2237:40: warning: missing braces around initializer [-Wmissing-braces] 2237 | pushBack_Array(tabsItems, &(iMenuItem){ "${menu.movetab.newwindow}", 0, 0, "tabs.swap newwindow:1" }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] 526 | const iMenuItem menuItems[] = { | ^ 527 | { openTab_Icon " ${menu.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 528 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "bookmark.open newtab:2" }, | { } 529 | #if defined (iPlatformDesktop) 530 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2243:29: warning: missing braces around initializer [-Wmissing-braces] 2243 | (iMenuItem[]){ | ^ 2244 | { leftHalf_Icon " ${menu.sidebar.left}", 0, 0, "sidebar.toggle" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } 562 | { "---" }, 563 | { edit_Icon " ${menu.edit}", 0, 0, "bookmark.edit" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } 562 | { "---" }, 563 | { edit_Icon " ${menu.edit}", 0, 0, "bookmark.edit" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } 562 | { "---" }, 563 | { edit_Icon " ${menu.edit}", 0, 0, "bookmark.edit" }, | { } ...... 566 | { uiTextCaution_ColorEscape "${bookmark.folder.delete}", SDLK_BACKSPACE, 0, "bookmark.delete" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2243:29: warning: missing braces around initializer [-Wmissing-braces] 2243 | (iMenuItem[]){ | ^ 2244 | { leftHalf_Icon " ${menu.sidebar.left}", 0, 0, "sidebar.toggle" }, | { } 2245 | { rightHalf_Icon " ${menu.sidebar.right}", 0, 0, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } 562 | { "---" }, 563 | { edit_Icon " ${menu.edit}", 0, 0, "bookmark.edit" }, | { } ...... 566 | { uiTextCaution_ColorEscape "${bookmark.folder.delete}", SDLK_BACKSPACE, 0, "bookmark.delete" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } 562 | { "---" }, 563 | { edit_Icon " ${menu.edit}", 0, 0, "bookmark.edit" }, | { } ...... 566 | { uiTextCaution_ColorEscape "${bookmark.folder.delete}", SDLK_BACKSPACE, 0, "bookmark.delete" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } 633 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "history.open newtab:2" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } 633 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "history.open newtab:2" }, | { } 634 | #if defined (iPlatformDesktop) 635 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "history.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } 633 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "history.open newtab:2" }, | { } 634 | #if defined (iPlatformDesktop) 635 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "history.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } 633 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "history.open newtab:2" }, | { } 634 | #if defined (iPlatformDesktop) 635 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "history.open newwindow:1" }, | { } ...... 638 | { bookmark_Icon " ${sidebar.entry.bookmark}", 0, 0, "history.addbookmark" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } 633 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "history.open newtab:2" }, | { } 634 | #if defined (iPlatformDesktop) 635 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "history.open newwindow:1" }, | { } ...... 638 | { bookmark_Icon " ${sidebar.entry.bookmark}", 0, 0, "history.addbookmark" }, | { } 639 | { "${menu.copyurl}", 0, 0, "history.copy" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:648:17: warning: missing braces around initializer [-Wmissing-braces] 648 | (iMenuItem[]){ | ^ 649 | { delete_Icon " " uiTextCaution_ColorEscape "${history.clear}", 0, 0, "history.clear confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:648:17: warning: missing braces around initializer [-Wmissing-braces] 648 | (iMenuItem[]){ | ^ 649 | { delete_Icon " " uiTextCaution_ColorEscape "${history.clear}", 0, 0, "history.clear confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:653:31: warning: unused variable ‘btn’ [-Wunused-variable] 653 | iLabelWidget *btn = addActionButton_SidebarWidget_(d, "${sidebar.action.history.clear}", | ^~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2243:29: warning: missing braces around initializer [-Wmissing-braces] 2243 | (iMenuItem[]){ | ^ 2244 | { leftHalf_Icon " ${menu.sidebar.left}", 0, 0, "sidebar.toggle" }, | { } 2245 | { rightHalf_Icon " ${menu.sidebar.right}", 0, 0, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2251:52: warning: missing braces around initializer [-Wmissing-braces] 2251 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2252 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2251:52: warning: missing braces around initializer [-Wmissing-braces] 2251 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2252 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2253 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c: In function ‘processEvent_SidebarWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2251:52: warning: missing braces around initializer [-Wmissing-braces] 2251 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2252 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2253 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:1807:45: warning: missing braces around initializer [-Wmissing-braces] 1807 | (iMenuItem[]){ | ^ ...... 1811 | 0, 0, format_CStr("!bookmark.delete confirmed:1 ptr:%p", d) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:1807:45: warning: missing braces around initializer [-Wmissing-braces] 1807 | (iMenuItem[]){ | ^ ...... 1811 | 0, 0, format_CStr("!bookmark.delete confirmed:1 ptr:%p", d) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2251:52: warning: missing braces around initializer [-Wmissing-braces] 2251 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2252 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2253 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2254 | { "---" }, 2255 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:1874:66: warning: missing braces around initializer [-Wmissing-braces] 1874 | iWidget *menu = makeMenu_Widget(w->root->widget, (iMenuItem[]){ | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:1907:36: warning: unused variable ‘url’ [-Wunused-variable] 1907 | const iString *url = urlFragmentStripped_String(&item->url); | ^~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:1915:33: warning: unused variable ‘markingBelow’ [-Wunused-variable] 1915 | const iBool markingBelow = argLabel_Command(command_UserEvent(ev), "below") != 0; | ^~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2251:52: warning: missing braces around initializer [-Wmissing-braces] 2251 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2252 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2253 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2254 | { "---" }, 2255 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 2256 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:1945:34: warning: unused variable ‘dlg’ [-Wunused-variable] 1945 | iWidget *dlg = makeFeedSettings_Widget(id_Bookmark(feedBookmark)); | ^~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:1959:33: warning: missing braces around initializer [-Wmissing-braces] 1959 | (iMenuItem[]){ | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:1959:33: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:1959:33: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:2015:37: warning: missing braces around initializer [-Wmissing-braces] 2015 | (iMenuItem[]){ { "${cancel}", 0, 0, NULL }, | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2251:52: warning: missing braces around initializer [-Wmissing-braces] 2251 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2252 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2253 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2254 | { "---" }, 2255 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 2256 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:2015:37: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:2015:37: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2251:52: warning: missing braces around initializer [-Wmissing-braces] 2251 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2252 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2253 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2254 | { "---" }, 2255 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 2256 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 2257 | { "---" }, 2258 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2251:52: warning: missing braces around initializer [-Wmissing-braces] 2251 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2252 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2253 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2254 | { "---" }, 2255 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 2256 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 2257 | { "---" }, 2258 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 2259 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:2251:52: warning: missing braces around initializer [-Wmissing-braces] 2251 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2252 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2253 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2254 | { "---" }, 2255 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 2256 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 2257 | { "---" }, 2258 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 2259 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:1032:21: warning: ‘hoverIdentity_SidebarWidget_’ defined but not used [-Wunused-function] 1032 | static iGmIdentity *hoverIdentity_SidebarWidget_(const iSidebarWidget *d) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/sidebarwidget.c:1025:27: warning: ‘constHoverIdentity_SidebarWidget_’ defined but not used [-Wunused-function] 1025 | static const iGmIdentity *constHoverIdentity_SidebarWidget_(const iSidebarWidget *d) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/snippetwidget.c: In function ‘init_SnippetWidget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/snippetwidget.c:120:9: warning: missing braces around initializer [-Wmissing-braces] 120 | (iMenuItem[]){ { edit_Icon " ${menu.snip.edit}", 0, 0, "sniped.edit" }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/snippetwidget.c:120:9: warning: missing braces around initializer [-Wmissing-braces] 120 | (iMenuItem[]){ { edit_Icon " ${menu.snip.edit}", 0, 0, "sniped.edit" }, | ^ | { } 121 | { copy_Icon " ${menu.snip.clipboard}", 0, 0, "sniped.clipboard" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/snippetwidget.c:120:9: warning: missing braces around initializer [-Wmissing-braces] 120 | (iMenuItem[]){ { edit_Icon " ${menu.snip.edit}", 0, 0, "sniped.edit" }, | ^ | { } 121 | { copy_Icon " ${menu.snip.clipboard}", 0, 0, "sniped.clipboard" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/snippetwidget.c:120:9: warning: missing braces around initializer [-Wmissing-braces] 120 | (iMenuItem[]){ { edit_Icon " ${menu.snip.edit}", 0, 0, "sniped.edit" }, | ^ | { } 121 | { copy_Icon " ${menu.snip.clipboard}", 0, 0, "sniped.clipboard" }, | { } 122 | { "---" }, 123 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.snip.delete}", 0, 0, "sniped.delete" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/snippetwidget.c:120:9: warning: missing braces around initializer [-Wmissing-braces] 120 | (iMenuItem[]){ { edit_Icon " ${menu.snip.edit}", 0, 0, "sniped.edit" }, | ^ | { } 121 | { copy_Icon " ${menu.snip.clipboard}", 0, 0, "sniped.clipboard" }, | { } 122 | { "---" }, 123 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.snip.delete}", 0, 0, "sniped.delete" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:1544:22: warning: ‘newLargeIcon_LabelWidget’ defined but not used [-Wunused-function] 1544 | static iLabelWidget *newLargeIcon_LabelWidget(const char *text, const char *cmd) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.c:413:14: warning: ‘isBookmarkFolder_’ defined but not used [-Wunused-function] 413 | static iBool isBookmarkFolder_(void *context, const iBookmark *bm) { | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/paint.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/text.c:25: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/text.c: In function ‘init_TextBuf’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/text.c:339:19: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 339 | if (d->size.x * d->size.y) { | ~~~~~~~~~~^~~~~~~~~~~ [ 76%] Building C object CMakeFiles/app.dir/src/ui/touch.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/touch.c.o -MF CMakeFiles/app.dir/src/ui/touch.c.o.d -o CMakeFiles/app.dir/src/ui/touch.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/touch.c [ 78%] Building C object CMakeFiles/app.dir/src/ui/translation.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/translation.c.o -MF CMakeFiles/app.dir/src/ui/translation.c.o.d -o CMakeFiles/app.dir/src/ui/translation.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/translation.c In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/touch.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.18.3/src/app.h:31, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/translation.c:25: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 80%] Building C object CMakeFiles/app.dir/src/ui/uploadwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/uploadwidget.c.o -MF CMakeFiles/app.dir/src/ui/uploadwidget.c.o.d -o CMakeFiles/app.dir/src/ui/uploadwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/touch.c: In function ‘update_TouchState_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/touch.c:332:27: warning: unused variable ‘pos’ [-Wunused-variable] 332 | const iFloat3 pos = touch->pos[0]; | ^~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/touch.c: In function ‘checkNewPinch_TouchState_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/touch.c:498:20: warning: unused variable ‘nowTime’ [-Wunused-variable] 498 | const uint32_t nowTime = SDL_GetTicks(); | ^~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/touch.c: In function ‘processEvent_Touch’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/touch.c:618:18: warning: unused variable ‘dragging’ [-Wunused-variable] 618 | iWidget *dragging = NULL; | ^~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/touch.c:872:27: warning: unused variable ‘gestureVector’ [-Wunused-variable] 872 | const iFloat3 gestureVector = sub_F3(pos, touch->pos[lastIndex]); | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/translation.c: In function ‘processResult_Translation_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/translation.c:441:16: warning: unused variable ‘lineIndex’ [-Wunused-variable] 441 | size_t lineIndex = 0; | ^~~~~~~~~ [ 81%] Building C object CMakeFiles/app.dir/src/ui/util.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/util.c.o -MF CMakeFiles/app.dir/src/ui/util.c.o.d -o CMakeFiles/app.dir/src/ui/util.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c: In function ‘appendIdentities_MenuItem’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:163:14: warning: missing braces around initializer [-Wmissing-braces] 163 | &(iMenuItem){ cstr_String(str), | ^ ...... 166 | format_CStr("%s fp:%s", | { 167 | command, 168 | cstrCollect_String(hexEncode_Block(&id->fingerprint))) }); | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c: In function ‘makeIdentityItems_UploadWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:182:25: warning: missing braces around initializer [-Wmissing-braces] 182 | &(iMenuItem){ format_CStr("${dlg.upload.id.default} (%s)", | ^ ...... 185 | 0, 0, "upload.setid arg:1" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:186:32: warning: missing braces around initializer [-Wmissing-braces] 186 | pushBack_Array(items, &(iMenuItem){ "${dlg.upload.id.none}", 0, 0, "upload.setid arg:0" }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c: In function ‘handleMisfinRequestFinished_UploadWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:390:9: warning: missing braces around initializer [-Wmissing-braces] 390 | (iMenuItem[]){ { "${dlg.message.ok}", 0, 0, status == 20 ? "!upload.cancel" : "cancel" } }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:390:9: warning: missing braces around initializer [-Wmissing-braces] 390 | (iMenuItem[]){ { "${dlg.message.ok}", 0, 0, status == 20 ? "!upload.cancel" : "cancel" } }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c: In function ‘init_UploadWidget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:459:38: warning: missing braces around initializer [-Wmissing-braces] 459 | const iMenuItem titanActions[] = { | ^ 460 | { "${upload.port}", 0, 0, "upload.setport" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:459:38: warning: missing braces around initializer [-Wmissing-braces] 459 | const iMenuItem titanActions[] = { | ^ 460 | { "${upload.port}", 0, 0, "upload.setport" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:459:38: warning: missing braces around initializer [-Wmissing-braces] 459 | const iMenuItem titanActions[] = { | ^ 460 | { "${upload.port}", 0, 0, "upload.setport" }, | { } 461 | { "---" }, 462 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:459:38: warning: missing braces around initializer [-Wmissing-braces] 459 | const iMenuItem titanActions[] = { | ^ 460 | { "${upload.port}", 0, 0, "upload.setport" }, | { } 461 | { "---" }, 462 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } 463 | { uiTextAction_ColorEscape "${dlg.upload.send}", SDLK_RETURN, KMOD_ACCEPT, "upload.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:459:38: warning: missing braces around initializer [-Wmissing-braces] 459 | const iMenuItem titanActions[] = { | ^ 460 | { "${upload.port}", 0, 0, "upload.setport" }, | { } 461 | { "---" }, 462 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } 463 | { uiTextAction_ColorEscape "${dlg.upload.send}", SDLK_RETURN, KMOD_ACCEPT, "upload.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:465:39: warning: missing braces around initializer [-Wmissing-braces] 465 | const iMenuItem misfinActions[] = { | ^ ...... 469 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:465:39: warning: missing braces around initializer [-Wmissing-braces] 465 | const iMenuItem misfinActions[] = { | ^ ...... 469 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } 470 | { uiTextAction_ColorEscape "${dlg.upload.sendmsg}", SDLK_RETURN, KMOD_ACCEPT, "upload.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:465:39: warning: missing braces around initializer [-Wmissing-braces] 465 | const iMenuItem misfinActions[] = { | ^ ...... 469 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } 470 | { uiTextAction_ColorEscape "${dlg.upload.sendmsg}", SDLK_RETURN, KMOD_ACCEPT, "upload.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:472:38: warning: missing braces around initializer [-Wmissing-braces] 472 | const iMenuItem otherActions[] = { | ^ 473 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:472:38: warning: missing braces around initializer [-Wmissing-braces] 472 | const iMenuItem otherActions[] = { | ^ 473 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } 474 | { uiTextAction_ColorEscape "${dlg.upload.send}", SDLK_RETURN, KMOD_ACCEPT, "upload.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:472:38: warning: missing braces around initializer [-Wmissing-braces] 472 | const iMenuItem otherActions[] = { | ^ 473 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } 474 | { uiTextAction_ColorEscape "${dlg.upload.send}", SDLK_RETURN, KMOD_ACCEPT, "upload.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:486:43: warning: missing braces around initializer [-Wmissing-braces] 486 | const iMenuItem ellipsisItems[] = { | ^ 487 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:486:43: warning: missing braces around initializer [-Wmissing-braces] 486 | const iMenuItem ellipsisItems[] = { | ^ 487 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 488 | { select_Icon " ${menu.selectall}", 0, 0, "upload.text.selectall" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:486:43: warning: missing braces around initializer [-Wmissing-braces] 486 | const iMenuItem ellipsisItems[] = { | ^ 487 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 488 | { select_Icon " ${menu.selectall}", 0, 0, "upload.text.selectall" }, | { } 489 | { export_Icon " ${menu.upload.export}", 0, 0, "upload.text.export" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:486:43: warning: missing braces around initializer [-Wmissing-braces] 486 | const iMenuItem ellipsisItems[] = { | ^ 487 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 488 | { select_Icon " ${menu.selectall}", 0, 0, "upload.text.selectall" }, | { } 489 | { export_Icon " ${menu.upload.export}", 0, 0, "upload.text.export" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:486:43: warning: missing braces around initializer [-Wmissing-braces] 486 | const iMenuItem ellipsisItems[] = { | ^ 487 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 488 | { select_Icon " ${menu.selectall}", 0, 0, "upload.text.selectall" }, | { } 489 | { export_Icon " ${menu.upload.export}", 0, 0, "upload.text.export" }, | { } ...... 492 | 0, 0, "upload.text.delete confirmed:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:486:43: warning: missing braces around initializer [-Wmissing-braces] 486 | const iMenuItem ellipsisItems[] = { | ^ 487 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 488 | { select_Icon " ${menu.selectall}", 0, 0, "upload.text.selectall" }, | { } 489 | { export_Icon " ${menu.upload.export}", 0, 0, "upload.text.export" }, | { } ...... 492 | 0, 0, "upload.text.delete confirmed:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:495:39: warning: missing braces around initializer [-Wmissing-braces] 495 | const iMenuItem textItems[] = { | ^ 496 | { "navi.menubutton text:\u00a0\u00a0\u00a0" midEllipsis_Icon "\u00a0\u00a0\u00a0\u00a0", 0, 0, (const void *) ellipsisItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:495:39: warning: missing braces around initializer [-Wmissing-braces] 495 | const iMenuItem textItems[] = { | ^ 496 | { "navi.menubutton text:\u00a0\u00a0\u00a0" midEllipsis_Icon "\u00a0\u00a0\u00a0\u00a0", 0, 0, (const void *) ellipsisItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:495:39: warning: missing braces around initializer [-Wmissing-braces] 495 | const iMenuItem textItems[] = { | ^ 496 | { "navi.menubutton text:\u00a0\u00a0\u00a0" midEllipsis_Icon "\u00a0\u00a0\u00a0\u00a0", 0, 0, (const void *) ellipsisItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:495:39: warning: missing braces around initializer [-Wmissing-braces] 495 | const iMenuItem textItems[] = { | ^ 496 | { "navi.menubutton text:\u00a0\u00a0\u00a0" midEllipsis_Icon "\u00a0\u00a0\u00a0\u00a0", 0, 0, (const void *) ellipsisItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:501:44: warning: missing braces around initializer [-Wmissing-braces] 501 | const iMenuItem titanFileItems[] = { | ^ ...... 510 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:501:44: warning: missing braces around initializer [-Wmissing-braces] 501 | const iMenuItem titanFileItems[] = { | ^ ...... 510 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:519:45: warning: missing braces around initializer [-Wmissing-braces] 519 | const iMenuItem uploadTypeItems[] = { | ^ 520 | { "button id:upload.type.text text:${heading.upload.text}", 0, 0, "upload.settype arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:519:45: warning: missing braces around initializer [-Wmissing-braces] 519 | const iMenuItem uploadTypeItems[] = { | ^ 520 | { "button id:upload.type.text text:${heading.upload.text}", 0, 0, "upload.settype arg:0" }, | { } 521 | { "button id:upload.type.file text:${heading.upload.file}", 0, 0, "upload.settype arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:519:45: warning: missing braces around initializer [-Wmissing-braces] 519 | const iMenuItem uploadTypeItems[] = { | ^ 520 | { "button id:upload.type.text text:${heading.upload.text}", 0, 0, "upload.settype arg:0" }, | { } 521 | { "button id:upload.type.file text:${heading.upload.file}", 0, 0, "upload.settype arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:524:40: warning: missing braces around initializer [-Wmissing-braces] 524 | const iMenuItem titanItems[] = { | ^ 525 | { "title id:upload.title text:${heading.upload}" }, 526 | { "panel id:dlg.upload.url buttonid:dlg.upload.urllabel icon:0x1f310 text:", 0, 0, (const void *) urlItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:524:40: warning: missing braces around initializer [-Wmissing-braces] 524 | const iMenuItem titanItems[] = { | ^ 525 | { "title id:upload.title text:${heading.upload}" }, 526 | { "panel id:dlg.upload.url buttonid:dlg.upload.urllabel icon:0x1f310 text:", 0, 0, (const void *) urlItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:524:40: warning: missing braces around initializer [-Wmissing-braces] 524 | const iMenuItem titanItems[] = { | ^ 525 | { "title id:upload.title text:${heading.upload}" }, 526 | { "panel id:dlg.upload.url buttonid:dlg.upload.urllabel icon:0x1f310 text:", 0, 0, (const void *) urlItems }, | { } 527 | { "label id:upload.progress collapse:1 text:" }, 528 | { "radio horizontal:1 id:upload.type collapse:1", 0, 0, (const void *) uploadTypeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:524:40: warning: missing braces around initializer [-Wmissing-braces] 524 | const iMenuItem titanItems[] = { | ^ 525 | { "title id:upload.title text:${heading.upload}" }, 526 | { "panel id:dlg.upload.url buttonid:dlg.upload.urllabel icon:0x1f310 text:", 0, 0, (const void *) urlItems }, | { } 527 | { "label id:upload.progress collapse:1 text:" }, 528 | { "radio horizontal:1 id:upload.type collapse:1", 0, 0, (const void *) uploadTypeItems }, | { } 529 | { "panel id:dlg.upload.text collapse:1 icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:524:40: warning: missing braces around initializer [-Wmissing-braces] 524 | const iMenuItem titanItems[] = { | ^ 525 | { "title id:upload.title text:${heading.upload}" }, 526 | { "panel id:dlg.upload.url buttonid:dlg.upload.urllabel icon:0x1f310 text:", 0, 0, (const void *) urlItems }, | { } 527 | { "label id:upload.progress collapse:1 text:" }, 528 | { "radio horizontal:1 id:upload.type collapse:1", 0, 0, (const void *) uploadTypeItems }, | { } 529 | { "panel id:dlg.upload.text collapse:1 icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 530 | { "panel id:dlg.upload.file collapse:1 icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:524:40: warning: missing braces around initializer [-Wmissing-braces] 524 | const iMenuItem titanItems[] = { | ^ 525 | { "title id:upload.title text:${heading.upload}" }, 526 | { "panel id:dlg.upload.url buttonid:dlg.upload.urllabel icon:0x1f310 text:", 0, 0, (const void *) urlItems }, | { } 527 | { "label id:upload.progress collapse:1 text:" }, 528 | { "radio horizontal:1 id:upload.type collapse:1", 0, 0, (const void *) uploadTypeItems }, | { } 529 | { "panel id:dlg.upload.text collapse:1 icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 530 | { "panel id:dlg.upload.file collapse:1 icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:524:40: warning: missing braces around initializer [-Wmissing-braces] 524 | const iMenuItem titanItems[] = { | ^ 525 | { "title id:upload.title text:${heading.upload}" }, 526 | { "panel id:dlg.upload.url buttonid:dlg.upload.urllabel icon:0x1f310 text:", 0, 0, (const void *) urlItems }, | { } 527 | { "label id:upload.progress collapse:1 text:" }, 528 | { "radio horizontal:1 id:upload.type collapse:1", 0, 0, (const void *) uploadTypeItems }, | { } 529 | { "panel id:dlg.upload.text collapse:1 icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 530 | { "panel id:dlg.upload.file collapse:1 icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } 531 | { "heading text:${heading.upload.id}" }, 532 | { "dropdown id:upload.id noheading:1 text:", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:524:40: warning: missing braces around initializer [-Wmissing-braces] 524 | const iMenuItem titanItems[] = { | ^ 525 | { "title id:upload.title text:${heading.upload}" }, 526 | { "panel id:dlg.upload.url buttonid:dlg.upload.urllabel icon:0x1f310 text:", 0, 0, (const void *) urlItems }, | { } 527 | { "label id:upload.progress collapse:1 text:" }, 528 | { "radio horizontal:1 id:upload.type collapse:1", 0, 0, (const void *) uploadTypeItems }, | { } 529 | { "panel id:dlg.upload.text collapse:1 icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 530 | { "panel id:dlg.upload.file collapse:1 icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } 531 | { "heading text:${heading.upload.id}" }, 532 | { "dropdown id:upload.id noheading:1 text:", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:524:40: warning: missing braces around initializer [-Wmissing-braces] 524 | const iMenuItem titanItems[] = { | ^ 525 | { "title id:upload.title text:${heading.upload}" }, 526 | { "panel id:dlg.upload.url buttonid:dlg.upload.urllabel icon:0x1f310 text:", 0, 0, (const void *) urlItems }, | { } 527 | { "label id:upload.progress collapse:1 text:" }, 528 | { "radio horizontal:1 id:upload.type collapse:1", 0, 0, (const void *) uploadTypeItems }, | { } 529 | { "panel id:dlg.upload.text collapse:1 icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 530 | { "panel id:dlg.upload.file collapse:1 icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } 531 | { "heading text:${heading.upload.id}" }, 532 | { "dropdown id:upload.id noheading:1 text:", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:536:41: warning: missing braces around initializer [-Wmissing-braces] 536 | const iMenuItem misfinItems[] = { | ^ ...... 539 | { "dropdown id:upload.id text:${upload.from}", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:536:41: warning: missing braces around initializer [-Wmissing-braces] 536 | const iMenuItem misfinItems[] = { | ^ ...... 539 | { "dropdown id:upload.id text:${upload.from}", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:536:41: warning: missing braces around initializer [-Wmissing-braces] 536 | const iMenuItem misfinItems[] = { | ^ ...... 539 | { "dropdown id:upload.id text:${upload.from}", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } 540 | { "padding" }, 541 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:536:41: warning: missing braces around initializer [-Wmissing-braces] 536 | const iMenuItem misfinItems[] = { | ^ ...... 539 | { "dropdown id:upload.id text:${upload.from}", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } 540 | { "padding" }, 541 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:544:46: warning: missing braces around initializer [-Wmissing-braces] 544 | const iMenuItem spartanFileItems[] = { | ^ ...... 551 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:544:46: warning: missing braces around initializer [-Wmissing-braces] 544 | const iMenuItem spartanFileItems[] = { | ^ ...... 551 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:554:42: warning: missing braces around initializer [-Wmissing-braces] 554 | const iMenuItem spartanItems[] = { | ^ ...... 557 | { "radio horizontal:1 id:upload.type collapse:1", 0, 0, (const void *) uploadTypeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:554:42: warning: missing braces around initializer [-Wmissing-braces] 554 | const iMenuItem spartanItems[] = { | ^ ...... 557 | { "radio horizontal:1 id:upload.type collapse:1", 0, 0, (const void *) uploadTypeItems }, | { } 558 | { "panel id:dlg.upload.text collapse:1 icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:554:42: warning: missing braces around initializer [-Wmissing-braces] 554 | const iMenuItem spartanItems[] = { | ^ ...... 557 | { "radio horizontal:1 id:upload.type collapse:1", 0, 0, (const void *) uploadTypeItems }, | { } 558 | { "panel id:dlg.upload.text collapse:1 icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 559 | { "panel id:dlg.upload.file collapse:1 icon:0x1f4c1", 0, 0, (const void *) spartanFileItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:554:42: warning: missing braces around initializer [-Wmissing-braces] 554 | const iMenuItem spartanItems[] = { | ^ ...... 557 | { "radio horizontal:1 id:upload.type collapse:1", 0, 0, (const void *) uploadTypeItems }, | { } 558 | { "panel id:dlg.upload.text collapse:1 icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 559 | { "panel id:dlg.upload.file collapse:1 icon:0x1f4c1", 0, 0, (const void *) spartanFileItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c: In function ‘updateFileInfo_UploadWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:1189:28: warning: missing braces around initializer [-Wmissing-braces] 1189 | (iMenuItem[]){ "${dlg.message.ok}", 0, 0, "message.ok" }, 1); | ^ | { { }} /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c: In function ‘createRequest_UploadWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:1264:32: warning: missing braces around initializer [-Wmissing-braces] 1264 | (iMenuItem[]){ "${dlg.message.ok}", 0, 0, "message.ok" }, 1); | ^ | { { }} /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c: In function ‘processEvent_UploadWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:1393:61: warning: missing braces around initializer [-Wmissing-braces] 1393 | openMenu_Widget(makeMenu_Widget(root_Widget(w), (iMenuItem[]){ | ^ 1394 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.upload.delete.confirm}", 0, 0, 1395 | "upload.text.delete confirmed:1" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:1393:61: warning: missing braces around initializer [-Wmissing-braces] 1393 | openMenu_Widget(makeMenu_Widget(root_Widget(w), (iMenuItem[]){ | ^ 1394 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.upload.delete.confirm}", 0, 0, 1395 | "upload.text.delete confirmed:1" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘deepCopyMenuItems_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:1127:32: warning: missing braces around initializer [-Wmissing-braces] 1127 | pushBack_Array(array, &(iMenuItem){ | ^ ...... 1131 | itemCommand ? iDupStr(itemCommand) : NULL /* NOTE: Only works with string commands. */ | { 1132 | }); | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘updateMenuItemFonts_Widget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:1281:17: warning: unused variable ‘isSlidePanel’ [-Wunused-variable] 1281 | const iBool isSlidePanel = (flags_Widget(d) & horizontalOffset_WidgetFlag) != 0; | ^~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:1280:17: warning: unused variable ‘isMobile’ [-Wunused-variable] 1280 | const iBool isMobile = (deviceType_App() != desktop_AppDeviceType); | ^~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:1279:17: warning: unused variable ‘isPortraitPhone’ [-Wunused-variable] 1279 | const iBool isPortraitPhone = (deviceType_App() == phone_AppDeviceType && isPortrait_App()); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘updateValueInputSizing_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:2418:17: warning: unused variable ‘title’ [-Wunused-variable] 2418 | iWidget * title = findChild_Widget(dlg, "valueinput.title"); | ^~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeValueInputWithAdditionalActions_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:2733:31: warning: missing braces around initializer [-Wmissing-braces] 2733 | pushBack_Array(&actions, &(iMenuItem){ "${cancel}", SDLK_ESCAPE, 0, "valueinput.cancel" }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:2738:21: warning: missing braces around initializer [-Wmissing-braces] 2738 | &(iMenuItem){ acceptLabel, | ^ ...... 2741 | "valueinput.accept" }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:2703:19: warning: unused variable ‘promptLabel’ [-Wunused-variable] 2703 | iLabelWidget *promptLabel = addWrappedLabel_Widget(dlg, prompt, "valueinput.prompt"); | ^~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeSimpleMessage_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:2823:31: warning: missing braces around initializer [-Wmissing-braces] 2823 | (iMenuItem[]){ { "${dlg.message.ok}", 0, 0, "message.ok" } }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:2823:31: warning: missing braces around initializer [-Wmissing-braces] 2823 | (iMenuItem[]){ { "${dlg.message.ok}", 0, 0, "message.ok" } }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeQuestion_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:2850:31: warning: missing braces around initializer [-Wmissing-braces] 2850 | &(iMenuItem){ format_CStr("button selected:%d text:%s", | ^ 2851 | first == '&' ? 1 : 0, item->label + 1), 2852 | 0, 0, item->command }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeFontItems_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3037:18: warning: missing braces around initializer [-Wmissing-braces] 3037 | &(iMenuItem){ cstr_String(&spec->name), | ^ ...... 3040 | format_CStr("!font.set %s:%s", id, cstr_String(&spec->id)) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3048:14: warning: missing braces around initializer [-Wmissing-braces] 3048 | &(iMenuItem){ cstr_String(&spec->name), | ^ ...... 3051 | format_CStr("!font.set %s:%s", id, cstr_String(&spec->id)) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makePreferences_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } [ 83%] Building C object CMakeFiles/app.dir/src/ui/visbuf.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/visbuf.c.o -MF CMakeFiles/app.dir/src/ui/visbuf.c.o.d -o CMakeFiles/app.dir/src/ui/visbuf.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/visbuf.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } [ 84%] Building C object CMakeFiles/app.dir/src/ui/window.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/window.c.o -MF CMakeFiles/app.dir/src/ui/window.c.o.d -o CMakeFiles/app.dir/src/ui/window.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3279 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3279 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3280 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3279 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3280 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3281 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3279 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3280 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3281 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3282 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/paint.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/visbuf.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3279 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3280 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3281 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3282 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3283 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3279 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3280 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3281 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3282 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3283 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3284 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3279 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3280 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3281 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3282 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3283 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3284 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } 3285 | { u8"Türkçe - tr", 0, 0, "uilang id:tr" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3279 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3280 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3281 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3282 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3283 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3284 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } 3285 | { u8"Türkçe - tr", 0, 0, "uilang id:tr" }, | { } 3286 | { u8"Українська - uk", 0, 0, "uilang id:uk" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3279 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3280 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3281 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3282 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3283 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3284 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } 3285 | { u8"Türkçe - tr", 0, 0, "uilang id:tr" }, | { } 3286 | { u8"Українська - uk", 0, 0, "uilang id:uk" }, | { } 3287 | { u8"简体中文 - zh", 0, 0, "uilang id:zh_Hans" }, | { } [ 86%] Building C object CMakeFiles/app.dir/src/ui/widget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/widget.c.o -MF CMakeFiles/app.dir/src/ui/widget.c.o.d -o CMakeFiles/app.dir/src/ui/widget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3279 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3280 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3281 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3282 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3283 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3284 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } 3285 | { u8"Türkçe - tr", 0, 0, "uilang id:tr" }, | { } 3286 | { u8"Українська - uk", 0, 0, "uilang id:uk" }, | { } 3287 | { u8"简体中文 - zh", 0, 0, "uilang id:zh_Hans" }, | { } 3288 | { u8"繁體/正體中文 - zh", 0, 0, "uilang id:zh_Hant" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3263:35: warning: missing braces around initializer [-Wmissing-braces] 3263 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3264 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3265 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3266 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3267 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3268 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3269 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3270 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3271 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3272 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3273 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3274 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3275 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3276 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3277 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3278 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3279 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3280 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3281 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3282 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3283 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3284 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } 3285 | { u8"Türkçe - tr", 0, 0, "uilang id:tr" }, | { } 3286 | { u8"Українська - uk", 0, 0, "uilang id:uk" }, | { } 3287 | { u8"简体中文 - zh", 0, 0, "uilang id:zh_Hans" }, | { } 3288 | { u8"繁體/正體中文 - zh", 0, 0, "uilang id:zh_Hant" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3290:43: warning: missing braces around initializer [-Wmissing-braces] 3290 | const iMenuItem feedIntervalItems[] = { | ^ 3291 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3290:43: warning: missing braces around initializer [-Wmissing-braces] 3290 | const iMenuItem feedIntervalItems[] = { | ^ 3291 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3292 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3290:43: warning: missing braces around initializer [-Wmissing-braces] 3290 | const iMenuItem feedIntervalItems[] = { | ^ 3291 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3292 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3293 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3290:43: warning: missing braces around initializer [-Wmissing-braces] 3290 | const iMenuItem feedIntervalItems[] = { | ^ 3291 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3292 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3293 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } 3294 | { formatCStrs_Lang("num.hours.n", 2), 0, 0, format_CStr("feedinterval.set arg:%d", twoHours_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3290:43: warning: missing braces around initializer [-Wmissing-braces] 3290 | const iMenuItem feedIntervalItems[] = { | ^ 3291 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3292 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3293 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } 3294 | { formatCStrs_Lang("num.hours.n", 2), 0, 0, format_CStr("feedinterval.set arg:%d", twoHours_FeedInterval) }, | { } 3295 | { formatCStrs_Lang("num.hours.n", 4), 0, 0, format_CStr("feedinterval.set arg:%d", fourHours_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3290:43: warning: missing braces around initializer [-Wmissing-braces] 3290 | const iMenuItem feedIntervalItems[] = { | ^ 3291 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3292 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3293 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } 3294 | { formatCStrs_Lang("num.hours.n", 2), 0, 0, format_CStr("feedinterval.set arg:%d", twoHours_FeedInterval) }, | { } 3295 | { formatCStrs_Lang("num.hours.n", 4), 0, 0, format_CStr("feedinterval.set arg:%d", fourHours_FeedInterval) }, | { } 3296 | { formatCStrs_Lang("num.hours.n", 8), 0, 0, format_CStr("feedinterval.set arg:%d", eightHours_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3290:43: warning: missing braces around initializer [-Wmissing-braces] 3290 | const iMenuItem feedIntervalItems[] = { | ^ 3291 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3292 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3293 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } 3294 | { formatCStrs_Lang("num.hours.n", 2), 0, 0, format_CStr("feedinterval.set arg:%d", twoHours_FeedInterval) }, | { } 3295 | { formatCStrs_Lang("num.hours.n", 4), 0, 0, format_CStr("feedinterval.set arg:%d", fourHours_FeedInterval) }, | { } 3296 | { formatCStrs_Lang("num.hours.n", 8), 0, 0, format_CStr("feedinterval.set arg:%d", eightHours_FeedInterval) }, | { } 3297 | { "${reload.onceperday}", 0, 0, format_CStr("feedinterval.set arg:%d", oneDay_FeedInterval) }, | { } [ 87%] Building C object CMakeFiles/app.dir/src/ui/inputwidget.c.o /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3290:43: warning: missing braces around initializer [-Wmissing-braces] 3290 | const iMenuItem feedIntervalItems[] = { | ^ 3291 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3292 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3293 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } 3294 | { formatCStrs_Lang("num.hours.n", 2), 0, 0, format_CStr("feedinterval.set arg:%d", twoHours_FeedInterval) }, | { } 3295 | { formatCStrs_Lang("num.hours.n", 4), 0, 0, format_CStr("feedinterval.set arg:%d", fourHours_FeedInterval) }, | { } 3296 | { formatCStrs_Lang("num.hours.n", 8), 0, 0, format_CStr("feedinterval.set arg:%d", eightHours_FeedInterval) }, | { } 3297 | { "${reload.onceperday}", 0, 0, format_CStr("feedinterval.set arg:%d", oneDay_FeedInterval) }, | { } /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/inputwidget.c.o -MF CMakeFiles/app.dir/src/ui/inputwidget.c.o.d -o CMakeFiles/app.dir/src/ui/inputwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3300:39: warning: missing braces around initializer [-Wmissing-braces] 3300 | const iMenuItem collapseItems[] = { | ^ 3301 | { "${collapse.never}", 0, 0, format_CStr("collapsepre.set arg:%d", never_Collapse) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3300:39: warning: missing braces around initializer [-Wmissing-braces] 3300 | const iMenuItem collapseItems[] = { | ^ 3301 | { "${collapse.never}", 0, 0, format_CStr("collapsepre.set arg:%d", never_Collapse) }, | { } 3302 | { "${collapse.notbydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", notByDefault_Collapse) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3300:39: warning: missing braces around initializer [-Wmissing-braces] 3300 | const iMenuItem collapseItems[] = { | ^ 3301 | { "${collapse.never}", 0, 0, format_CStr("collapsepre.set arg:%d", never_Collapse) }, | { } 3302 | { "${collapse.notbydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", notByDefault_Collapse) }, | { } 3303 | { "${collapse.bydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", byDefault_Collapse) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3300:39: warning: missing braces around initializer [-Wmissing-braces] 3300 | const iMenuItem collapseItems[] = { | ^ 3301 | { "${collapse.never}", 0, 0, format_CStr("collapsepre.set arg:%d", never_Collapse) }, | { } 3302 | { "${collapse.notbydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", notByDefault_Collapse) }, | { } 3303 | { "${collapse.bydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", byDefault_Collapse) }, | { } 3304 | { "${collapse.always}", 0, 0, format_CStr("collapsepre.set arg:%d", always_Collapse) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3300:39: warning: missing braces around initializer [-Wmissing-braces] 3300 | const iMenuItem collapseItems[] = { | ^ 3301 | { "${collapse.never}", 0, 0, format_CStr("collapsepre.set arg:%d", never_Collapse) }, | { } 3302 | { "${collapse.notbydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", notByDefault_Collapse) }, | { } 3303 | { "${collapse.bydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", byDefault_Collapse) }, | { } 3304 | { "${collapse.always}", 0, 0, format_CStr("collapsepre.set arg:%d", always_Collapse) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3307:48: warning: missing braces around initializer [-Wmissing-braces] 3307 | const iMenuItem returnKeyBehaviorItems[] = { | ^ ...... 3311 | format_CStr("returnkey.set arg:%d", default_ReturnKeyBehavior) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3313:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 3313 | { returnKeyBehaviorStr_(RETURN_KEY_BEHAVIOR(0, shift_ReturnKeyFlag)), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3316:47: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 3316 | format_CStr("returnkey.set arg:%d", RETURN_KEY_BEHAVIOR(0, shift_ReturnKeyFlag)) }, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3307:48: warning: missing braces around initializer [-Wmissing-braces] 3307 | const iMenuItem returnKeyBehaviorItems[] = { | ^ ...... 3311 | format_CStr("returnkey.set arg:%d", default_ReturnKeyBehavior) }, | { } ...... 3316 | format_CStr("returnkey.set arg:%d", RETURN_KEY_BEHAVIOR(0, shift_ReturnKeyFlag)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3307:48: warning: missing braces around initializer [-Wmissing-braces] 3307 | const iMenuItem returnKeyBehaviorItems[] = { | ^ ...... 3311 | format_CStr("returnkey.set arg:%d", default_ReturnKeyBehavior) }, | { } ...... 3316 | format_CStr("returnkey.set arg:%d", RETURN_KEY_BEHAVIOR(0, shift_ReturnKeyFlag)) }, | { } ...... 3320 | format_CStr("returnkey.set arg:%d", acceptWithPrimaryMod_ReturnKeyBehavior) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3307:48: warning: missing braces around initializer [-Wmissing-braces] 3307 | const iMenuItem returnKeyBehaviorItems[] = { | ^ ...... 3311 | format_CStr("returnkey.set arg:%d", default_ReturnKeyBehavior) }, | { } ...... 3316 | format_CStr("returnkey.set arg:%d", RETURN_KEY_BEHAVIOR(0, shift_ReturnKeyFlag)) }, | { } ...... 3320 | format_CStr("returnkey.set arg:%d", acceptWithPrimaryMod_ReturnKeyBehavior) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3348:58: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3349 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3348:58: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3349 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3350 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3348:58: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3349 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3350 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3351 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3348:58: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3349 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3350 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3351 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3352 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3348:58: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3349 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3350 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3351 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3352 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3353 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:31: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.c: In function ‘processEvent_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.c:1576:32: warning: unused variable ‘win’ [-Wunused-variable] 1576 | const iWindow *win = window_Widget(d); | ^~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3348:58: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3349 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3350 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3351 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3352 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3353 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } 3354 | { "${prefs.doctheme.name.white}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.c: In function ‘removeChild_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.c:2176:11: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 2176 | iBool found = iFalse; | ^~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3348:58: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3349 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3350 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3351 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3352 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3353 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } 3354 | { "${prefs.doctheme.name.white}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) }, | { } 3355 | { "${prefs.doctheme.name.sepia}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, sepia_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.c: In function ‘walkTree_AdjacentFocusFinder_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.c:2759:17: warning: unused variable ‘isMenu’ [-Wunused-variable] 2759 | const iBool isMenu = findParent_Widget(parent, "menu") != NULL; | ^~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3348:58: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3349 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3350 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3351 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3352 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3353 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } 3354 | { "${prefs.doctheme.name.white}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) }, | { } 3355 | { "${prefs.doctheme.name.sepia}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, sepia_GmDocumentTheme) }, | { } 3356 | { "${prefs.doctheme.name.oceanic}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, oceanic_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3348:58: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3349 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3350 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3351 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3352 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3353 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } 3354 | { "${prefs.doctheme.name.white}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) }, | { } 3355 | { "${prefs.doctheme.name.sepia}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, sepia_GmDocumentTheme) }, | { } 3356 | { "${prefs.doctheme.name.oceanic}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, oceanic_GmDocumentTheme) }, | { } 3357 | { "${prefs.doctheme.name.highcontrast}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, highContrast_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3348:58: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3349 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3350 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3351 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3352 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3353 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } 3354 | { "${prefs.doctheme.name.white}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) }, | { } 3355 | { "${prefs.doctheme.name.sepia}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, sepia_GmDocumentTheme) }, | { } 3356 | { "${prefs.doctheme.name.oceanic}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, oceanic_GmDocumentTheme) }, | { } 3357 | { "${prefs.doctheme.name.highcontrast}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, highContrast_GmDocumentTheme) }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:60: /builddir/build/BUILD/lagrange-1.18.3/src/stb_image.h: In function ‘stbi__load_gif_main’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.c:2697:14: warning: ‘isContained_Rangei’ defined but not used [-Wunused-function] 2697 | static iBool isContained_Rangei(iRangei large, iRangei small) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.c:202:12: warning: ‘treeSize_Widget_’ defined but not used [-Wunused-function] 202 | static int treeSize_Widget_(const iWidget *d, int n) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3362:52: warning: missing braces around initializer [-Wmissing-braces] 3362 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3366 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/stb_image.h:6779:11: warning: variable ‘delays_size’ set but not used [-Wunused-but-set-variable] 6779 | int delays_size = 0; | ^~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3362:52: warning: missing braces around initializer [-Wmissing-braces] 3362 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3366 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3367 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/stb_image.h:6778:11: warning: variable ‘out_size’ set but not used [-Wunused-but-set-variable] 6778 | int out_size = 0; | ^~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3362:52: warning: missing braces around initializer [-Wmissing-braces] 3362 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3366 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3367 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } 3368 | { circle_Icon " ${prefs.accent.red}", 0, 0, "accent.set arg:2" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3362:52: warning: missing braces around initializer [-Wmissing-braces] 3362 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3366 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3367 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } 3368 | { circle_Icon " ${prefs.accent.red}", 0, 0, "accent.set arg:2" }, | { } 3369 | { circle_Icon " ${prefs.accent.green}", 0, 0, "accent.set arg:3" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3362:52: warning: missing braces around initializer [-Wmissing-braces] 3362 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3366 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3367 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } 3368 | { circle_Icon " ${prefs.accent.red}", 0, 0, "accent.set arg:2" }, | { } 3369 | { circle_Icon " ${prefs.accent.green}", 0, 0, "accent.set arg:3" }, | { } 3370 | { circle_Icon " ${prefs.accent.blue}", 0, 0, "accent.set arg:4" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3362:52: warning: missing braces around initializer [-Wmissing-braces] 3362 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3366 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3367 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } 3368 | { circle_Icon " ${prefs.accent.red}", 0, 0, "accent.set arg:2" }, | { } 3369 | { circle_Icon " ${prefs.accent.green}", 0, 0, "accent.set arg:3" }, | { } 3370 | { circle_Icon " ${prefs.accent.blue}", 0, 0, "accent.set arg:4" }, | { } 3371 | { circle_Icon " ${prefs.accent.gray}", 0, 0, "accent.set arg:5" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3362:52: warning: missing braces around initializer [-Wmissing-braces] 3362 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3366 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3367 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } 3368 | { circle_Icon " ${prefs.accent.red}", 0, 0, "accent.set arg:2" }, | { } 3369 | { circle_Icon " ${prefs.accent.green}", 0, 0, "accent.set arg:3" }, | { } 3370 | { circle_Icon " ${prefs.accent.blue}", 0, 0, "accent.set arg:4" }, | { } 3371 | { circle_Icon " ${prefs.accent.gray}", 0, 0, "accent.set arg:5" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3373:39: warning: missing braces around initializer [-Wmissing-braces] 3373 | const iMenuItem imgStyleItems[] = { | ^ 3374 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3373:39: warning: missing braces around initializer [-Wmissing-braces] 3373 | const iMenuItem imgStyleItems[] = { | ^ 3374 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } 3375 | { "${prefs.imagestyle.grayscale}", 0, 0, format_CStr("imagestyle.set arg:%d", grayscale_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3373:39: warning: missing braces around initializer [-Wmissing-braces] 3373 | const iMenuItem imgStyleItems[] = { | ^ 3374 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } 3375 | { "${prefs.imagestyle.grayscale}", 0, 0, format_CStr("imagestyle.set arg:%d", grayscale_ImageStyle) }, | { } 3376 | { "${prefs.imagestyle.bgfg}", 0, 0, format_CStr("imagestyle.set arg:%d", bgFg_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3373:39: warning: missing braces around initializer [-Wmissing-braces] 3373 | const iMenuItem imgStyleItems[] = { | ^ 3374 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } 3375 | { "${prefs.imagestyle.grayscale}", 0, 0, format_CStr("imagestyle.set arg:%d", grayscale_ImageStyle) }, | { } 3376 | { "${prefs.imagestyle.bgfg}", 0, 0, format_CStr("imagestyle.set arg:%d", bgFg_ImageStyle) }, | { } 3377 | { "${prefs.imagestyle.text}", 0, 0, format_CStr("imagestyle.set arg:%d", textColorized_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3373:39: warning: missing braces around initializer [-Wmissing-braces] 3373 | const iMenuItem imgStyleItems[] = { | ^ 3374 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } 3375 | { "${prefs.imagestyle.grayscale}", 0, 0, format_CStr("imagestyle.set arg:%d", grayscale_ImageStyle) }, | { } 3376 | { "${prefs.imagestyle.bgfg}", 0, 0, format_CStr("imagestyle.set arg:%d", bgFg_ImageStyle) }, | { } 3377 | { "${prefs.imagestyle.text}", 0, 0, format_CStr("imagestyle.set arg:%d", textColorized_ImageStyle) }, | { } 3378 | { "${prefs.imagestyle.preformat}", 0, 0, format_CStr("imagestyle.set arg:%d", preformatColorized_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3373:39: warning: missing braces around initializer [-Wmissing-braces] 3373 | const iMenuItem imgStyleItems[] = { | ^ 3374 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } 3375 | { "${prefs.imagestyle.grayscale}", 0, 0, format_CStr("imagestyle.set arg:%d", grayscale_ImageStyle) }, | { } 3376 | { "${prefs.imagestyle.bgfg}", 0, 0, format_CStr("imagestyle.set arg:%d", bgFg_ImageStyle) }, | { } 3377 | { "${prefs.imagestyle.text}", 0, 0, format_CStr("imagestyle.set arg:%d", textColorized_ImageStyle) }, | { } 3378 | { "${prefs.imagestyle.preformat}", 0, 0, format_CStr("imagestyle.set arg:%d", preformatColorized_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c: In function ‘cursorToWindowCoord_InputWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:588:23: warning: unused variable ‘line’ [-Wunused-variable] 588 | const iInputLine *line = line_InputWidget_(d, pos.y); | ^~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3381:40: warning: missing braces around initializer [-Wmissing-braces] 3381 | const iMenuItem lineWidthItems[] = { | ^ 3382 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3381:40: warning: missing braces around initializer [-Wmissing-braces] 3381 | const iMenuItem lineWidthItems[] = { | ^ 3382 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3383 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c: In function ‘setCursor_InputWidget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:1536:11: warning: unused variable ‘ch’ [-Wunused-variable] 1536 | iChar ch = at_InputWidget_(d, pos); | ^~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3381:40: warning: missing braces around initializer [-Wmissing-braces] 3381 | const iMenuItem lineWidthItems[] = { | ^ 3382 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3383 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } 3384 | { "button id:prefs.linewidth.38 label:prefs.linewidth.normal", 0, 0, "linewidth.set arg:38" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c: In function ‘processTouchEvents_InputWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3381:40: warning: missing braces around initializer [-Wmissing-braces] 3381 | const iMenuItem lineWidthItems[] = { | ^ 3382 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3383 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } 3384 | { "button id:prefs.linewidth.38 label:prefs.linewidth.normal", 0, 0, "linewidth.set arg:38" }, | { } 3385 | { "button id:prefs.linewidth.43 text:+1", 0, 0, "linewidth.set arg:43" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:2221:22: warning: unused variable ‘tapElapsed’ [-Wunused-variable] 2221 | uint32_t tapElapsed = SDL_GetTicks() - d->tapStartTime; | ^~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3381:40: warning: missing braces around initializer [-Wmissing-braces] 3381 | const iMenuItem lineWidthItems[] = { | ^ 3382 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3383 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } 3384 | { "button id:prefs.linewidth.38 label:prefs.linewidth.normal", 0, 0, "linewidth.set arg:38" }, | { } 3385 | { "button id:prefs.linewidth.43 text:+1", 0, 0, "linewidth.set arg:43" }, | { } 3386 | { "button id:prefs.linewidth.48 text:+2", 0, 0, "linewidth.set arg:48" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c: In function ‘processEvent_InputWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3381:40: warning: missing braces around initializer [-Wmissing-braces] 3381 | const iMenuItem lineWidthItems[] = { | ^ 3382 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3383 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } 3384 | { "button id:prefs.linewidth.38 label:prefs.linewidth.normal", 0, 0, "linewidth.set arg:38" }, | { } 3385 | { "button id:prefs.linewidth.43 text:+1", 0, 0, "linewidth.set arg:43" }, | { } 3386 | { "button id:prefs.linewidth.48 text:+2", 0, 0, "linewidth.set arg:48" }, | { } 3387 | { "button id:prefs.linewidth.1000 label:prefs.linewidth.fill", 0, 0, "linewidth.set arg:1000" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:2616:17: warning: unused variable ‘lineLast’ [-Wunused-variable] 2616 | const iInt2 lineLast = init_I2(endX_InputWidget_(d, d->cursor.y), d->cursor.y); | ^~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:2615:17: warning: unused variable ‘lineFirst’ [-Wunused-variable] 2615 | const iInt2 lineFirst = init_I2(0, d->cursor.y); | ^~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3381:40: warning: missing braces around initializer [-Wmissing-braces] 3381 | const iMenuItem lineWidthItems[] = { | ^ 3382 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3383 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } 3384 | { "button id:prefs.linewidth.38 label:prefs.linewidth.normal", 0, 0, "linewidth.set arg:38" }, | { } 3385 | { "button id:prefs.linewidth.43 text:+1", 0, 0, "linewidth.set arg:43" }, | { } 3386 | { "button id:prefs.linewidth.48 text:+2", 0, 0, "linewidth.set arg:48" }, | { } 3387 | { "button id:prefs.linewidth.1000 label:prefs.linewidth.fill", 0, 0, "linewidth.set arg:1000" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3392:43: warning: missing braces around initializer [-Wmissing-braces] 3392 | const iMenuItem pinSplitItems[] = { | ^ 3393 | { "button id:prefs.pinsplit.0 label:prefs.pinsplit.none", 0, 0, "pinsplit.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3392:43: warning: missing braces around initializer [-Wmissing-braces] 3392 | const iMenuItem pinSplitItems[] = { | ^ 3393 | { "button id:prefs.pinsplit.0 label:prefs.pinsplit.none", 0, 0, "pinsplit.set arg:0" }, | { } 3394 | { "button id:prefs.pinsplit.1 label:prefs.pinsplit.left", 0, 0, "pinsplit.set arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3392:43: warning: missing braces around initializer [-Wmissing-braces] 3392 | const iMenuItem pinSplitItems[] = { | ^ 3393 | { "button id:prefs.pinsplit.0 label:prefs.pinsplit.none", 0, 0, "pinsplit.set arg:0" }, | { } 3394 | { "button id:prefs.pinsplit.1 label:prefs.pinsplit.left", 0, 0, "pinsplit.set arg:1" }, | { } 3395 | { "button id:prefs.pinsplit.2 label:prefs.pinsplit.right", 0, 0, "pinsplit.set arg:2" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3392:43: warning: missing braces around initializer [-Wmissing-braces] 3392 | const iMenuItem pinSplitItems[] = { | ^ 3393 | { "button id:prefs.pinsplit.0 label:prefs.pinsplit.none", 0, 0, "pinsplit.set arg:0" }, | { } 3394 | { "button id:prefs.pinsplit.1 label:prefs.pinsplit.left", 0, 0, "pinsplit.set arg:1" }, | { } 3395 | { "button id:prefs.pinsplit.2 label:prefs.pinsplit.right", 0, 0, "pinsplit.set arg:2" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3398:40: warning: missing braces around initializer [-Wmissing-braces] 3398 | const iMenuItem themeItems[] = { | ^ 3399 | { "button id:prefs.theme.0 label:prefs.theme.black", 0, 0, "theme.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:1893:14: warning: ‘isArrowUpDownConsumed_InputWidget_’ defined but not used [-Wunused-function] 1893 | static iBool isArrowUpDownConsumed_InputWidget_(const iInputWidget *d) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:1132:14: warning: ‘isNarrow_InputWidget_’ defined but not used [-Wunused-function] 1132 | static iBool isNarrow_InputWidget_(const iInputWidget *d) { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3398:40: warning: missing braces around initializer [-Wmissing-braces] 3398 | const iMenuItem themeItems[] = { | ^ 3399 | { "button id:prefs.theme.0 label:prefs.theme.black", 0, 0, "theme.set arg:0" }, | { } 3400 | { "button id:prefs.theme.1 label:prefs.theme.dark", 0, 0, "theme.set arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:690:15: warning: ‘length_InputWidget_’ defined but not used [-Wunused-function] 690 | static size_t length_InputWidget_(const iInputWidget *d) { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:526:17: warning: ‘rangeSize_String’ defined but not used [-Wunused-function] 526 | static iRangecc rangeSize_String(const iString *d, size_t size) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:68:21: warning: ‘refreshInterval_InputWidget_’ defined but not used [-Wunused-const-variable=] 68 | static const int refreshInterval_InputWidget_ = 512; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3398:40: warning: missing braces around initializer [-Wmissing-braces] 3398 | const iMenuItem themeItems[] = { | ^ 3399 | { "button id:prefs.theme.0 label:prefs.theme.black", 0, 0, "theme.set arg:0" }, | { } 3400 | { "button id:prefs.theme.1 label:prefs.theme.dark", 0, 0, "theme.set arg:1" }, | { } 3401 | { "button id:prefs.theme.2 label:prefs.theme.light", 0, 0, "theme.set arg:2" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3398:40: warning: missing braces around initializer [-Wmissing-braces] 3398 | const iMenuItem themeItems[] = { | ^ 3399 | { "button id:prefs.theme.0 label:prefs.theme.black", 0, 0, "theme.set arg:0" }, | { } 3400 | { "button id:prefs.theme.1 label:prefs.theme.dark", 0, 0, "theme.set arg:1" }, | { } 3401 | { "button id:prefs.theme.2 label:prefs.theme.light", 0, 0, "theme.set arg:2" }, | { } 3402 | { "button id:prefs.theme.3 label:prefs.theme.white", 0, 0, "theme.set arg:3" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3398:40: warning: missing braces around initializer [-Wmissing-braces] 3398 | const iMenuItem themeItems[] = { | ^ 3399 | { "button id:prefs.theme.0 label:prefs.theme.black", 0, 0, "theme.set arg:0" }, | { } 3400 | { "button id:prefs.theme.1 label:prefs.theme.dark", 0, 0, "theme.set arg:1" }, | { } 3401 | { "button id:prefs.theme.2 label:prefs.theme.light", 0, 0, "theme.set arg:2" }, | { } 3402 | { "button id:prefs.theme.3 label:prefs.theme.white", 0, 0, "theme.set arg:3" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3405:41: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem accentItems[] = { | ^ 3406 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3405:41: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem accentItems[] = { | ^ 3406 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3407 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3405:41: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem accentItems[] = { | ^ 3406 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3407 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } 3408 | { "button id:prefs.accent.2 label:prefs.accent.red", 0, 0, "accent.set arg:2" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3405:41: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem accentItems[] = { | ^ 3406 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3407 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } 3408 | { "button id:prefs.accent.2 label:prefs.accent.red", 0, 0, "accent.set arg:2" }, | { } 3409 | { "button id:prefs.accent.3 label:prefs.accent.green", 0, 0, "accent.set arg:3" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3405:41: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem accentItems[] = { | ^ 3406 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3407 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } 3408 | { "button id:prefs.accent.2 label:prefs.accent.red", 0, 0, "accent.set arg:2" }, | { } 3409 | { "button id:prefs.accent.3 label:prefs.accent.green", 0, 0, "accent.set arg:3" }, | { } 3410 | { "button id:prefs.accent.4 label:prefs.accent.blue", 0, 0, "accent.set arg:4" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3405:41: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem accentItems[] = { | ^ 3406 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3407 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } 3408 | { "button id:prefs.accent.2 label:prefs.accent.red", 0, 0, "accent.set arg:2" }, | { } 3409 | { "button id:prefs.accent.3 label:prefs.accent.green", 0, 0, "accent.set arg:3" }, | { } 3410 | { "button id:prefs.accent.4 label:prefs.accent.blue", 0, 0, "accent.set arg:4" }, | { } 3411 | { "button id:prefs.accent.5 label:prefs.accent.gray", 0, 0, "accent.set arg:5" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3405:41: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem accentItems[] = { | ^ 3406 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3407 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } 3408 | { "button id:prefs.accent.2 label:prefs.accent.red", 0, 0, "accent.set arg:2" }, | { } 3409 | { "button id:prefs.accent.3 label:prefs.accent.green", 0, 0, "accent.set arg:3" }, | { } 3410 | { "button id:prefs.accent.4 label:prefs.accent.blue", 0, 0, "accent.set arg:4" }, | { } 3411 | { "button id:prefs.accent.5 label:prefs.accent.gray", 0, 0, "accent.set arg:5" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3414:38: warning: missing braces around initializer [-Wmissing-braces] 3414 | const iMenuItem satItems[] = { | ^ 3415 | { "button id:prefs.saturation.3 text:100 %", 0, 0, "saturation.set arg:100" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3414:38: warning: missing braces around initializer [-Wmissing-braces] 3414 | const iMenuItem satItems[] = { | ^ 3415 | { "button id:prefs.saturation.3 text:100 %", 0, 0, "saturation.set arg:100" }, | { } 3416 | { "button id:prefs.saturation.2 text:66 %", 0, 0, "saturation.set arg:66" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3414:38: warning: missing braces around initializer [-Wmissing-braces] 3414 | const iMenuItem satItems[] = { | ^ 3415 | { "button id:prefs.saturation.3 text:100 %", 0, 0, "saturation.set arg:100" }, | { } 3416 | { "button id:prefs.saturation.2 text:66 %", 0, 0, "saturation.set arg:66" }, | { } 3417 | { "button id:prefs.saturation.1 text:33 %", 0, 0, "saturation.set arg:33" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3414:38: warning: missing braces around initializer [-Wmissing-braces] 3414 | const iMenuItem satItems[] = { | ^ 3415 | { "button id:prefs.saturation.3 text:100 %", 0, 0, "saturation.set arg:100" }, | { } 3416 | { "button id:prefs.saturation.2 text:66 %", 0, 0, "saturation.set arg:66" }, | { } 3417 | { "button id:prefs.saturation.1 text:33 %", 0, 0, "saturation.set arg:33" }, | { } 3418 | { "button id:prefs.saturation.0 text:0 %", 0, 0, "saturation.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3414:38: warning: missing braces around initializer [-Wmissing-braces] 3414 | const iMenuItem satItems[] = { | ^ 3415 | { "button id:prefs.saturation.3 text:100 %", 0, 0, "saturation.set arg:100" }, | { } 3416 | { "button id:prefs.saturation.2 text:66 %", 0, 0, "saturation.set arg:66" }, | { } 3417 | { "button id:prefs.saturation.1 text:33 %", 0, 0, "saturation.set arg:33" }, | { } 3418 | { "button id:prefs.saturation.0 text:0 %", 0, 0, "saturation.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3432:40: warning: missing braces around initializer [-Wmissing-braces] 3432 | const iMenuItem quoteItems[] = { | ^ 3433 | { "button id:prefs.quoteicon.1 label:prefs.quoteicon.icon", 0, 0, "quoteicon.set arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3432:40: warning: missing braces around initializer [-Wmissing-braces] 3432 | const iMenuItem quoteItems[] = { | ^ 3433 | { "button id:prefs.quoteicon.1 label:prefs.quoteicon.icon", 0, 0, "quoteicon.set arg:1" }, | { } 3434 | { "button id:prefs.quoteicon.0 label:prefs.quoteicon.line", 0, 0, "quoteicon.set arg:0" }, | { } [ 89%] Building C object CMakeFiles/app.dir/src/ui/labelwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/labelwidget.c.o -MF CMakeFiles/app.dir/src/ui/labelwidget.c.o.d -o CMakeFiles/app.dir/src/ui/labelwidget.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/labelwidget.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3432:40: warning: missing braces around initializer [-Wmissing-braces] 3432 | const iMenuItem quoteItems[] = { | ^ 3433 | { "button id:prefs.quoteicon.1 label:prefs.quoteicon.icon", 0, 0, "quoteicon.set arg:1" }, | { } 3434 | { "button id:prefs.quoteicon.0 label:prefs.quoteicon.line", 0, 0, "quoteicon.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3437:47: warning: missing braces around initializer [-Wmissing-braces] 3437 | const iMenuItem generalPanelItems[] = { | ^ ...... 3446 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3437:47: warning: missing braces around initializer [-Wmissing-braces] 3437 | const iMenuItem generalPanelItems[] = { | ^ ...... 3446 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3437:47: warning: missing braces around initializer [-Wmissing-braces] 3437 | const iMenuItem generalPanelItems[] = { | ^ ...... 3446 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3437:47: warning: missing braces around initializer [-Wmissing-braces] 3437 | const iMenuItem generalPanelItems[] = { | ^ ...... 3446 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3437:47: warning: missing braces around initializer [-Wmissing-braces] 3437 | const iMenuItem generalPanelItems[] = { | ^ ...... 3446 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } 3449 | { "padding" }, 3450 | { "dropdown id:prefs.uilang", 0, 0, (const void *) langItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3437:47: warning: missing braces around initializer [-Wmissing-braces] 3437 | const iMenuItem generalPanelItems[] = { | ^ ...... 3446 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } 3449 | { "padding" }, 3450 | { "dropdown id:prefs.uilang", 0, 0, (const void *) langItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3437:47: warning: missing braces around initializer [-Wmissing-braces] 3437 | const iMenuItem generalPanelItems[] = { | ^ ...... 3446 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } 3449 | { "padding" }, 3450 | { "dropdown id:prefs.uilang", 0, 0, (const void *) langItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3437:47: warning: missing braces around initializer [-Wmissing-braces] 3437 | const iMenuItem generalPanelItems[] = { | ^ ...... 3446 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } 3449 | { "padding" }, 3450 | { "dropdown id:prefs.uilang", 0, 0, (const void *) langItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } [ 90%] Building C object CMakeFiles/app.dir/src/updater.c.o /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/updater.c.o -MF CMakeFiles/app.dir/src/updater.c.o.d -o CMakeFiles/app.dir/src/updater.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/updater.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/labelwidget.h:27, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/labelwidget.c:23: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3466 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3466 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } 3467 | { "dropdown device:2 id:prefs.toolbaraction2", 0, 0, (const void *) toolbarActionItems[1] }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3466 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } 3467 | { "dropdown device:2 id:prefs.toolbaraction2", 0, 0, (const void *) toolbarActionItems[1] }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3466 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } 3467 | { "dropdown device:2 id:prefs.toolbaraction2", 0, 0, (const void *) toolbarActionItems[1] }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3466 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } 3467 | { "dropdown device:2 id:prefs.toolbaraction2", 0, 0, (const void *) toolbarActionItems[1] }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3455:42: warning: missing braces around initializer [-Wmissing-braces] 3455 | const iMenuItem uiPanelItems[] = { | ^ ...... 3458 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3466 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } 3467 | { "dropdown device:2 id:prefs.toolbaraction2", 0, 0, (const void *) toolbarActionItems[1] }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3473:45: warning: missing braces around initializer [-Wmissing-braces] 3473 | const iMenuItem colorPanelItems[] = { | ^ ...... 3479 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } [ 92%] Building C object CMakeFiles/app.dir/src/ipc.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ipc.c.o -MF CMakeFiles/app.dir/src/ipc.c.o.d -o CMakeFiles/app.dir/src/ipc.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ipc.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3473:45: warning: missing braces around initializer [-Wmissing-braces] 3473 | const iMenuItem colorPanelItems[] = { | ^ ...... 3479 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3480 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3473:45: warning: missing braces around initializer [-Wmissing-braces] 3473 | const iMenuItem colorPanelItems[] = { | ^ ...... 3479 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3480 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3473:45: warning: missing braces around initializer [-Wmissing-braces] 3473 | const iMenuItem colorPanelItems[] = { | ^ ...... 3479 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3480 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3481 | { "heading id:heading.prefs.pagecontent" }, 3482 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3473:45: warning: missing braces around initializer [-Wmissing-braces] 3473 | const iMenuItem colorPanelItems[] = { | ^ ...... 3479 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3480 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3481 | { "heading id:heading.prefs.pagecontent" }, 3482 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3483 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3473:45: warning: missing braces around initializer [-Wmissing-braces] 3473 | const iMenuItem colorPanelItems[] = { | ^ ...... 3479 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3480 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3481 | { "heading id:heading.prefs.pagecontent" }, 3482 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3483 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } 3484 | { "radio horizontal:1 id:prefs.saturation", 0, 0, (const void *) satItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3473:45: warning: missing braces around initializer [-Wmissing-braces] 3473 | const iMenuItem colorPanelItems[] = { | ^ ...... 3479 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3480 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3481 | { "heading id:heading.prefs.pagecontent" }, 3482 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3483 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } 3484 | { "radio horizontal:1 id:prefs.saturation", 0, 0, (const void *) satItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3473:45: warning: missing braces around initializer [-Wmissing-braces] 3473 | const iMenuItem colorPanelItems[] = { | ^ ...... 3479 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3480 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3481 | { "heading id:heading.prefs.pagecontent" }, 3482 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3483 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } 3484 | { "radio horizontal:1 id:prefs.saturation", 0, 0, (const void *) satItems }, | { } 3485 | { "padding" }, 3486 | { "dropdown id:prefs.imagestyle", 0, 0, (const void *) imgStyleItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3473:45: warning: missing braces around initializer [-Wmissing-braces] 3473 | const iMenuItem colorPanelItems[] = { | ^ ...... 3479 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3480 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3481 | { "heading id:heading.prefs.pagecontent" }, 3482 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3483 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } 3484 | { "radio horizontal:1 id:prefs.saturation", 0, 0, (const void *) satItems }, | { } 3485 | { "padding" }, 3486 | { "dropdown id:prefs.imagestyle", 0, 0, (const void *) imgStyleItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3473:45: warning: missing braces around initializer [-Wmissing-braces] 3473 | const iMenuItem colorPanelItems[] = { | ^ ...... 3479 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3480 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3481 | { "heading id:heading.prefs.pagecontent" }, 3482 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3483 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } 3484 | { "radio horizontal:1 id:prefs.saturation", 0, 0, (const void *) satItems }, | { } 3485 | { "padding" }, 3486 | { "dropdown id:prefs.imagestyle", 0, 0, (const void *) imgStyleItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.18.3/src/app.h:31, from /builddir/build/BUILD/lagrange-1.18.3/src/ipc.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/labelwidget.c: In function ‘draw_LabelWidget_’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/labelwidget.c:483:17: warning: unused variable ‘isCaution’ [-Wunused-variable] 483 | const iBool isCaution = (colorEscape == uiTextCaution_ColorId); | ^~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3497 | { "padding" }, 3498 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3497 | { "padding" }, 3498 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3497 | { "padding" }, 3498 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3497 | { "padding" }, 3498 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3497 | { "padding" }, 3498 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3497 | { "padding" }, 3498 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3497 | { "padding" }, 3498 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3497 | { "padding" }, 3498 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3497 | { "padding" }, 3498 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } ...... 3508 | { "button text:" fontpack_Icon " " uiTextAction_ColorEscape "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3497 | { "padding" }, 3498 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } ...... 3508 | { "button text:" fontpack_Icon " " uiTextAction_ColorEscape "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3490:44: warning: missing braces around initializer [-Wmissing-braces] 3490 | const iMenuItem fontPanelItems[] = { | ^ ...... 3493 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3494 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3495 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3496 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3497 | { "padding" }, 3498 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } ...... 3508 | { "button text:" fontpack_Icon " " uiTextAction_ColorEscape "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3523 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3523 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3524 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3523 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3524 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3523 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3524 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3523 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3524 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3523 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3524 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } ...... 3528 | { "dropdown id:prefs.collapsepre", 0, 0, (const void *) collapseItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3523 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3524 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } ...... 3528 | { "dropdown id:prefs.collapsepre", 0, 0, (const void *) collapseItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3512:45: warning: missing braces around initializer [-Wmissing-braces] 3512 | const iMenuItem stylePanelItems[] = { | ^ 3513 | { "title id:heading.prefs.style" }, 3514 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3523 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3524 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } ...... 3528 | { "dropdown id:prefs.collapsepre", 0, 0, (const void *) collapseItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3552:48: warning: missing braces around initializer [-Wmissing-braces] 3552 | const iMenuItem identityPanelItems[] = { | ^ ...... 3555 | { "navi.action id:prefs.ident.import text:" import_Icon, 0, 0, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3552:48: warning: missing braces around initializer [-Wmissing-braces] 3552 | const iMenuItem identityPanelItems[] = { | ^ ...... 3555 | { "navi.action id:prefs.ident.import text:" import_Icon, 0, 0, "ident.import" }, | { } 3556 | { "navi.action id:prefs.ident.new text:" add_Icon, 0, 0, "ident.new" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3552:48: warning: missing braces around initializer [-Wmissing-braces] 3552 | const iMenuItem identityPanelItems[] = { | ^ ...... 3555 | { "navi.action id:prefs.ident.import text:" import_Icon, 0, 0, "ident.import" }, | { } 3556 | { "navi.action id:prefs.ident.new text:" add_Icon, 0, 0, "ident.new" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3570:47: warning: missing braces around initializer [-Wmissing-braces] 3570 | const iMenuItem snippetPanelItems[] = { | ^ ...... 3573 | { "navi.action id:sniped.new text:" add_Icon, 0, 0, "sniped.new" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3570:47: warning: missing braces around initializer [-Wmissing-braces] 3570 | const iMenuItem snippetPanelItems[] = { | ^ ...... 3573 | { "navi.action id:sniped.new text:" add_Icon, 0, 0, "sniped.new" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3576:44: warning: missing braces around initializer [-Wmissing-braces] 3576 | const iMenuItem userPanelItems[] = { | ^ ...... 3579 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3576:44: warning: missing braces around initializer [-Wmissing-braces] 3576 | const iMenuItem userPanelItems[] = { | ^ ...... 3579 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3580 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3576:44: warning: missing braces around initializer [-Wmissing-braces] 3576 | const iMenuItem userPanelItems[] = { | ^ ...... 3579 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3580 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 89 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 89 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 89 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 90 | { "---" }, 91 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 89 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 90 | { "---" }, 91 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 89 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 90 | { "---" }, 91 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 92 | { "---" }, 93 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 89 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 90 | { "---" }, 91 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 92 | { "---" }, 93 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 89 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 90 | { "---" }, 91 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 92 | { "---" }, 93 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } ...... 96 | { "${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 89 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 90 | { "---" }, 91 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 92 | { "---" }, 93 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } ...... 96 | { "${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } 97 | #if !defined (iPlatformTerminal) 98 | { "${menu.fonts}", 0, 0, "open newtab:1 switch:1 url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 89 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 90 | { "---" }, 91 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 92 | { "---" }, 93 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } ...... 96 | { "${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } 97 | #if !defined (iPlatformTerminal) 98 | { "${menu.fonts}", 0, 0, "open newtab:1 switch:1 url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 89 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 90 | { "---" }, 91 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 92 | { "---" }, 93 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } ...... 96 | { "${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } 97 | #if !defined (iPlatformTerminal) 98 | { "${menu.fonts}", 0, 0, "open newtab:1 switch:1 url:about:fonts" }, | { } ...... 104 | { "${menu.quit}", 'q', KMOD_PRIMARY, "quit" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:80:43: warning: missing braces around initializer [-Wmissing-braces] 80 | static const iMenuItem fileMenuItems_[] = { | ^ 81 | #if defined (LAGRANGE_MULTIPLE_WINDOWS) 82 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 83 | #endif 84 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 85 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 86 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 87 | { "---" }, 88 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 89 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 90 | { "---" }, 91 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 92 | { "---" }, 93 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } ...... 96 | { "${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } 97 | #if !defined (iPlatformTerminal) 98 | { "${menu.fonts}", 0, 0, "open newtab:1 switch:1 url:about:fonts" }, | { } ...... 104 | { "${menu.quit}", 'q', KMOD_PRIMARY, "quit" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:109:43: warning: missing braces around initializer [-Wmissing-braces] 109 | static const iMenuItem editMenuItems_[] = { | ^ 110 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:109:43: warning: missing braces around initializer [-Wmissing-braces] 109 | static const iMenuItem editMenuItems_[] = { | ^ 110 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 111 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:109:43: warning: missing braces around initializer [-Wmissing-braces] 109 | static const iMenuItem editMenuItems_[] = { | ^ 110 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 111 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 112 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:109:43: warning: missing braces around initializer [-Wmissing-braces] 109 | static const iMenuItem editMenuItems_[] = { | ^ 110 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 111 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 112 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:109:43: warning: missing braces around initializer [-Wmissing-braces] 109 | static const iMenuItem editMenuItems_[] = { | ^ 110 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 111 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 112 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } 113 | { "---" }, 114 | { "${menu.copy.pagelink}", SDLK_c, KMOD_PRIMARY | KMOD_SHIFT, "document.copylink" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:109:43: warning: missing braces around initializer [-Wmissing-braces] 109 | static const iMenuItem editMenuItems_[] = { | ^ 110 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 111 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 112 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } 113 | { "---" }, 114 | { "${menu.copy.pagelink}", SDLK_c, KMOD_PRIMARY | KMOD_SHIFT, "document.copylink" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:109:43: warning: missing braces around initializer [-Wmissing-braces] 109 | static const iMenuItem editMenuItems_[] = { | ^ 110 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 111 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 112 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } 113 | { "---" }, 114 | { "${menu.copy.pagelink}", SDLK_c, KMOD_PRIMARY | KMOD_SHIFT, "document.copylink" }, | { } 115 | { "---" }, 116 | { "${macos.menu.find}", SDLK_f, KMOD_PRIMARY, "focus.set id:find.input" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:109:43: warning: missing braces around initializer [-Wmissing-braces] 109 | static const iMenuItem editMenuItems_[] = { | ^ 110 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 111 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 112 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } 113 | { "---" }, 114 | { "${menu.copy.pagelink}", SDLK_c, KMOD_PRIMARY | KMOD_SHIFT, "document.copylink" }, | { } 115 | { "---" }, 116 | { "${macos.menu.find}", SDLK_f, KMOD_PRIMARY, "focus.set id:find.input" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3576:44: warning: missing braces around initializer [-Wmissing-braces] 3576 | const iMenuItem userPanelItems[] = { | ^ ...... 3579 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3580 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3581 | { "padding" }, 3582 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 131 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 131 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 132 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 131 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 132 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 133 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 131 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 132 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 133 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 134 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 131 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 132 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 133 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 134 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 131 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 132 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 133 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 134 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 135 | { "---" }, 136 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 131 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 132 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 133 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 134 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 135 | { "---" }, 136 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 137 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 131 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 132 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 133 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 134 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 135 | { "---" }, 136 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 137 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 138 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 131 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 132 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 133 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 134 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 135 | { "---" }, 136 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 137 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 138 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 131 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 132 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 133 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 134 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 135 | { "---" }, 136 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 137 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 138 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 139 | { "---" }, 140 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3576:44: warning: missing braces around initializer [-Wmissing-braces] 3576 | const iMenuItem userPanelItems[] = { | ^ ...... 3579 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3580 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3581 | { "padding" }, 3582 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3583 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:120:43: warning: missing braces around initializer [-Wmissing-braces] 120 | static const iMenuItem viewMenuItems_[] = { | ^ 121 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 122 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 123 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 124 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 125 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 126 | { "---" }, 127 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 128 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 129 | { "---" }, 130 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 131 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 132 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 133 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 134 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 135 | { "---" }, 136 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 137 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 138 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 139 | { "---" }, 140 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:144:42: warning: missing braces around initializer [-Wmissing-braces] 144 | static iMenuItem bookmarksMenuItems_[] = { | ^ 145 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:144:42: warning: missing braces around initializer [-Wmissing-braces] 144 | static iMenuItem bookmarksMenuItems_[] = { | ^ 145 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 146 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:144:42: warning: missing braces around initializer [-Wmissing-braces] 144 | static iMenuItem bookmarksMenuItems_[] = { | ^ 145 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 146 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 147 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:144:42: warning: missing braces around initializer [-Wmissing-braces] 144 | static iMenuItem bookmarksMenuItems_[] = { | ^ 145 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 146 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 147 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:144:42: warning: missing braces around initializer [-Wmissing-braces] 144 | static iMenuItem bookmarksMenuItems_[] = { | ^ 145 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 146 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 147 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 148 | { "---" }, 149 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:144:42: warning: missing braces around initializer [-Wmissing-braces] 144 | static iMenuItem bookmarksMenuItems_[] = { | ^ 145 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 146 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 147 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 148 | { "---" }, 149 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } 150 | { "${menu.sort.alpha}", 0, 0, "bookmarks.sort" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:144:42: warning: missing braces around initializer [-Wmissing-braces] 144 | static iMenuItem bookmarksMenuItems_[] = { | ^ 145 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 146 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 147 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 148 | { "---" }, 149 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } 150 | { "${menu.sort.alpha}", 0, 0, "bookmarks.sort" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:144:42: warning: missing braces around initializer [-Wmissing-braces] 144 | static iMenuItem bookmarksMenuItems_[] = { | ^ 145 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 146 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 147 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 148 | { "---" }, 149 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } 150 | { "${menu.sort.alpha}", 0, 0, "bookmarks.sort" }, | { } 151 | { "---" }, 152 | { "${menu.bookmarks.refresh}", 0, 0, "bookmarks.reload.remote" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:144:42: warning: missing braces around initializer [-Wmissing-braces] 144 | static iMenuItem bookmarksMenuItems_[] = { | ^ 145 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 146 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 147 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 148 | { "---" }, 149 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } 150 | { "${menu.sort.alpha}", 0, 0, "bookmarks.sort" }, | { } 151 | { "---" }, 152 | { "${menu.bookmarks.refresh}", 0, 0, "bookmarks.reload.remote" }, | { } 153 | { "${menu.feeds.refresh}", refreshFeeds_KeyShortcut, "feeds.refresh" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:144:42: warning: missing braces around initializer [-Wmissing-braces] 144 | static iMenuItem bookmarksMenuItems_[] = { | ^ 145 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 146 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 147 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 148 | { "---" }, 149 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } 150 | { "${menu.sort.alpha}", 0, 0, "bookmarks.sort" }, | { } 151 | { "---" }, 152 | { "${menu.bookmarks.refresh}", 0, 0, "bookmarks.reload.remote" }, | { } 153 | { "${menu.feeds.refresh}", refreshFeeds_KeyShortcut, "feeds.refresh" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:157:47: warning: missing braces around initializer [-Wmissing-braces] 157 | static const iMenuItem identityMenuItems_[] = { | ^ 158 | { "${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:157:47: warning: missing braces around initializer [-Wmissing-braces] 157 | static const iMenuItem identityMenuItems_[] = { | ^ 158 | { "${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } 159 | { "${menu.identity.newdomain}", 0, 0, "ident.new scope:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:157:47: warning: missing braces around initializer [-Wmissing-braces] 157 | static const iMenuItem identityMenuItems_[] = { | ^ 158 | { "${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } 159 | { "${menu.identity.newdomain}", 0, 0, "ident.new scope:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:157:47: warning: missing braces around initializer [-Wmissing-braces] 157 | static const iMenuItem identityMenuItems_[] = { | ^ 158 | { "${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } 159 | { "${menu.identity.newdomain}", 0, 0, "ident.new scope:1" }, | { } 160 | { "---" }, 161 | { "${menu.identity.import}", SDLK_m, KMOD_SECONDARY, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:157:47: warning: missing braces around initializer [-Wmissing-braces] 157 | static const iMenuItem identityMenuItems_[] = { | ^ 158 | { "${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } 159 | { "${menu.identity.newdomain}", 0, 0, "ident.new scope:1" }, | { } 160 | { "---" }, 161 | { "${menu.identity.import}", SDLK_m, KMOD_SECONDARY, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:165:45: warning: missing braces around initializer [-Wmissing-braces] 165 | static const iMenuItem windowMenuItems_[] = { | ^ 166 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:165:45: warning: missing braces around initializer [-Wmissing-braces] 165 | static const iMenuItem windowMenuItems_[] = { | ^ 166 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 167 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:165:45: warning: missing braces around initializer [-Wmissing-braces] 165 | static const iMenuItem windowMenuItems_[] = { | ^ 166 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 167 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 168 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:165:45: warning: missing braces around initializer [-Wmissing-braces] 165 | static const iMenuItem windowMenuItems_[] = { | ^ 166 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 167 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 168 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:165:45: warning: missing braces around initializer [-Wmissing-braces] 165 | static const iMenuItem windowMenuItems_[] = { | ^ 166 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 167 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 168 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } ...... 171 | { "${menu.window.min}", 0, 0, "window.minimize" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:165:45: warning: missing braces around initializer [-Wmissing-braces] 165 | static const iMenuItem windowMenuItems_[] = { | ^ 166 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 167 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 168 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } ...... 171 | { "${menu.window.min}", 0, 0, "window.minimize" }, | { } 172 | { "${menu.window.max}", 0, 0, "window.maximize" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:165:45: warning: missing braces around initializer [-Wmissing-braces] 165 | static const iMenuItem windowMenuItems_[] = { | ^ 166 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 167 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 168 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } ...... 171 | { "${menu.window.min}", 0, 0, "window.minimize" }, | { } 172 | { "${menu.window.max}", 0, 0, "window.maximize" }, | { } 173 | { "${menu.window.full}", 0, 0, "window.fullscreen" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:165:45: warning: missing braces around initializer [-Wmissing-braces] 165 | static const iMenuItem windowMenuItems_[] = { | ^ 166 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 167 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 168 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } ...... 171 | { "${menu.window.min}", 0, 0, "window.minimize" }, | { } 172 | { "${menu.window.max}", 0, 0, "window.maximize" }, | { } 173 | { "${menu.window.full}", 0, 0, "window.fullscreen" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:165:45: warning: missing braces around initializer [-Wmissing-braces] 165 | static const iMenuItem windowMenuItems_[] = { | ^ 166 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 167 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 168 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } ...... 171 | { "${menu.window.min}", 0, 0, "window.minimize" }, | { } 172 | { "${menu.window.max}", 0, 0, "window.maximize" }, | { } 173 | { "${menu.window.full}", 0, 0, "window.fullscreen" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:179:43: warning: missing braces around initializer [-Wmissing-braces] 179 | static const iMenuItem helpMenuItems_[] = { | ^ 180 | #if defined (LAGRANGE_PC_MENUS) 181 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:179:43: warning: missing braces around initializer [-Wmissing-braces] 179 | static const iMenuItem helpMenuItems_[] = { | ^ 180 | #if defined (LAGRANGE_PC_MENUS) 181 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 185 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:179:43: warning: missing braces around initializer [-Wmissing-braces] 179 | static const iMenuItem helpMenuItems_[] = { | ^ 180 | #if defined (LAGRANGE_PC_MENUS) 181 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 185 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:179:43: warning: missing braces around initializer [-Wmissing-braces] 179 | static const iMenuItem helpMenuItems_[] = { | ^ 180 | #if defined (LAGRANGE_PC_MENUS) 181 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 185 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } 186 | { "---" }, 187 | { "${menu.aboutpages}", 0, 0, "!open newtab:1 switch:1 url:about:about" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:179:43: warning: missing braces around initializer [-Wmissing-braces] 179 | static const iMenuItem helpMenuItems_[] = { | ^ 180 | #if defined (LAGRANGE_PC_MENUS) 181 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 185 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } 186 | { "---" }, 187 | { "${menu.aboutpages}", 0, 0, "!open newtab:1 switch:1 url:about:about" }, | { } 188 | { "${menu.debug}", 0, 0, "!open newtab:1 switch:1 url:about:debug" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3576:44: warning: missing braces around initializer [-Wmissing-braces] 3576 | const iMenuItem userPanelItems[] = { | ^ ...... 3579 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3580 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3581 | { "padding" }, 3582 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3583 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3584 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:179:43: warning: missing braces around initializer [-Wmissing-braces] 179 | static const iMenuItem helpMenuItems_[] = { | ^ 180 | #if defined (LAGRANGE_PC_MENUS) 181 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 185 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } 186 | { "---" }, 187 | { "${menu.aboutpages}", 0, 0, "!open newtab:1 switch:1 url:about:about" }, | { } 188 | { "${menu.debug}", 0, 0, "!open newtab:1 switch:1 url:about:debug" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:179:43: warning: missing braces around initializer [-Wmissing-braces] 179 | static const iMenuItem helpMenuItems_[] = { | ^ 180 | #if defined (LAGRANGE_PC_MENUS) 181 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 185 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } 186 | { "---" }, 187 | { "${menu.aboutpages}", 0, 0, "!open newtab:1 switch:1 url:about:about" }, | { } 188 | { "${menu.debug}", 0, 0, "!open newtab:1 switch:1 url:about:debug" }, | { } ...... 191 | { "${menu.aboutapp}", 0, 0, "!open newtab:1 switch:1 url:about:lagrange" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:179:43: warning: missing braces around initializer [-Wmissing-braces] 179 | static const iMenuItem helpMenuItems_[] = { | ^ 180 | #if defined (LAGRANGE_PC_MENUS) 181 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 185 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } 186 | { "---" }, 187 | { "${menu.aboutpages}", 0, 0, "!open newtab:1 switch:1 url:about:about" }, | { } 188 | { "${menu.debug}", 0, 0, "!open newtab:1 switch:1 url:about:debug" }, | { } ...... 191 | { "${menu.aboutapp}", 0, 0, "!open newtab:1 switch:1 url:about:lagrange" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:196:43: warning: missing braces around initializer [-Wmissing-braces] 196 | const iMenuItem topLevelMenus_Window[7] = { | ^ 197 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:196:43: warning: missing braces around initializer [-Wmissing-braces] 196 | const iMenuItem topLevelMenus_Window[7] = { | ^ 197 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 198 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:196:43: warning: missing braces around initializer [-Wmissing-braces] 196 | const iMenuItem topLevelMenus_Window[7] = { | ^ 197 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 198 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 199 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:196:43: warning: missing braces around initializer [-Wmissing-braces] 196 | const iMenuItem topLevelMenus_Window[7] = { | ^ 197 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 198 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 199 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } 200 | { "${menu.title.bookmarks}", 0, 0, (const void *) bookmarksMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:196:43: warning: missing braces around initializer [-Wmissing-braces] 196 | const iMenuItem topLevelMenus_Window[7] = { | ^ 197 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 198 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 199 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } 200 | { "${menu.title.bookmarks}", 0, 0, (const void *) bookmarksMenuItems_ }, | { } 201 | { "${menu.title.identity}", 0, 0, (const void *) identityMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:196:43: warning: missing braces around initializer [-Wmissing-braces] 196 | const iMenuItem topLevelMenus_Window[7] = { | ^ 197 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 198 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 199 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } 200 | { "${menu.title.bookmarks}", 0, 0, (const void *) bookmarksMenuItems_ }, | { } 201 | { "${menu.title.identity}", 0, 0, (const void *) identityMenuItems_ }, | { } 202 | { "${menu.title.window}", 0, 0, (const void *) windowMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:196:43: warning: missing braces around initializer [-Wmissing-braces] 196 | const iMenuItem topLevelMenus_Window[7] = { | ^ 197 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 198 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 199 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } 200 | { "${menu.title.bookmarks}", 0, 0, (const void *) bookmarksMenuItems_ }, | { } 201 | { "${menu.title.identity}", 0, 0, (const void *) identityMenuItems_ }, | { } 202 | { "${menu.title.window}", 0, 0, (const void *) windowMenuItems_ }, | { } 203 | { "${menu.title.help}", 0, 0, (const void *) helpMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:196:43: warning: missing braces around initializer [-Wmissing-braces] 196 | const iMenuItem topLevelMenus_Window[7] = { | ^ 197 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 198 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 199 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } 200 | { "${menu.title.bookmarks}", 0, 0, (const void *) bookmarksMenuItems_ }, | { } 201 | { "${menu.title.identity}", 0, 0, (const void *) identityMenuItems_ }, | { } 202 | { "${menu.title.window}", 0, 0, (const void *) windowMenuItems_ }, | { } 203 | { "${menu.title.help}", 0, 0, (const void *) helpMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3576:44: warning: missing braces around initializer [-Wmissing-braces] 3576 | const iMenuItem userPanelItems[] = { | ^ ...... 3579 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3580 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3581 | { "padding" }, 3582 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3583 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3584 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } [ 93%] Building C object CMakeFiles/app.dir/src/ui/text_stb.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/text_stb.c.o -MF CMakeFiles/app.dir/src/ui/text_stb.c.o.d -o CMakeFiles/app.dir/src/ui/text_stb.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/ui/text_stb.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3576:44: warning: missing braces around initializer [-Wmissing-braces] 3576 | const iMenuItem userPanelItems[] = { | ^ ...... 3579 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3580 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3581 | { "padding" }, 3582 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3583 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3584 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 3585 | { "padding" }, 3586 | { "button text:" star_Icon " ${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c: In function ‘draw_Window’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:1583:20: warning: unused variable ‘drawCount_’ [-Wunused-variable] 1583 | extern int drawCount_; | ^~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3576:44: warning: missing braces around initializer [-Wmissing-braces] 3576 | const iMenuItem userPanelItems[] = { | ^ ...... 3579 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3580 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3581 | { "padding" }, 3582 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3583 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3584 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 3585 | { "padding" }, 3586 | { "button text:" star_Icon " ${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c: In function ‘draw_MainWindow’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:1685:17: warning: unused variable ‘gotFocus’ [-Wunused-variable] 1685 | const iBool gotFocus = (winFlags & SDL_WINDOW_INPUT_FOCUS) != 0; | ^~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3576:44: warning: missing braces around initializer [-Wmissing-braces] 3576 | const iMenuItem userPanelItems[] = { | ^ ...... 3579 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3580 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3581 | { "padding" }, 3582 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3583 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3584 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 3585 | { "padding" }, 3586 | { "button text:" star_Icon " ${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } 3587 | { "padding" }, 3588 | { "button text:" download_Icon " ${menu.downloads}", 0, 0, "downloads.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c: In function ‘updateBookmarksMenu_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:2381:14: warning: missing braces around initializer [-Wmissing-braces] 2381 | &(iMenuItem){ format_CStr("%s %s", cstr_String(&iconStr), cstr_String(title)), | ^ ...... 2384 | isFolder_Bookmark(bm) | { ...... 2388 | cstr_String(&bm->url)) }); | } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3576:44: warning: missing braces around initializer [-Wmissing-braces] 3576 | const iMenuItem userPanelItems[] = { | ^ ...... 3579 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3580 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3581 | { "padding" }, 3582 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3583 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3584 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 3585 | { "padding" }, 3586 | { "button text:" star_Icon " ${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } 3587 | { "padding" }, 3588 | { "button text:" download_Icon " ${menu.downloads}", 0, 0, "downloads.open" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3591:47: warning: missing braces around initializer [-Wmissing-braces] 3591 | const iMenuItem supportPanelItems[] = { | ^ ...... 3594 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3591:47: warning: missing braces around initializer [-Wmissing-braces] 3591 | const iMenuItem supportPanelItems[] = { | ^ ...... 3594 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3595 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3591:47: warning: missing braces around initializer [-Wmissing-braces] 3591 | const iMenuItem supportPanelItems[] = { | ^ ...... 3594 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3595 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3591:47: warning: missing braces around initializer [-Wmissing-braces] 3591 | const iMenuItem supportPanelItems[] = { | ^ ...... 3594 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3595 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } ...... 3600 | "!open url:https://gmi.skyjake.fi/lagrange" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3591:47: warning: missing braces around initializer [-Wmissing-braces] 3591 | const iMenuItem supportPanelItems[] = { | ^ ...... 3594 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3595 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } ...... 3600 | "!open url:https://gmi.skyjake.fi/lagrange" }, | { } ...... 3604 | "!open default:1 url:https://skyjake.fi/@jk" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3591:47: warning: missing braces around initializer [-Wmissing-braces] 3591 | const iMenuItem supportPanelItems[] = { | ^ ...... 3594 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3595 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } ...... 3600 | "!open url:https://gmi.skyjake.fi/lagrange" }, | { } ...... 3604 | "!open default:1 url:https://skyjake.fi/@jk" }, | { } ...... 3608 | "!open default:1 url:mailto:jaakko.keranen@iki.fi" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3591:47: warning: missing braces around initializer [-Wmissing-braces] 3591 | const iMenuItem supportPanelItems[] = { | ^ ...... 3594 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3595 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } ...... 3600 | "!open url:https://gmi.skyjake.fi/lagrange" }, | { } ...... 3604 | "!open default:1 url:https://skyjake.fi/@jk" }, | { } ...... 3608 | "!open default:1 url:mailto:jaakko.keranen@iki.fi" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3591:47: warning: missing braces around initializer [-Wmissing-braces] 3591 | const iMenuItem supportPanelItems[] = { | ^ ...... 3594 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3595 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } ...... 3600 | "!open url:https://gmi.skyjake.fi/lagrange" }, | { } ...... 3604 | "!open default:1 url:https://skyjake.fi/@jk" }, | { } ...... 3608 | "!open default:1 url:mailto:jaakko.keranen@iki.fi" }, | { } 3609 | { "padding" }, 3610 | { "button text:" info_Icon " ${menu.aboutpages}", 0, 0, "!open url:about:about" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3591:47: warning: missing braces around initializer [-Wmissing-braces] 3591 | const iMenuItem supportPanelItems[] = { | ^ ...... 3594 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3595 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } ...... 3600 | "!open url:https://gmi.skyjake.fi/lagrange" }, | { } ...... 3604 | "!open default:1 url:https://skyjake.fi/@jk" }, | { } ...... 3608 | "!open default:1 url:mailto:jaakko.keranen@iki.fi" }, | { } 3609 | { "padding" }, 3610 | { "button text:" info_Icon " ${menu.aboutpages}", 0, 0, "!open url:about:about" }, | { } 3611 | { "button text:" bug_Icon " ${menu.debug}", 0, 0, "!open url:about:debug" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3591:47: warning: missing braces around initializer [-Wmissing-braces] 3591 | const iMenuItem supportPanelItems[] = { | ^ ...... 3594 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3595 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } ...... 3600 | "!open url:https://gmi.skyjake.fi/lagrange" }, | { } ...... 3604 | "!open default:1 url:https://skyjake.fi/@jk" }, | { } ...... 3608 | "!open default:1 url:mailto:jaakko.keranen@iki.fi" }, | { } 3609 | { "padding" }, 3610 | { "button text:" info_Icon " ${menu.aboutpages}", 0, 0, "!open url:about:about" }, | { } 3611 | { "button text:" bug_Icon " ${menu.debug}", 0, 0, "!open url:about:debug" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3621 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3621 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3621 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3622 | { "padding" }, 3623 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3621 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3622 | { "padding" }, 3623 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3624 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3621 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3622 | { "padding" }, 3623 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3624 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3625 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3621 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3622 | { "padding" }, 3623 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3624 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3625 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:460:15: warning: ‘rootAt_Window_’ defined but not used [-Wunused-function] 460 | static iRoot *rootAt_Window_(const iWindow *d, iInt2 coord) { | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.c:61: /builddir/build/BUILD/lagrange-1.18.3/src/stb_image_resize2.h:2866:14: warning: ‘stbir__support_zero’ defined but not used [-Wunused-function] 2866 | static float stbir__support_zero(float s, void * user_data) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3621 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3622 | { "padding" }, 3623 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3624 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3625 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } 3626 | { "padding" }, 3627 | { "panel icon:0x1f4e6 id:heading.prefs.user", 0, 0, (const void *) userPanelItems }, | { } [ 95%] Building C object CMakeFiles/app.dir/src/audio/buf.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/audio/buf.c.o -MF CMakeFiles/app.dir/src/audio/buf.c.o.d -o CMakeFiles/app.dir/src/audio/buf.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/audio/buf.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3621 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3622 | { "padding" }, 3623 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3624 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3625 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } 3626 | { "padding" }, 3627 | { "panel icon:0x1f4e6 id:heading.prefs.user", 0, 0, (const void *) userPanelItems }, | { } 3628 | { "panel icon:0x1f4cb id:heading.prefs.snip", 0, 0, (const void *) snippetPanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3621 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3622 | { "padding" }, 3623 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3624 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3625 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } 3626 | { "padding" }, 3627 | { "panel icon:0x1f4e6 id:heading.prefs.user", 0, 0, (const void *) userPanelItems }, | { } 3628 | { "panel icon:0x1f4cb id:heading.prefs.snip", 0, 0, (const void *) snippetPanelItems }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.18.3/src/ui/text_stb.c:48: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3621 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3622 | { "padding" }, 3623 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3624 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3625 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } 3626 | { "padding" }, 3627 | { "panel icon:0x1f4e6 id:heading.prefs.user", 0, 0, (const void *) userPanelItems }, | { } 3628 | { "panel icon:0x1f4cb id:heading.prefs.snip", 0, 0, (const void *) snippetPanelItems }, | { } ...... 3631 | { "panel text:" info_Icon " ${heading.prefs.support}", 0, 0, (const void *) supportPanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3614:51: warning: missing braces around initializer [-Wmissing-braces] 3614 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3618 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3619 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3620 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3621 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3622 | { "padding" }, 3623 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3624 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3625 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } 3626 | { "padding" }, 3627 | { "panel icon:0x1f4e6 id:heading.prefs.user", 0, 0, (const void *) userPanelItems }, | { } 3628 | { "panel icon:0x1f4cb id:heading.prefs.snip", 0, 0, (const void *) snippetPanelItems }, | { } ...... 3631 | { "panel text:" info_Icon " ${heading.prefs.support}", 0, 0, (const void *) supportPanelItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3985:33: warning: missing braces around initializer [-Wmissing-braces] 3985 | const iMenuItem actions[] = { { "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3985:33: warning: missing braces around initializer [-Wmissing-braces] 3985 | const iMenuItem actions[] = { { "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3985:33: warning: missing braces around initializer [-Wmissing-braces] 3985 | const iMenuItem actions[] = { { "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | ^ | { } 3986 | { "---" }, 3987 | { "${close}", SDLK_ESCAPE, 0, "prefs.dismiss" } }; | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:3985:33: warning: missing braces around initializer [-Wmissing-braces] 3985 | const iMenuItem actions[] = { { "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | ^ | { } 3986 | { "---" }, 3987 | { "${close}", SDLK_ESCAPE, 0, "prefs.dismiss" } }; | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeBookmarkFolderActions_MenuItem’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4005:30: warning: missing braces around initializer [-Wmissing-braces] 4005 | pushBack_Array(folders, &(iMenuItem){ "\u2014", 0, 0, format_CStr("%s arg:0", command) }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4020:14: warning: missing braces around initializer [-Wmissing-braces] 4020 | &(iMenuItem){ cstr_String(title), | ^ ...... 4023 | format_CStr("%s arg:%u", command, id_Bookmark(bm)) }); | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeBookmarkEditor_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4076:36: warning: missing braces around initializer [-Wmissing-braces] 4076 | const iMenuItem dupActions[] = { | ^ 4077 | { "${menu.dup}", 0, 0, "bmed.dup" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4076:36: warning: missing braces around initializer [-Wmissing-braces] 4076 | const iMenuItem dupActions[] = { | ^ 4077 | { "${menu.dup}", 0, 0, "bmed.dup" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4076:36: warning: missing braces around initializer [-Wmissing-braces] 4076 | const iMenuItem dupActions[] = { | ^ 4077 | { "${menu.dup}", 0, 0, "bmed.dup" }, | { } 4078 | { "---" }, 4079 | { "${cancel}", SDLK_ESCAPE, 0, "bmed.cancel" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4076:36: warning: missing braces around initializer [-Wmissing-braces] 4076 | const iMenuItem dupActions[] = { | ^ 4077 | { "${menu.dup}", 0, 0, "bmed.dup" }, | { } 4078 | { "---" }, 4079 | { "${cancel}", SDLK_ESCAPE, 0, "bmed.cancel" }, | { } 4080 | { uiTextAction_ColorEscape "${dlg.bookmark.save}", SDLK_RETURN, KMOD_ACCEPT, "bmed.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4076:36: warning: missing braces around initializer [-Wmissing-braces] 4076 | const iMenuItem dupActions[] = { | ^ 4077 | { "${menu.dup}", 0, 0, "bmed.dup" }, | { } 4078 | { "---" }, 4079 | { "${cancel}", SDLK_ESCAPE, 0, "bmed.cancel" }, | { } 4080 | { uiTextAction_ColorEscape "${dlg.bookmark.save}", SDLK_RETURN, KMOD_ACCEPT, "bmed.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4085:37: warning: missing braces around initializer [-Wmissing-braces] 4085 | pushBack_Array(identItems, &(iMenuItem){ "\u2014", 0, 0, "bmed.setident fp:" }); | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4094:41: warning: missing braces around initializer [-Wmissing-braces] 4094 | const iMenuItem folderItems[] = { | ^ ...... 4098 | (const void *) constData_Array(parentFolderItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4094:41: warning: missing braces around initializer [-Wmissing-braces] 4094 | const iMenuItem folderItems[] = { | ^ ...... 4098 | (const void *) constData_Array(parentFolderItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4094:41: warning: missing braces around initializer [-Wmissing-braces] 4094 | const iMenuItem folderItems[] = { | ^ ...... 4098 | (const void *) constData_Array(parentFolderItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4102:35: warning: missing braces around initializer [-Wmissing-braces] 4102 | const iMenuItem items[] = { | ^ ...... 4110 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4113 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/text_stb.c:722:14: warning: ‘nextChar_’ defined but not used [-Wunused-function] 722 | static iChar nextChar_(const char **chPos, const char *end) { | ^~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeFeedSettings_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4335:35: warning: missing braces around initializer [-Wmissing-braces] 4335 | const iMenuItem actions[] = { { "${cancel}" }, | ^ ...... 4340 | format_CStr("feedcfg.accept bmid:%d", bookmarkId) } }; | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4335:35: warning: missing braces around initializer [-Wmissing-braces] 4335 | const iMenuItem actions[] = { { "${cancel}" }, | ^ ...... 4340 | format_CStr("feedcfg.accept bmid:%d", bookmarkId) } }; | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4342:39: warning: missing braces around initializer [-Wmissing-braces] 4342 | const iMenuItem typeItems[] = { | ^ 4343 | { "button id:feedcfg.type.gemini label:dlg.feed.type.gemini", 0, 0, "feedcfg.type arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4342:39: warning: missing braces around initializer [-Wmissing-braces] 4342 | const iMenuItem typeItems[] = { | ^ 4343 | { "button id:feedcfg.type.gemini label:dlg.feed.type.gemini", 0, 0, "feedcfg.type arg:0" }, | { } 4344 | { "button id:feedcfg.type.headings label:dlg.feed.type.headings", 0, 0, "feedcfg.type arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4342:39: warning: missing braces around initializer [-Wmissing-braces] 4342 | const iMenuItem typeItems[] = { | ^ 4343 | { "button id:feedcfg.type.gemini label:dlg.feed.type.gemini", 0, 0, "feedcfg.type arg:0" }, | { } 4344 | { "button id:feedcfg.type.headings label:dlg.feed.type.headings", 0, 0, "feedcfg.type arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4347:44: warning: missing braces around initializer [-Wmissing-braces] 4347 | dlg = makePanels_Mobile("feedcfg", (iMenuItem[]){ | ^ ...... 4350 | { "radio id:dlg.feed.entrytype", 0, 0, (const void *) typeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4347:44: warning: missing braces around initializer [-Wmissing-braces] 4347 | dlg = makePanels_Mobile("feedcfg", (iMenuItem[]){ | ^ ...... 4350 | { "radio id:dlg.feed.entrytype", 0, 0, (const void *) typeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4347:44: warning: missing braces around initializer [-Wmissing-braces] 4347 | dlg = makePanels_Mobile("feedcfg", (iMenuItem[]){ | ^ ...... 4350 | { "radio id:dlg.feed.entrytype", 0, 0, (const void *) typeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4347:44: warning: missing braces around initializer [-Wmissing-braces] 4347 | dlg = makePanels_Mobile("feedcfg", (iMenuItem[]){ | ^ ...... 4350 | { "radio id:dlg.feed.entrytype", 0, 0, (const void *) typeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4347:44: warning: missing braces around initializer [-Wmissing-braces] 4347 | dlg = makePanels_Mobile("feedcfg", (iMenuItem[]){ | ^ ...... 4350 | { "radio id:dlg.feed.entrytype", 0, 0, (const void *) typeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeSiteSpecificSettings_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4464:33: warning: missing braces around initializer [-Wmissing-braces] 4464 | const iMenuItem actions[] = { | ^ 4465 | { "${cancel}" }, 4466 | { uiTextAction_ColorEscape "${sitespec.accept}", SDLK_RETURN, KMOD_ACCEPT, "sitespec.accept" } | { } [ 96%] Building C object CMakeFiles/app.dir/src/audio/player.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/audio/player.c.o -MF CMakeFiles/app.dir/src/audio/player.c.o.d -o CMakeFiles/app.dir/src/audio/player.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/audio/player.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4464:33: warning: missing braces around initializer [-Wmissing-braces] 4464 | const iMenuItem actions[] = { | ^ 4465 | { "${cancel}" }, 4466 | { uiTextAction_ColorEscape "${sitespec.accept}", SDLK_RETURN, KMOD_ACCEPT, "sitespec.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeSnippetCreation_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4548:33: warning: missing braces around initializer [-Wmissing-braces] 4548 | const iMenuItem actions[] = { | ^ 4549 | { "${cancel}" }, 4550 | { uiTextAction_ColorEscape "${snip.accept}", SDLK_RETURN, KMOD_ACCEPT, "snip.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4548:33: warning: missing braces around initializer [-Wmissing-braces] 4548 | const iMenuItem actions[] = { | ^ 4549 | { "${cancel}" }, 4550 | { uiTextAction_ColorEscape "${snip.accept}", SDLK_RETURN, KMOD_ACCEPT, "snip.accept" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeLinkImporter_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4617:33: warning: missing braces around initializer [-Wmissing-braces] 4617 | const iMenuItem actions[] = { | ^ ...... 4623 | "dlg.import.accept" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4617:33: warning: missing braces around initializer [-Wmissing-braces] 4617 | const iMenuItem actions[] = { | ^ ...... 4623 | "dlg.import.accept" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4629:40: warning: missing braces around initializer [-Wmissing-braces] 4629 | dlg = makePanels_Mobile(dlgId, (iMenuItem[]){ | ^ ...... 4632 | { "dropdown id:dlg.import.intofolder", 0, 0, (const void *) constData_Array(folders) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4629:40: warning: missing braces around initializer [-Wmissing-braces] 4629 | dlg = makePanels_Mobile(dlgId, (iMenuItem[]){ | ^ ...... 4632 | { "dropdown id:dlg.import.intofolder", 0, 0, (const void *) constData_Array(folders) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4629:40: warning: missing braces around initializer [-Wmissing-braces] 4629 | dlg = makePanels_Mobile(dlgId, (iMenuItem[]){ | ^ ...... 4632 | { "dropdown id:dlg.import.intofolder", 0, 0, (const void *) constData_Array(folders) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4629:40: warning: missing braces around initializer [-Wmissing-braces] 4629 | dlg = makePanels_Mobile(dlgId, (iMenuItem[]){ | ^ ...... 4632 | { "dropdown id:dlg.import.intofolder", 0, 0, (const void *) constData_Array(folders) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4645:23: warning: unused variable ‘intoFolder’ [-Wunused-variable] 4645 | iLabelWidget *intoFolder = addDialogDropMenu_(headings, | ^~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeIdentityCreation_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4669:33: warning: missing braces around initializer [-Wmissing-braces] 4669 | const iMenuItem actions[] = { { "${dlg.newident.more}", 0, 0, "ident.showmore" }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4669:33: warning: missing braces around initializer [-Wmissing-braces] 4669 | const iMenuItem actions[] = { { "${dlg.newident.more}", 0, 0, "ident.showmore" }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4669:33: warning: missing braces around initializer [-Wmissing-braces] 4669 | const iMenuItem actions[] = { { "${dlg.newident.more}", 0, 0, "ident.showmore" }, | ^ | { } 4670 | { "---" }, 4671 | { "${cancel}", SDLK_ESCAPE, 0, "ident.cancel" }, | { } In file included from /builddir/build/BUILD/lagrange-1.18.3/src/audio/player.c:24: /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:201:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 201 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:192:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 192 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.18.3/src/defs.h:208:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 208 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4669:33: warning: missing braces around initializer [-Wmissing-braces] 4669 | const iMenuItem actions[] = { { "${dlg.newident.more}", 0, 0, "ident.showmore" }, | ^ | { } 4670 | { "---" }, 4671 | { "${cancel}", SDLK_ESCAPE, 0, "ident.cancel" }, | { } ...... 4675 | "ident.accept" } }; | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4669:33: warning: missing braces around initializer [-Wmissing-braces] 4669 | const iMenuItem actions[] = { { "${dlg.newident.more}", 0, 0, "ident.showmore" }, | ^ | { } 4670 | { "---" }, 4671 | { "${cancel}", SDLK_ESCAPE, 0, "ident.cancel" }, | { } ...... 4675 | "ident.accept" } }; | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4679:36: warning: missing braces around initializer [-Wmissing-braces] 4679 | const iMenuItem scopeItems[] = { | ^ 4680 | { "${dlg.newident.scope.none}", 0, 0, "ident.scope arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4679:36: warning: missing braces around initializer [-Wmissing-braces] 4679 | const iMenuItem scopeItems[] = { | ^ 4680 | { "${dlg.newident.scope.none}", 0, 0, "ident.scope arg:0" }, | { } 4681 | { format_CStr("${dlg.newident.scope.domain}:\n%s", cstr_Rangecc(url.host)), 0, 0, "ident.scope arg:1" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4679:36: warning: missing braces around initializer [-Wmissing-braces] 4679 | const iMenuItem scopeItems[] = { | ^ 4680 | { "${dlg.newident.scope.none}", 0, 0, "ident.scope arg:0" }, | { } 4681 | { format_CStr("${dlg.newident.scope.domain}:\n%s", cstr_Rangecc(url.host)), 0, 0, "ident.scope arg:1" }, | { } 4682 | { format_CStr("${dlg.newident.scope.dir}:\n%s", cstr_Rangecc(urlDirectory_String(docUrl))), 0, 0, "ident.scope arg:2" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4679:36: warning: missing braces around initializer [-Wmissing-braces] 4679 | const iMenuItem scopeItems[] = { | ^ 4680 | { "${dlg.newident.scope.none}", 0, 0, "ident.scope arg:0" }, | { } 4681 | { format_CStr("${dlg.newident.scope.domain}:\n%s", cstr_Rangecc(url.host)), 0, 0, "ident.scope arg:1" }, | { } 4682 | { format_CStr("${dlg.newident.scope.dir}:\n%s", cstr_Rangecc(urlDirectory_String(docUrl))), 0, 0, "ident.scope arg:2" }, | { } 4683 | { format_CStr("${dlg.newident.scope.page}:\n%s", cstr_Rangecc(url.path)), 0, 0, "ident.scope arg:3" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4679:36: warning: missing braces around initializer [-Wmissing-braces] 4679 | const iMenuItem scopeItems[] = { | ^ 4680 | { "${dlg.newident.scope.none}", 0, 0, "ident.scope arg:0" }, | { } 4681 | { format_CStr("${dlg.newident.scope.domain}:\n%s", cstr_Rangecc(url.host)), 0, 0, "ident.scope arg:1" }, | { } 4682 | { format_CStr("${dlg.newident.scope.dir}:\n%s", cstr_Rangecc(urlDirectory_String(docUrl))), 0, 0, "ident.scope arg:2" }, | { } 4683 | { format_CStr("${dlg.newident.scope.page}:\n%s", cstr_Rangecc(url.path)), 0, 0, "ident.scope arg:3" }, | { } [ 98%] Building C object CMakeFiles/app.dir/src/audio/stb_vorbis.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.18.3\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.18.3/src -I/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/fribidi -isystem /usr/include/webp -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -Werror=incompatible-pointer-types -DLAGRANGE_ENABLE_AUDIO=1 -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -I/usr/include -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/audio/stb_vorbis.c.o -MF CMakeFiles/app.dir/src/audio/stb_vorbis.c.o.d -o CMakeFiles/app.dir/src/audio/stb_vorbis.c.o -c /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4688:42: warning: missing braces around initializer [-Wmissing-braces] 4688 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4692 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4688:42: warning: missing braces around initializer [-Wmissing-braces] 4688 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4692 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4688:42: warning: missing braces around initializer [-Wmissing-braces] 4688 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4692 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4688:42: warning: missing braces around initializer [-Wmissing-braces] 4688 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4692 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4688:42: warning: missing braces around initializer [-Wmissing-braces] 4688 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4692 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4688:42: warning: missing braces around initializer [-Wmissing-braces] 4688 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4692 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4688:42: warning: missing braces around initializer [-Wmissing-braces] 4688 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4692 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4688:42: warning: missing braces around initializer [-Wmissing-braces] 4688 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4692 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4688:42: warning: missing braces around initializer [-Wmissing-braces] 4688 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4692 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4688:42: warning: missing braces around initializer [-Wmissing-braces] 4688 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4692 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4688:42: warning: missing braces around initializer [-Wmissing-braces] 4688 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4692 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: At top level: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/audio/player.c:599:12: warning: ‘silence_Player_’ defined but not used [-Wunused-function] 599 | static int silence_Player_(const iPlayer *d) { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4798 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4798 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4799 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4798 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4799 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4800 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4798 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4799 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4800 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4801 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4798 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4799 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4800 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4801 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4802 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4798 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4799 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4800 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4801 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4802 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4803 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4798 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4799 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4800 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4801 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4802 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4803 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } 4804 | { "${lang.sv} - sv", 0, 0, "xlt.lang id:sv" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4798 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4799 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4800 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4801 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4802 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4803 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } 4804 | { "${lang.sv} - sv", 0, 0, "xlt.lang id:sv" }, | { } 4805 | { "${lang.tr} - tr", 0, 0, "xlt.lang id:tr" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4798 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4799 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4800 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4801 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4802 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4803 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } 4804 | { "${lang.sv} - sv", 0, 0, "xlt.lang id:sv" }, | { } 4805 | { "${lang.tr} - tr", 0, 0, "xlt.lang id:tr" }, | { } 4806 | { "${lang.uk} - uk", 0, 0, "xlt.lang id:uk" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4798 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4799 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4800 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4801 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4802 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4803 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } 4804 | { "${lang.sv} - sv", 0, 0, "xlt.lang id:sv" }, | { } 4805 | { "${lang.tr} - tr", 0, 0, "xlt.lang id:tr" }, | { } 4806 | { "${lang.uk} - uk", 0, 0, "xlt.lang id:uk" }, | { } 4807 | { "${lang.zh} - zh", 0, 0, "xlt.lang id:zh" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4776:38: warning: missing braces around initializer [-Wmissing-braces] 4776 | static const iMenuItem languages[] = { | ^ 4777 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4778 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4779 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4780 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4781 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4782 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4783 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4784 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4785 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4786 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4787 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4788 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4789 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4790 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4791 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4792 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4793 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4794 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4795 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4796 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4797 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4798 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4799 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4800 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4801 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4802 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4803 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } 4804 | { "${lang.sv} - sv", 0, 0, "xlt.lang id:sv" }, | { } 4805 | { "${lang.tr} - tr", 0, 0, "xlt.lang id:tr" }, | { } 4806 | { "${lang.uk} - uk", 0, 0, "xlt.lang id:uk" }, | { } 4807 | { "${lang.zh} - zh", 0, 0, "xlt.lang id:zh" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeTranslation_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4864:33: warning: missing braces around initializer [-Wmissing-braces] 4864 | const iMenuItem actions[] = { | ^ 4865 | { "${cancel}", SDLK_ESCAPE, 0, "translation.cancel" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4864:33: warning: missing braces around initializer [-Wmissing-braces] 4864 | const iMenuItem actions[] = { | ^ 4865 | { "${cancel}", SDLK_ESCAPE, 0, "translation.cancel" }, | { } 4866 | { uiTextAction_ColorEscape "${dlg.translate}", SDLK_RETURN, 0, "translation.submit" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4864:33: warning: missing braces around initializer [-Wmissing-braces] 4864 | const iMenuItem actions[] = { | ^ 4865 | { "${cancel}", SDLK_ESCAPE, 0, "translation.cancel" }, | { } 4866 | { uiTextAction_ColorEscape "${dlg.translate}", SDLK_RETURN, 0, "translation.submit" } | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4870:54: warning: missing braces around initializer [-Wmissing-braces] 4870 | dlg = makePanelsParent_Mobile(parent, "xlt", (iMenuItem[]){ | ^ 4871 | { "title id:heading.translate" }, 4872 | { "dropdown id:xlt.from text:${dlg.translate.from}", 0, 0, (const void *) languages }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4870:54: warning: missing braces around initializer [-Wmissing-braces] 4870 | dlg = makePanelsParent_Mobile(parent, "xlt", (iMenuItem[]){ | ^ 4871 | { "title id:heading.translate" }, 4872 | { "dropdown id:xlt.from text:${dlg.translate.from}", 0, 0, (const void *) languages }, | { } 4873 | { "dropdown id:xlt.to text:${dlg.translate.to}", 0, 0, (const void *) languages }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4870:54: warning: missing braces around initializer [-Wmissing-braces] 4870 | dlg = makePanelsParent_Mobile(parent, "xlt", (iMenuItem[]){ | ^ 4871 | { "title id:heading.translate" }, 4872 | { "dropdown id:xlt.from text:${dlg.translate.from}", 0, 0, (const void *) languages }, | { } 4873 | { "dropdown id:xlt.to text:${dlg.translate.to}", 0, 0, (const void *) languages }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4870:54: warning: missing braces around initializer [-Wmissing-braces] 4870 | dlg = makePanelsParent_Mobile(parent, "xlt", (iMenuItem[]){ | ^ 4871 | { "title id:heading.translate" }, 4872 | { "dropdown id:xlt.from text:${dlg.translate.from}", 0, 0, (const void *) languages }, | { } 4873 | { "dropdown id:xlt.to text:${dlg.translate.to}", 0, 0, (const void *) languages }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4870:54: warning: missing braces around initializer [-Wmissing-braces] 4870 | dlg = makePanelsParent_Mobile(parent, "xlt", (iMenuItem[]){ | ^ 4871 | { "title id:heading.translate" }, 4872 | { "dropdown id:xlt.from text:${dlg.translate.from}", 0, 0, (const void *) languages }, | { } 4873 | { "dropdown id:xlt.to text:${dlg.translate.to}", 0, 0, (const void *) languages }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeGlyphFinder_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4955:13: warning: missing braces around initializer [-Wmissing-braces] 4955 | (iMenuItem[]){ | ^ 4956 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4955:13: warning: missing braces around initializer [-Wmissing-braces] 4955 | (iMenuItem[]){ | ^ 4956 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } 4957 | { "${dlg.glyphfinder.disable}", 0, 0, "prefs.font.warnmissing.changed arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4955:13: warning: missing braces around initializer [-Wmissing-braces] 4955 | (iMenuItem[]){ | ^ 4956 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } 4957 | { "${dlg.glyphfinder.disable}", 0, 0, "prefs.font.warnmissing.changed arg:0" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4955:13: warning: missing braces around initializer [-Wmissing-braces] 4955 | (iMenuItem[]){ | ^ 4956 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } 4957 | { "${dlg.glyphfinder.disable}", 0, 0, "prefs.font.warnmissing.changed arg:0" }, | { } ...... 4962 | cstr_String(&command) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4955:13: warning: missing braces around initializer [-Wmissing-braces] 4955 | (iMenuItem[]){ | ^ 4956 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } 4957 | { "${dlg.glyphfinder.disable}", 0, 0, "prefs.font.warnmissing.changed arg:0" }, | { } ...... 4962 | cstr_String(&command) }, | { } 4963 | { "${close}", 0, 0, "cancel" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4955:13: warning: missing braces around initializer [-Wmissing-braces] 4955 | (iMenuItem[]){ | ^ 4956 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } 4957 | { "${dlg.glyphfinder.disable}", 0, 0, "prefs.font.warnmissing.changed arg:0" }, | { } ...... 4962 | cstr_String(&command) }, | { } 4963 | { "${close}", 0, 0, "cancel" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4969:25: warning: missing braces around initializer [-Wmissing-braces] 4969 | (iMenuItem[]){ { "${menu.reload}", 0, 0, "navigate.reload" }, | ^ | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4969:25: warning: missing braces around initializer [-Wmissing-braces] 4969 | (iMenuItem[]){ { "${menu.reload}", 0, 0, "navigate.reload" }, | ^ | { } 4970 | { "${close}", 0, 0, "cancel" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:4969:25: warning: missing braces around initializer [-Wmissing-braces] 4969 | (iMenuItem[]){ { "${menu.reload}", 0, 0, "navigate.reload" }, | ^ | { } 4970 | { "${close}", 0, 0, "cancel" } }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c: In function ‘makeUserDataImporter_Widget’: /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5034:33: warning: missing braces around initializer [-Wmissing-braces] 5034 | const iMenuItem actions[] = { | ^ 5035 | { "${menu.selectall}", 0, 0, "importer.selectall" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5034:33: warning: missing braces around initializer [-Wmissing-braces] 5034 | const iMenuItem actions[] = { | ^ 5035 | { "${menu.selectall}", 0, 0, "importer.selectall" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5034:33: warning: missing braces around initializer [-Wmissing-braces] 5034 | const iMenuItem actions[] = { | ^ 5035 | { "${menu.selectall}", 0, 0, "importer.selectall" }, | { } 5036 | { "---" }, 5037 | { "${cancel}", SDLK_ESCAPE, 0, "importer.cancel" }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5034:33: warning: missing braces around initializer [-Wmissing-braces] 5034 | const iMenuItem actions[] = { | ^ 5035 | { "${menu.selectall}", 0, 0, "importer.selectall" }, | { } 5036 | { "---" }, 5037 | { "${cancel}", SDLK_ESCAPE, 0, "importer.cancel" }, | { } ...... 5040 | format_CStr("importer.accept path:%s", cstr_String(archivePath)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5034:33: warning: missing braces around initializer [-Wmissing-braces] 5034 | const iMenuItem actions[] = { | ^ 5035 | { "${menu.selectall}", 0, 0, "importer.selectall" }, | { } 5036 | { "---" }, 5037 | { "${cancel}", SDLK_ESCAPE, 0, "importer.cancel" }, | { } ...... 5040 | format_CStr("importer.accept path:%s", cstr_String(archivePath)) }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5043:43: warning: missing braces around initializer [-Wmissing-braces] 5043 | const iMenuItem bookmarkItems[] = { | ^ 5044 | { "button id:importer.bookmark.0 label:dlg.userdata.no", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5043:43: warning: missing braces around initializer [-Wmissing-braces] 5043 | const iMenuItem bookmarkItems[] = { | ^ 5044 | { "button id:importer.bookmark.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5045 | { "button id:importer.bookmark.1 label:dlg.userdata.missing", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5043:43: warning: missing braces around initializer [-Wmissing-braces] 5043 | const iMenuItem bookmarkItems[] = { | ^ 5044 | { "button id:importer.bookmark.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5045 | { "button id:importer.bookmark.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 5046 | { "button id:importer.bookmark.2 label:dlg.userdata.alldup", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5043:43: warning: missing braces around initializer [-Wmissing-braces] 5043 | const iMenuItem bookmarkItems[] = { | ^ 5044 | { "button id:importer.bookmark.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5045 | { "button id:importer.bookmark.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 5046 | { "button id:importer.bookmark.2 label:dlg.userdata.alldup", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5049:42: warning: missing braces around initializer [-Wmissing-braces] 5049 | const iMenuItem snippetItems[] = { | ^ 5050 | { "button id:importer.snippet.0 label:dlg.userdata.no", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5049:42: warning: missing braces around initializer [-Wmissing-braces] 5049 | const iMenuItem snippetItems[] = { | ^ 5050 | { "button id:importer.snippet.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5051 | { "button id:importer.snippet.1 label:dlg.userdata.missing", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5049:42: warning: missing braces around initializer [-Wmissing-braces] 5049 | const iMenuItem snippetItems[] = { | ^ 5050 | { "button id:importer.snippet.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5051 | { "button id:importer.snippet.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 5052 | { "button id:importer.snippet.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5049:42: warning: missing braces around initializer [-Wmissing-braces] 5049 | const iMenuItem snippetItems[] = { | ^ 5050 | { "button id:importer.snippet.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5051 | { "button id:importer.snippet.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 5052 | { "button id:importer.snippet.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5055:43: warning: missing braces around initializer [-Wmissing-braces] 5055 | const iMenuItem sitespecItems[] = { | ^ 5056 | { "button id:importer.sitespec.0 label:dlg.userdata.no", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5055:43: warning: missing braces around initializer [-Wmissing-braces] 5055 | const iMenuItem sitespecItems[] = { | ^ 5056 | { "button id:importer.sitespec.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5057 | { "button id:importer.sitespec.1 label:dlg.userdata.missing", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5055:43: warning: missing braces around initializer [-Wmissing-braces] 5055 | const iMenuItem sitespecItems[] = { | ^ 5056 | { "button id:importer.sitespec.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5057 | { "button id:importer.sitespec.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 5058 | { "button id:importer.sitespec.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5055:43: warning: missing braces around initializer [-Wmissing-braces] 5055 | const iMenuItem sitespecItems[] = { | ^ 5056 | { "button id:importer.sitespec.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5057 | { "button id:importer.sitespec.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 5058 | { "button id:importer.sitespec.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5061:42: warning: missing braces around initializer [-Wmissing-braces] 5061 | const iMenuItem trustedItems[] = { | ^ 5062 | { "button id:importer.trusted.0 label:dlg.userdata.no", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5061:42: warning: missing braces around initializer [-Wmissing-braces] 5061 | const iMenuItem trustedItems[] = { | ^ 5062 | { "button id:importer.trusted.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5063 | { "button id:importer.trusted.1 label:dlg.userdata.missing", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5061:42: warning: missing braces around initializer [-Wmissing-braces] 5061 | const iMenuItem trustedItems[] = { | ^ 5062 | { "button id:importer.trusted.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5063 | { "button id:importer.trusted.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 5064 | { "button id:importer.trusted.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5061:42: warning: missing braces around initializer [-Wmissing-braces] 5061 | const iMenuItem trustedItems[] = { | ^ 5062 | { "button id:importer.trusted.0 label:dlg.userdata.no", 0, 0, "." }, | { } 5063 | { "button id:importer.trusted.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 5064 | { "button id:importer.trusted.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5069:13: warning: missing braces around initializer [-Wmissing-braces] 5069 | (iMenuItem[]){ { "title id:heading.import.userdata" }, | ^ ...... 5072 | { "radio id:import.userdata.bookmarks", 0, 0, (const void *) bookmarkItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5069:13: warning: missing braces around initializer [-Wmissing-braces] 5069 | (iMenuItem[]){ { "title id:heading.import.userdata" }, | ^ ...... 5072 | { "radio id:import.userdata.bookmarks", 0, 0, (const void *) bookmarkItems }, | { } 5073 | { "radio id:import.userdata.snippets", 0, 0, (const void *) snippetItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5069:13: warning: missing braces around initializer [-Wmissing-braces] 5069 | (iMenuItem[]){ { "title id:heading.import.userdata" }, | ^ ...... 5072 | { "radio id:import.userdata.bookmarks", 0, 0, (const void *) bookmarkItems }, | { } 5073 | { "radio id:import.userdata.snippets", 0, 0, (const void *) snippetItems }, | { } 5074 | { "radio id:import.userdata.sitespec", 0, 0, (const void *) sitespecItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5069:13: warning: missing braces around initializer [-Wmissing-braces] 5069 | (iMenuItem[]){ { "title id:heading.import.userdata" }, | ^ ...... 5072 | { "radio id:import.userdata.bookmarks", 0, 0, (const void *) bookmarkItems }, | { } 5073 | { "radio id:import.userdata.snippets", 0, 0, (const void *) snippetItems }, | { } 5074 | { "radio id:import.userdata.sitespec", 0, 0, (const void *) sitespecItems }, | { } 5075 | { "radio id:import.userdata.trusted", 0, 0, (const void *) trustedItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/ui/util.c:5069:13: warning: missing braces around initializer [-Wmissing-braces] 5069 | (iMenuItem[]){ { "title id:heading.import.userdata" }, | ^ ...... 5072 | { "radio id:import.userdata.bookmarks", 0, 0, (const void *) bookmarkItems }, | { } 5073 | { "radio id:import.userdata.snippets", 0, 0, (const void *) snippetItems }, | { } 5074 | { "radio id:import.userdata.sitespec", 0, 0, (const void *) sitespecItems }, | { } 5075 | { "radio id:import.userdata.trusted", 0, 0, (const void *) trustedItems }, | { } /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c: In function ‘get_seek_page_info’: /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4633:7: warning: ‘header[0]’ may be used uninitialized [-Wmaybe-uninitialized] 4633 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ^ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4625:10: note: ‘header[0]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4633:25: warning: ‘header[1]’ may be used uninitialized [-Wmaybe-uninitialized] 4633 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4625:10: note: ‘header[1]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4633:45: warning: ‘header[2]’ may be used uninitialized [-Wmaybe-uninitialized] 4633 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4625:10: note: ‘header[2]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4633:65: warning: ‘header[3]’ may be used uninitialized [-Wmaybe-uninitialized] 4633 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4625:10: note: ‘header[3]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4646:35: warning: ‘header[6]’ may be used uninitialized [-Wmaybe-uninitialized] 4646 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~^~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4625:10: note: ‘header[6]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4646:48: warning: ‘header[7]’ may be used uninitialized [-Wmaybe-uninitialized] 4646 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~^~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4625:10: note: ‘header[7]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4646:67: warning: ‘header[8]’ may be used uninitialized [-Wmaybe-uninitialized] 4646 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~^~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4625:10: note: ‘header[8]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4646:87: warning: ‘header[9]’ may be used uninitialized [-Wmaybe-uninitialized] 4646 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~^~~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4625:10: note: ‘header[9]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ In function ‘getn’, inlined from ‘get_seek_page_info’ at /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4635:4: /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:1351:20: warning: ‘header[26]’ may be used uninitialized [-Wmaybe-uninitialized] 1351 | if (z->stream+n > z->stream_end) { z->eof = 1; return 0; } | ~~~~~~~~~^~ /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c: In function ‘get_seek_page_info’: /builddir/build/BUILD/lagrange-1.18.3/src/audio/stb_vorbis.c:4625:10: note: ‘header[26]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ [100%] Linking C executable lagrange /usr/bin/cmake -E cmake_link_script CMakeFiles/app.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 CMakeFiles/app.dir/src/main.c.o CMakeFiles/app.dir/src/app.c.o CMakeFiles/app.dir/src/bookmarks.c.o CMakeFiles/app.dir/src/export.c.o CMakeFiles/app.dir/src/feeds.c.o CMakeFiles/app.dir/src/fontpack.c.o CMakeFiles/app.dir/src/gempub.c.o CMakeFiles/app.dir/src/gmcerts.c.o CMakeFiles/app.dir/src/gmdocument.c.o CMakeFiles/app.dir/src/gmrequest.c.o CMakeFiles/app.dir/src/gmtypesetter.c.o CMakeFiles/app.dir/src/gmutil.c.o CMakeFiles/app.dir/src/gopher.c.o CMakeFiles/app.dir/src/guppy.c.o CMakeFiles/app.dir/src/history.c.o CMakeFiles/app.dir/src/lang.c.o CMakeFiles/app.dir/src/lookup.c.o CMakeFiles/app.dir/src/media.c.o CMakeFiles/app.dir/src/mimehooks.c.o CMakeFiles/app.dir/src/misfin.c.o CMakeFiles/app.dir/src/periodic.c.o CMakeFiles/app.dir/src/prefs.c.o CMakeFiles/app.dir/src/resources.c.o CMakeFiles/app.dir/src/sitespec.c.o CMakeFiles/app.dir/src/snippets.c.o CMakeFiles/app.dir/src/visited.c.o CMakeFiles/app.dir/src/ui/banner.c.o CMakeFiles/app.dir/src/ui/bindingswidget.c.o CMakeFiles/app.dir/src/ui/certimportwidget.c.o CMakeFiles/app.dir/src/ui/certlistwidget.c.o CMakeFiles/app.dir/src/ui/color.c.o CMakeFiles/app.dir/src/ui/command.c.o CMakeFiles/app.dir/src/ui/documentview.c.o CMakeFiles/app.dir/src/ui/documentwidget.c.o CMakeFiles/app.dir/src/ui/indicatorwidget.c.o CMakeFiles/app.dir/src/ui/font.c.o CMakeFiles/app.dir/src/ui/linkinfo.c.o CMakeFiles/app.dir/src/ui/listwidget.c.o CMakeFiles/app.dir/src/ui/lookupwidget.c.o CMakeFiles/app.dir/src/ui/keys.c.o CMakeFiles/app.dir/src/ui/metrics.c.o CMakeFiles/app.dir/src/ui/paint.c.o CMakeFiles/app.dir/src/ui/root.c.o CMakeFiles/app.dir/src/ui/mediaui.c.o CMakeFiles/app.dir/src/ui/mobile.c.o CMakeFiles/app.dir/src/ui/scrollwidget.c.o CMakeFiles/app.dir/src/ui/sidebarwidget.c.o CMakeFiles/app.dir/src/ui/snippetwidget.c.o CMakeFiles/app.dir/src/ui/text.c.o CMakeFiles/app.dir/src/ui/touch.c.o CMakeFiles/app.dir/src/ui/translation.c.o CMakeFiles/app.dir/src/ui/uploadwidget.c.o CMakeFiles/app.dir/src/ui/util.c.o CMakeFiles/app.dir/src/ui/visbuf.c.o CMakeFiles/app.dir/src/ui/window.c.o CMakeFiles/app.dir/src/ui/widget.c.o CMakeFiles/app.dir/src/ui/inputwidget.c.o CMakeFiles/app.dir/src/ui/labelwidget.c.o CMakeFiles/app.dir/src/updater.c.o CMakeFiles/app.dir/src/ipc.c.o CMakeFiles/app.dir/src/ui/text_stb.c.o CMakeFiles/app.dir/src/audio/buf.c.o CMakeFiles/app.dir/src/audio/player.c.o CMakeFiles/app.dir/src/audio/stb_vorbis.c.o -o lagrange /usr/lib64/lib_Foundation.so.1.9.1 -L/usr/lib64 -lSDL2 -lharfbuzz -lfribidi -lpthread -lm /usr/lib64/libmpg123.so /usr/lib64/libwebp.so In function ‘memset’, inlined from ‘deselect_InputWidget’ at /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:1292:5, inlined from ‘setText_UploadWidget’ at /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:1175:5, inlined from ‘handleEditContentResponse_UploadWidget_’ at /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:1053:9, inlined from ‘processEvent_UploadWidget_’ at /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:1485:16: /usr/include/bits/string_fortified.h:59:10: warning: ‘__builtin_memset’ writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^ In function ‘processEvent_UploadWidget_’: lto1: note: destination object is likely at address zero In function ‘memset’, inlined from ‘deselect_InputWidget’ at /builddir/build/BUILD/lagrange-1.18.3/src/ui/inputwidget.c:1292:5, inlined from ‘setText_UploadWidget’ at /builddir/build/BUILD/lagrange-1.18.3/src/ui/uploadwidget.c:1175:5, inlined from ‘handleCommand_DocumentWidget_’ at /builddir/build/BUILD/lagrange-1.18.3/src/ui/documentwidget.c:3383:17: /usr/include/bits/string_fortified.h:59:10: warning: ‘__builtin_memset’ writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^ In function ‘handleCommand_DocumentWidget_’: lto1: note: destination object is likely at address zero gmake[2]: Leaving directory '/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build' [100%] Built target app gmake[1]: Leaving directory '/builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/lagrange-1.18.3/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ejfZ5l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le ++ dirname /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 lagrange-1.18.3 + DESTDIR=/builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "Release" -- Installing: /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/bin/lagrange -- Installing: /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/applications/fi.skyjake.Lagrange.desktop -- Installing: /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/icons/hicolor/256x256/apps/fi.skyjake.Lagrange.png -- Installing: /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/metainfo/fi.skyjake.Lagrange.appdata.xml -- Installing: /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/man/man1/lagrange.1 -- Installing: /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/lagrange/resources.lgr + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.18.3-1.fc40 --unique-debug-suffix -1.18.3-1.fc40.ppc64le --unique-debug-src-base lagrange-1.18.3-1.fc40.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lagrange-1.18.3 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/lagrange-1.18.3-1.fc40.ppc64le 7739 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xNdVg0 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -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 -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 lagrange-1.18.3 + desktop-file-validate /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le//usr/share/applications/fi.skyjake.Lagrange.desktop + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/metainfo/fi.skyjake.Lagrange.appdata.xml /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/metainfo/fi.skyjake.Lagrange.appdata.xml: OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: lagrange-1.18.3-1.fc40.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xBlNAY + umask 022 + cd /builddir/build/BUILD + cd lagrange-1.18.3 + DOCDIR=/builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/doc/lagrange + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/doc/lagrange + cp -pr /builddir/build/BUILD/lagrange-1.18.3/AUTHORS.md /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/doc/lagrange + cp -pr /builddir/build/BUILD/lagrange-1.18.3/README.md /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/doc/lagrange + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ysfWDe + umask 022 + cd /builddir/build/BUILD + cd lagrange-1.18.3 + LICENSEDIR=/builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/licenses/lagrange + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/licenses/lagrange + cp -pr /builddir/build/BUILD/lagrange-1.18.3/LICENSE.md /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le/usr/share/licenses/lagrange + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(fi.skyjake.Lagrange.desktop) lagrange = 1.18.3-1.fc40 lagrange(ppc-64) = 1.18.3-1.fc40 metainfo() metainfo(fi.skyjake.Lagrange.appdata.xml) mimehandler(x-scheme-handler/gemini) mimehandler(x-scheme-handler/gopher) mimehandler(x-scheme-handler/spartan) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libSDL2-2.0.so.0()(64bit) lib_Foundation.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libfribidi.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libharfbuzz.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.35)(64bit) libmpg123.so.0()(64bit) libwebp.so.7()(64bit) rtld(GNU_HASH) Processing files: lagrange-debugsource-1.18.3-1.fc40.ppc64le Provides: lagrange-debugsource = 1.18.3-1.fc40 lagrange-debugsource(ppc-64) = 1.18.3-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lagrange-debuginfo-1.18.3-1.fc40.ppc64le Provides: debuginfo(build-id) = beb78ad8d2b525b2c0bcb875a9802bf064c3162a lagrange-debuginfo = 1.18.3-1.fc40 lagrange-debuginfo(ppc-64) = 1.18.3-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lagrange-debugsource(ppc-64) = 1.18.3-1.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lagrange-1.18.3-1.fc40.ppc64le Wrote: /builddir/build/RPMS/lagrange-1.18.3-1.fc40.ppc64le.rpm Wrote: /builddir/build/RPMS/lagrange-debuginfo-1.18.3-1.fc40.ppc64le.rpm Wrote: /builddir/build/RPMS/lagrange-debugsource-1.18.3-1.fc40.ppc64le.rpm Child return code was: 0