==> Building on larvesta ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 2,163 100% 0.00kB/s 0:00:00 2,163 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=9/11) .nvchecker.toml 150 100% 146.48kB/s 0:00:00 150 100% 146.48kB/s 0:00:00 (xfr#2, to-chk=8/11) PKGBUILD 2,448 100% 2.33MB/s 0:00:00 2,448 100% 2.33MB/s 0:00:00 (xfr#3, to-chk=7/11) krita-5.2.9-2.log 456 100% 445.31kB/s 0:00:00 456 100% 445.31kB/s 0:00:00 (xfr#4, to-chk=6/11) sip-6.8.patch 440 100% 429.69kB/s 0:00:00 440 100% 429.69kB/s 0:00:00 (xfr#5, to-chk=5/11) keys/ keys/pgp/ keys/pgp/05D00A8B73A686789E0A156858B9596C722EA3BD.asc 700 22% 683.59kB/s 0:00:00 3,078 100% 2.94MB/s 0:00:00 (xfr#6, to-chk=2/11) keys/pgp/064182440C674D9F8D0F6F8B4DA79EDA231C852B.asc 700 22% 683.59kB/s 0:00:00 3,155 100% 3.01MB/s 0:00:00 (xfr#7, to-chk=1/11) keys/pgp/E9FB29E74ADEACC5E3035B8AB69EB4CF7468332F.asc 700 39% 683.59kB/s 0:00:00 1,782 100% 1.70MB/s 0:00:00 (xfr#8, to-chk=0/11) sent 3,353 bytes received 303 bytes 7,312.00 bytes/sec total size is 13,411 speedup is 3.67 ==> Ensuring required PGP keys are present...  -> Checking for 05D00A8B73A686789E0A156858B9596C722EA3BD...  -> Checking for E9FB29E74ADEACC5E3035B8AB69EB4CF7468332F...  -> Checking for 064182440C674D9F8D0F6F8B4DA79EDA231C852B... ==> Applying RISC-V patches... sending incremental file list ./ riscv64.patch 260 100% 0.00kB/s 0:00:00 260 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 287 bytes received 50 bytes 674.00 bytes/sec total size is 260 speedup is 0.77 patching file PKGBUILD Hunk #1 succeeded at 60 (offset -1 lines). ==> Patching arch to riscv64... ==> Running pkgctl build --arch riscv64 --repo extra on remote host... ==> WARNING: unsupported architecture: riscv64 ==> Building krita  -> repo: extra  -> arch: riscv64  -> worker: felix-0 ==> Building krita for [extra] (riscv64) ]2;🔵 Container arch-nspawn-1398089 on larvesta.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... resolving dependencies... looking for conflicting packages... Package (2) Old Version New Version Net Change Download Size core/gcc 14.2.1+r134+gab884fffe3fc-2 14.2.1+r753+g1cd744a6828f-1 0.12 MiB 57.27 MiB core/gcc-libs 14.2.1+r134+gab884fffe3fc-2 14.2.1+r753+g1cd744a6828f-1 0.12 MiB 29.58 MiB Total Download Size: 86.86 MiB Total Installed Size: 395.41 MiB Net Upgrade Size: 0.24 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... gcc-14.2.1+r753+g1cd744a6828f-1-riscv64 downloading... gcc-libs-14.2.1+r753+g1cd744a6828f-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... upgrading gcc-libs... upgrading gcc... :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Updating the info directory file... [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-0]...done ==> Making package: krita 5.2.9-2 (Thu Mar 6 23:39:02 2025) ==> Retrieving sources...  -> Downloading krita-5.2.9.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 3 264M 3 9.8M 0 0 3834k 0 0:01:10 0:00:02 0:01:08 10.0M 7 264M 7 20.6M 0 0 5800k 0 0:00:46 0:00:03 0:00:43 10.3M 11 264M 11 30.9M 0 0 6842k 0 0:00:39 0:00:04 0:00:35 10.3M 15 264M 15 41.3M 0 0 7508k 0 0:00:36 0:00:05 0:00:31 10.3M 19 264M 19 51.9M 0 0 8023k 0 0:00:33 0:00:06 0:00:27 10.4M 23 264M 23 63.2M 0 0 8481k 0 0:00:31 0:00:07 0:00:24 10.6M 28 264M 28 74.5M 0 0 8837k 0 0:00:30 0:00:08 0:00:22 10.7M 32 264M 32 85.7M 0 0 9111k 0 0:00:29 0:00:09 0:00:20 10.9M 36 264M 36 97.1M 0 0 9347k 0 0:00:29 0:00:10 0:00:19 11.1M 40 264M 40 108M 0 0 9538k 0 0:00:28 0:00:11 0:00:17 11.2M 45 264M 45 119M 0 0 9686k 0 0:00:28 0:00:12 0:00:16 11.2M 49 264M 49 130M 0 0 9822k 0 0:00:27 0:00:13 0:00:14 11.2M 53 264M 53 142M 0 0 9941k 0 0:00:27 0:00:14 0:00:13 11.2M 57 264M 57 152M 0 0 9.7M 0 0:00:27 0:00:15 0:00:12 11.1M 61 264M 61 163M 0 0 9.8M 0 0:00:27 0:00:16 0:00:11 10.9M 65 264M 65 173M 0 0 9.8M 0 0:00:26 0:00:17 0:00:09 10.7M 69 264M 69 184M 0 0 9.8M 0 0:00:26 0:00:18 0:00:08 10.6M 73 264M 73 194M 0 0 9.9M 0 0:00:26 0:00:19 0:00:07 10.4M 77 264M 77 204M 0 0 9.9M 0 0:00:26 0:00:20 0:00:06 10.3M 81 264M 81 215M 0 0 9.9M 0 0:00:26 0:00:21 0:00:05 10.4M 85 264M 85 226M 0 0 9.9M 0 0:00:26 0:00:22 0:00:04 10.5M 89 264M 89 236M 0 0 9.9M 0 0:00:26 0:00:23 0:00:03 10.4M 93 264M 93 247M 0 0 10.0M 0 0:00:26 0:00:24 0:00:02 10.5M 97 264M 97 258M 0 0 10.0M 0 0:00:26 0:00:25 0:00:01 10.6M 100 264M 100 264M 0 0 10.1M 0 0:00:26 0:00:26 --:--:-- 10.8M  -> Downloading krita-5.2.9.tar.gz.sig... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 310 100 310 0 0 243 0 0:00:01 0:00:01 --:--:-- 243  -> Found sip-6.8.patch ==> Validating source files with sha256sums... krita-5.2.9.tar.gz ... Passed krita-5.2.9.tar.gz.sig ... Skipped sip-6.8.patch ... Passed ==> Verifying source file signatures with gpg... krita-5.2.9.tar.gz ... Passed ]2;🔵 Container arch-nspawn-1399360 on larvesta.felixc.at\==> Making package: krita 5.2.9-2 (Thu Mar 6 15:40:32 2025) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... :: There are 2 providers available for jack: :: Repository extra 1) jack2 2) pipewire-jack Enter a number (default=1): looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency warning: dependency cycle detected: warning: mesa will be installed before its libglvnd dependency Package (189) New Version Net Change Download Size extra/alsa-lib 1.2.13-1 1.68 MiB extra/alsa-topology-conf 1.2.5.1-4 0.33 MiB extra/alsa-ucm-conf 1.2.13-2 0.45 MiB extra/aom 3.12.0-1 4.41 MiB extra/avahi 1:0.8+r194+g3f79789-3 1.80 MiB extra/blas 3.12.1-2 0.43 MiB 0.18 MiB extra/cairo 1.18.2-2 1.44 MiB extra/cblas 3.12.1-2 0.31 MiB 0.06 MiB extra/dav1d 1.5.1-1 0.62 MiB extra/default-cursors 3-1 0.00 MiB extra/double-conversion 3.3.1-1 0.17 MiB extra/duktape 2.7.0-7 0.78 MiB extra/flac 1.5.0-1 1.06 MiB extra/freeglut 3.6.0-1 0.38 MiB extra/gdk-pixbuf2 2.42.12-2 2.96 MiB extra/glew 2.2.0-7 3.56 MiB extra/glslang 15.1.0-1 61.09 MiB extra/glu 9.0.3-2 0.30 MiB extra/gperftools 2.16-1 2.30 MiB extra/graphite 1:1.3.14-4 0.18 MiB extra/gsm 1.0.22-2 0.09 MiB extra/hicolor-icon-theme 0.18-1 0.05 MiB extra/hidapi 0.14.0-3 0.13 MiB extra/highway 1.2.0-1 5.25 MiB extra/iso-codes 4.17.0-1 20.25 MiB extra/jack2 1.9.22-1 1.68 MiB extra/jasper 4.2.4-2 0.60 MiB extra/jbigkit 2.1-8 0.13 MiB extra/l-smash 2.14.5-4 1.00 MiB extra/lame 3.100-5 1.11 MiB extra/libass 0.17.3-1 0.23 MiB extra/libasyncns 1:0.8+r3+g68cd5af-3 0.04 MiB extra/libavc1394 0.5.4-6 0.11 MiB extra/libbluray 1.3.4-2 1.24 MiB core/libbpf 1.5.0-1 0.79 MiB extra/libbs2b 3.1.0-9 0.06 MiB extra/libcups 2:2.4.11-2 0.79 MiB extra/libdaemon 0.14-6 0.05 MiB extra/libdatrie 0.2.13-4 0.47 MiB extra/libdeflate 1.23-1 0.10 MiB 0.05 MiB extra/libdovi 3.3.1-1 0.48 MiB extra/libdrm 2.4.124-1 1.18 MiB extra/libdvdnav 6.1.1-2 0.14 MiB extra/libdvdread 6.1.3-2 0.30 MiB extra/libebur128 1.2.6-2 0.04 MiB 0.02 MiB core/libedit 20250104_3.1-1 0.25 MiB extra/libevdev 1.13.3-1 0.24 MiB extra/libglvnd 1.7.0-1 3.72 MiB extra/libgudev 238-1 0.38 MiB extra/libice 1.1.2-1 0.35 MiB extra/libiec61883 1.2.0-8 0.11 MiB core/libinih 58-1 0.04 MiB 0.02 MiB extra/libinput 1.27.1-1 1.05 MiB extra/libjxl 0.11.1-1 9.50 MiB extra/libmodplug 0.8.9.0-6 0.38 MiB extra/libogg 1.3.5-2 0.44 MiB extra/libopenmpt 0.7.13-2 1.97 MiB 0.85 MiB extra/libpciaccess 0.18.1-2 0.05 MiB extra/libpgm 5.3.128-3 0.32 MiB extra/libplacebo 7.349.0-4 1.49 MiB extra/libproxy 0.5.9-1 0.09 MiB extra/libpulse 17.0+r43+g3e2bb8a1e-1 1.38 MiB extra/libraw 0.21.3-1 2.54 MiB 0.48 MiB extra/libraw1394 2.1.2-4 0.15 MiB extra/librsvg 2:2.59.2-1 10.18 MiB extra/libsamplerate 0.2.2-3 1.55 MiB extra/libsm 1.2.5-1 0.26 MiB extra/libsndfile 1.2.2-3 0.93 MiB extra/libsodium 1.0.20-1 0.44 MiB extra/libsoxr 0.1.3-4 0.14 MiB extra/libssh 0.11.1-1 0.61 MiB extra/libthai 0.1.29-3 1.21 MiB extra/libtheora 1.1.1-6 1.56 MiB extra/libunwind 1.8.1-3 0.25 MiB extra/libva 2.22.0-1 0.94 MiB extra/libvdpau 1.5-3 0.27 MiB extra/libvorbis 1.3.7-4 0.84 MiB extra/libvpl 2.14.0-1 0.87 MiB extra/libvpx 1.15.0-1 2.45 MiB extra/libwacom 2.14.0-1 1.42 MiB extra/libxau 1.0.12-1 0.02 MiB extra/libxcb 1.17.0-1 3.69 MiB extra/libxcomposite 0.4.6-2 0.02 MiB extra/libxcursor 1.2.3-1 0.06 MiB extra/libxdmcp 1.1.5-1 0.13 MiB extra/libxext 1.3.6-1 0.29 MiB extra/libxfixes 6.0.1-2 0.03 MiB extra/libxft 2.3.8-2 0.12 MiB extra/libxi 1.8.2-1 0.47 MiB extra/libxkbcommon 1.8.0-1 0.87 MiB extra/libxkbcommon-x11 1.8.0-1 0.07 MiB extra/libxmu 1.2.1-1 0.32 MiB extra/libxrandr 1.5.4-1 0.06 MiB extra/libxrender 0.9.12-1 0.09 MiB extra/libxshmfence 1.3.3-1 0.01 MiB extra/libxt 1.3.1-1 1.99 MiB extra/libxv 1.0.13-1 0.05 MiB extra/libxxf86vm 1.1.6-1 0.03 MiB extra/llvm-libs 19.1.7-1 126.10 MiB extra/lm_sensors 1:3.6.0.r41.g31d1f125-3 0.42 MiB core/lzo 2.10-5 0.34 MiB extra/md4c 0.5.2-1 0.23 MiB extra/mesa 1:24.3.4-1 73.24 MiB extra/minizip-ng 4.0.8-1 0.23 MiB 0.07 MiB extra/mpdecimal 4.0.0-2 0.29 MiB extra/mpg123 1.32.10-1 1.04 MiB extra/mtdev 1.1.7-1 0.05 MiB extra/ocl-icd 2.3.2-2 0.41 MiB extra/opencore-amr 0.1.6-2 0.25 MiB extra/opus 1.5.2-1 5.19 MiB extra/pango 1:1.56.1-1 2.30 MiB extra/pixman 0.44.2-1 0.44 MiB extra/portaudio 1:19.7.0-3 0.31 MiB extra/pystring 1.1.4-2 0.09 MiB 0.04 MiB core/python 3.13.2-1 108.68 MiB extra/qt5-declarative 5.15.16+kde+r22-3 35.43 MiB extra/qt5-translations 5.15.16-3 14.71 MiB extra/qt5-wayland 5.15.16+kde+r59-3 5.96 MiB extra/rav1e 0.7.1-1 4.38 MiB extra/rubberband 4.0.0-1 1.21 MiB extra/sdl2 2.30.11-1 4.83 MiB extra/shaderc 2024.4-1 2.52 MiB extra/shared-mime-info 2.4-1 4.54 MiB extra/snappy 1.2.1-2 0.09 MiB extra/speex 1.2.1-2 0.60 MiB extra/speexdsp 1.2.1-2 0.52 MiB extra/spirv-tools 1:1.4.304.1-2 6.23 MiB extra/srt 1.5.4-1 1.35 MiB extra/svt-av1 2.3.0-1 2.54 MiB extra/tslib 1.23-1 0.35 MiB extra/v4l-utils 1.28.1-2 10.96 MiB extra/vapoursynth R70-2 1.92 MiB extra/vid.stab 1.1.1-2 0.13 MiB extra/vmaf 3.0.0-1 6.25 MiB extra/vulkan-icd-loader 1.4.304.1-1 0.46 MiB 0.14 MiB extra/wayland 1.23.1-1 0.79 MiB extra/x264 3:0.164.r3108.31e19f9-2 2.32 MiB extra/x265 4.0-1 4.63 MiB extra/xcb-proto 1.17.0-3 1.02 MiB extra/xcb-util 0.4.1-2 0.03 MiB extra/xcb-util-image 0.4.1-3 0.05 MiB extra/xcb-util-keysyms 0.4.1-5 0.01 MiB extra/xcb-util-renderutil 0.3.10-2 0.02 MiB extra/xcb-util-wm 0.4.2-2 0.21 MiB extra/xdg-utils 1.2.1-1 0.30 MiB extra/xkeyboard-config 2.44-1 6.58 MiB extra/xorg-xprop 1.2.8-1 0.05 MiB extra/xorg-xset 1.2.5-2 0.04 MiB extra/xorgproto 2024.1-2 1.46 MiB extra/xvidcore 1.3.7-3 0.45 MiB extra/yaml-cpp 0.8.0-2 0.39 MiB extra/zeromq 4.3.5-2 2.89 MiB extra/zimg 3.0.5-1 0.30 MiB extra/zlib-ng 2.2.4-1 0.21 MiB 0.09 MiB extra/exiv2 0.28.5-1 15.54 MiB 2.85 MiB extra/ffmpeg 2:7.1-6 37.07 MiB extra/fftw 3.3.10-7 4.49 MiB extra/fontconfig 2:2.16.0-2 1.06 MiB extra/freetype2 2.13.3-3 1.58 MiB extra/fribidi 1.0.16-1 0.24 MiB extra/giflib 5.2.2-1 0.23 MiB extra/gsl 2.8-1 4.31 MiB 1.59 MiB extra/harfbuzz 10.4.0-1 4.02 MiB extra/imath 3.1.12-3 23.78 MiB 3.54 MiB extra/kcompletion5 5.116.0-1 1.08 MiB extra/kconfig5 5.116.0-1 2.82 MiB extra/kcoreaddons5 5.116.0-1 3.28 MiB extra/kcrash5 5.116.0-1 0.21 MiB extra/kguiaddons5 5.116.0-1 0.69 MiB extra/ki18n5 5.116.0-1 17.41 MiB extra/kitemviews5 5.116.0-1 0.85 MiB extra/kwidgetsaddons5 5.116.0-1 11.18 MiB extra/kwindowsystem5 5.116.0-1 1.75 MiB extra/lcms2 2.17-1 0.64 MiB extra/libjpeg-turbo 3.1.0-1 1.99 MiB extra/libkdcraw5 24.12.2-1 0.12 MiB 0.04 MiB extra/libpng 1.6.47-1 0.53 MiB extra/libtiff 4.7.0-1 1.64 MiB extra/libunibreak 6.1-1 0.14 MiB extra/libwebp 1.5.0-1 0.86 MiB extra/libx11 1.8.11-1 9.73 MiB extra/mlt 7.30.0-1 8.91 MiB 2.71 MiB extra/opencolorio 2.4.0-6 7.93 MiB 2.22 MiB extra/openexr 3.3.2-1 5.04 MiB extra/openjpeg2 2.5.3-1 13.79 MiB extra/qt5-base 5.15.16+kde+r130-4 98.53 MiB 17.74 MiB extra/qt5-svg 5.15.16+kde+r5-3 0.46 MiB extra/qt5-x11extras 5.15.16-3 0.04 MiB extra/quazip-qt5 1.5-1 0.35 MiB 0.12 MiB Total Download Size: 32.81 MiB Total Installed Size: 905.82 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... qt5-base-5.15.16+kde+r130-4-riscv64 downloading... imath-3.1.12-3-riscv64 downloading... exiv2-0.28.5-1-riscv64 downloading... mlt-7.30.0-1-riscv64 downloading... opencolorio-2.4.0-6-riscv64 downloading... gsl-2.8-1-riscv64 downloading... libopenmpt-0.7.13-2-riscv64 downloading... libraw-0.21.3-1-riscv64 downloading... blas-3.12.1-2-riscv64 downloading... vulkan-icd-loader-1.4.304.1-1-riscv64 downloading... quazip-qt5-1.5-1-riscv64 downloading... zlib-ng-2.2.4-1-riscv64 downloading... minizip-ng-4.0.8-1-riscv64 downloading... cblas-3.12.1-2-riscv64 downloading... libdeflate-1.23-1-riscv64 downloading... libkdcraw5-24.12.2-1-riscv64 downloading... pystring-1.1.4-2-riscv64 downloading... libebur128-1.2.6-2-riscv64 downloading... libinih-58-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libinih... installing exiv2... installing alsa-topology-conf... installing alsa-ucm-conf... installing alsa-lib... installing aom... installing libpng... installing graphite... Optional dependencies for graphite graphite-docs: Documentation installing harfbuzz... Optional dependencies for harfbuzz harfbuzz-utils: utilities installing freetype2... installing fontconfig... Creating fontconfig configuration... Rebuilding fontconfig cache... installing xcb-proto... installing xorgproto... installing libxdmcp... installing libxau... installing libxcb... installing libx11... installing libxext... installing libxrender... installing lzo... installing pixman... installing cairo... installing dav1d... Optional dependencies for dav1d dav1d-doc: HTML documentation installing fribidi... installing spirv-tools... installing glslang... installing gsm... installing libsamplerate... installing opus... installing jack2... Optional dependencies for jack2 a2jmidid: for ALSA MIDI to JACK MIDI bridging libffado: for firewire support using FFADO jack-example-tools: for official JACK example-clients and tools jack2-dbus: for dbus integration jack2-docs: for developer documentation realtime-privileges: for realtime privileges installing lame... installing libunibreak... installing libass... installing libraw1394... installing libavc1394... installing libbluray... Optional dependencies for libbluray java-runtime: BD-J library installing libogg... installing flac... installing libvorbis... installing mpg123... Optional dependencies for mpg123 sdl2: for sdl audio support [pending] jack: for jack audio support [installed] libpulse: for pulse audio support [pending] perl: for conplay [installed] installing libsndfile... Optional dependencies for libsndfile alsa-lib: for sndfile-play [installed] installing libbs2b... installing libpciaccess... installing libdrm... Optional dependencies for libdrm cairo: needed for modetest tool [installed] installing libdvdread... Optional dependencies for libdvdread libdvdcss: Decoding encrypted DVDs installing libdvdnav... installing libxshmfence... installing libxxf86vm... installing libedit... installing llvm-libs... installing lm_sensors... Optional dependencies for lm_sensors rrdtool: for logging with sensord perl: for sensor detection and configuration convert [installed] installing default-cursors... Optional dependencies for default-cursors adwaita-cursors: default cursor theme installing wayland... installing mesa... Optional dependencies for mesa opengl-man-pages: for the OpenGL API man pages installing libglvnd... installing libiec61883... installing giflib... installing libunwind... installing gperftools... Optional dependencies for gperftools graphviz: pprof graph generation perl: pprof and pprof-symbolize commands [installed] installing highway... installing libjpeg-turbo... Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper installing libjxl... Optional dependencies for libjxl gdk-pixbuf2: for gdk-pixbuf loader [pending] gimp: for gimp plugin java-runtime: for JNI bindings installing libmodplug... installing libasyncns... installing libpulse... Optional dependencies for libpulse pulse-native-provider: PulseAudio backend installing portaudio... installing libopenmpt... installing vulkan-icd-loader... Optional dependencies for vulkan-icd-loader vulkan-driver: packaged vulkan driver installing jbigkit... installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt [pending] installing lcms2... installing shaderc... installing libdovi... installing libplacebo... installing shared-mime-info... installing gdk-pixbuf2... Optional dependencies for gdk-pixbuf2 libwmf: Load .wmf and .apm libopenraw: Load .dng, .cr2, .crw, .nef, .orf, .pef, .arw, .erf, .mrw, and .raf libavif: Load .avif libheif: Load .heif, .heic, and .avif libjxl: Load .jxl [installed] librsvg: Load .svg, .svgz, and .svg.gz [pending] webp-pixbuf-loader: Load .webp installing libdatrie... installing libthai... installing libxft... installing pango... installing librsvg... installing libsoxr... installing libssh... installing libtheora... installing libxfixes... installing libva... Optional dependencies for libva intel-media-driver: backend for Intel GPUs (>= Broadwell) libva-intel-driver: backend for Intel GPUs (<= Haswell) libva-mesa-driver: backend for AMD and NVIDIA GPUs [installed] installing libvdpau... Optional dependencies for libvdpau libvdpau-va-gl: driver using VAAPI mesa-vdpau: driver for Mesa [installed] nvidia-utils: driver for NVIDIA installing libvpx... installing libwebp... installing libxv... installing ocl-icd... Optional dependencies for ocl-icd opencl-driver: packaged opencl driver installing libvpl... Optional dependencies for libvpl intel-media-sdk: runtime implementation for legacy Intel GPUs vpl-gpu-rt: runtime implementation for Tiger Lake and newer GPUs installing opencore-amr... installing openjpeg2... installing rav1e... installing fftw... Optional dependencies for fftw fftw-openmpi: for OpenMPI integration installing rubberband... installing libxcursor... installing hidapi... Optional dependencies for hidapi libusb: for hidapi-libusb [installed] installing sdl2... Optional dependencies for sdl2 alsa-lib: ALSA audio driver [installed] libpulse: PulseAudio audio driver [installed] jack: JACK audio driver [installed] pipewire: PipeWire audio driver libdecor: Wayland client decorations installing snappy... installing speexdsp... installing speex... installing srt... installing svt-av1... installing hicolor-icon-theme... installing libbpf... installing v4l-utils... Optional dependencies for v4l-utils qt6-base: for qv4l2 and qvidcap qt6-5compat: for qv4l2 alsa-lib: for qv4l2 [installed] installing zimg... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter installing vapoursynth... installing vid.stab... installing vmaf... installing l-smash... installing x264... installing x265... installing xvidcore... installing libsodium... installing libpgm... installing zeromq... Optional dependencies for zeromq cppzmq: C++ binding for libzmq installing ffmpeg... Optional dependencies for ffmpeg avisynthplus: AviSynthPlus support frei0r-plugins: Frei0r video effects support ladspa: LADSPA filters onevpl-intel-gpu: Intel QuickSync support installing blas... installing cblas... installing gsl... installing imath... Optional dependencies for imath boost-libs: python bindings python: python bindings [installed] installing xcb-util-keysyms... installing xcb-util-renderutil... installing libice... installing libsm... installing libxt... installing libxmu... installing xorg-xset... installing xorg-xprop... installing xdg-utils... Optional dependencies for xdg-utils kde-cli-tools: for KDE Plasma5 support in xdg-open exo: for Xfce support in xdg-open pcmanfm: for LXDE support in xdg-open perl-file-mimeinfo: for generic support in xdg-open perl-net-dbus: Perl extension to dbus used in xdg-screensaver perl-x11-protocol: Perl X11 protocol used in xdg-screensaver installing xcb-util-wm... installing libxi... installing xcb-util... installing xcb-util-image... installing tslib... installing mtdev... installing libevdev... installing libgudev... installing libwacom... Optional dependencies for libwacom python-libevdev: for libwacom-show-stylus python-pyudev: for libwacom-show-stylus installing libinput... Optional dependencies for libinput gtk4: libinput debug-gui python-pyudev: libinput measure python-libevdev: libinput measure python-yaml: used by various tools installing xkeyboard-config... installing libxkbcommon... Optional dependencies for libxkbcommon libxkbcommon-x11: xkbcli interactive-x11 [pending] wayland: xkbcli interactive-wayland [installed] installing libxkbcommon-x11... installing duktape... installing libproxy... installing libdaemon... installing avahi... Optional dependencies for avahi gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc libevent: libevent bindings [installed] nss-mdns: NSS support for mDNS python-dbus: avahi-bookmarks, avahi-discover python-gobject: avahi-bookmarks, avahi-discover python-twisted: avahi-bookmarks qt5-base: qt5 bindings [pending] installing libcups... installing double-conversion... installing md4c... installing qt5-translations... installing qt5-base... Optional dependencies for qt5-base qt5-svg: to use SVG icon themes [pending] qt5-wayland: to run Qt applications in a Wayland session [pending] postgresql-libs: PostgreSQL driver mariadb-libs: MariaDB driver unixodbc: ODBC driver libfbclient: Firebird/iBase driver freetds: MS SQL driver gtk3: GTK platform plugin perl: for fixqt4headers and syncqt [installed] installing kwidgetsaddons5... installing kconfig5... Optional dependencies for kconfig5 qt5-declarative: QML bindings [pending] installing kcompletion5... installing kcoreaddons5... installing qt5-x11extras... installing kwindowsystem5... installing kcrash5... Optional dependencies for kcrash5 drkonqi: KDE crash handler application installing qt5-declarative... installing libxcomposite... installing qt5-wayland... installing kguiaddons5... installing iso-codes... installing ki18n5... Optional dependencies for ki18n5 python: to compile .ts files [installed] installing kitemviews5... installing libxrandr... installing freeglut... installing glu... installing jasper... Optional dependencies for jasper jasper-doc: documentation installing libraw... installing libkdcraw5... installing libebur128... installing mlt... Optional dependencies for mlt ffmpeg: ffmpeg plugin [installed] fftw: plus plugin [installed] fontconfig: gdk plugin [installed] frei0r-plugins: for additional effects gdk-pixbuf2: gdk plugin [installed] glib2: gdk plugin [installed] jack: JACK sound output plugin [installed] ladspa: LADSPA plugins libepoxy: opengl plugin libexif: auto rotate plugin libglvnd: opengl plugin [installed] libsamplerate: libavresample plugin [installed] libvorbis: vorbis plugin [installed] libx11: SDL1 plugin [installed] libxml2: XML plugin [installed] movit: opengl plugin opencv: openCV plugin qt5-base: QT5 plugins [installed] qt5-svg: Qt5 plugins [pending] qt6-base: Qt6 plugin qt6-5compat: Qt6 plugin qt6-svg: Qt6 plugin pango: gdk plugin [installed] python: python bindings [installed] rtaudio: rtaudio plugin rubberband: audio pitch plugin [installed] sdl2: SDL2 plugin [installed] sdl_image: SDL1 plugin sdl12-compat: SDL1 plugin sox: SOX (Audio Swiss Army Knife) plugin vid.stab: video stabilize plugin [installed] zlib: glaxnimate plugin [installed] installing glew... Optional dependencies for glew libx11: for glxewinfo and visualinfo [installed] installing yaml-cpp... installing pystring... installing zlib-ng... installing minizip-ng... installing libdeflate... installing openexr... installing opencolorio... Optional dependencies for opencolorio python: python bindings [installed] installing qt5-svg... installing quazip-qt5... :: Running post-transaction hooks... ( 1/12) Creating system user accounts... Creating group 'avahi' with GID 972. Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 972 and GID 972. ( 2/12) Reloading system manager configuration... Skipped: Current root is not booted. ( 3/12) Reloading user manager configuration... Skipped: Current root is not booted. ( 4/12) Updating udev hardware database... ( 5/12) Reloading device manager configuration... Skipped: Device manager is not running. ( 6/12) Arming ConditionNeedsUpdate... ( 7/12) Updating the MIME type database... ( 8/12) Updating fontconfig configuration... ( 9/12) Reloading system bus configuration... Skipped: Current root is not booted. (10/12) Updating fontconfig cache... (11/12) Probing GDK-Pixbuf loader modules... (12/12) Updating the info directory file... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (48) New Version Net Change Download Size extra/babl 0.1.110-1 2.43 MiB 1.32 MiB extra/boost-libs 1.87.0-3 7.75 MiB 2.55 MiB extra/cmake 3.31.6-1 68.48 MiB 12.53 MiB extra/cppdap 1.58.0-2 1.48 MiB extra/docbook-xml 4.5-10 1.96 MiB extra/docbook-xsl 1.79.2-9 26.32 MiB extra/gegl 0.4.52-2 16.97 MiB 3.69 MiB extra/json-glib 1.10.6-1 0.99 MiB extra/jsoncpp 1.9.6-3 3.16 MiB extra/karchive5 5.116.0-1 1.01 MiB extra/lapack 3.12.1-2 9.09 MiB 3.98 MiB extra/lensfun 1:0.3.4-5 4.28 MiB 0.38 MiB extra/libde265 1.0.15-3 0.62 MiB extra/libspiro 1:20240903-1 0.03 MiB 0.02 MiB extra/libuv 1.50.0-1 0.59 MiB extra/libxslt 1.1.42-2 0.77 MiB extra/luajit 2.1.1702376626-1 0.76 MiB core/nspr 4.36-1 0.70 MiB core/nss 3.109-1 4.66 MiB 1.71 MiB extra/poppler 25.02.0-2 5.90 MiB 1.64 MiB extra/poppler-glib 25.02.0-2 3.17 MiB 0.34 MiB extra/python-autocommand 2.2.2-7 0.08 MiB extra/python-jaraco.collections 5.1.0-1 0.10 MiB extra/python-jaraco.context 6.0.1-1 0.04 MiB extra/python-jaraco.functools 4.1.0-1 0.07 MiB extra/python-jaraco.text 4.0.0-2 0.08 MiB extra/python-more-itertools 10.6.0-1 0.66 MiB 0.11 MiB extra/python-packaging 24.2-3 0.66 MiB extra/python-platformdirs 4.3.6-2 0.24 MiB extra/python-pyqt5-sip 12.17.0-1 0.14 MiB 0.06 MiB extra/python-setuptools 1:75.8.0-1 8.15 MiB extra/python-wheel 0.45.0-3 0.28 MiB extra/rhash 1.4.4-1 0.31 MiB extra/suitesparse 7.10.0-1 4.05 MiB 1.48 MiB extra/boost 1.87.0-3 335.05 MiB 30.06 MiB extra/eigen 3.4.0-2 8.37 MiB 1.05 MiB extra/extra-cmake-modules 6.11.0-1 1.97 MiB 0.43 MiB extra/immer 0.8.1-1 0.60 MiB 0.07 MiB extra/kdoctools5 5.116.0-1 2.53 MiB 0.57 MiB extra/kseexpr 4.0.4.0-2 1.90 MiB 0.44 MiB extra/lager 0.1.1-1 0.25 MiB 0.05 MiB extra/libheif 1.19.7-1 1.48 MiB 0.52 MiB extra/libmypaint 1.6.1-2 1.08 MiB 0.22 MiB extra/poppler-qt5 25.02.0-2 0.81 MiB 0.26 MiB extra/python-pyqt5 5.15.11-2 28.11 MiB 4.31 MiB extra/qt5-tools 5.15.16+kde+r3-6 20.90 MiB 6.10 MiB extra/sip 6.10.0-1 13.01 MiB 0.63 MiB extra/zug 0.1.1-2 0.18 MiB 0.04 MiB Total Download Size: 74.57 MiB Total Installed Size: 592.25 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... boost-1.87.0-3-riscv64 downloading... cmake-3.31.6-1-riscv64 downloading... qt5-tools-5.15.16+kde+r3-6-riscv64 downloading... python-pyqt5-5.15.11-2-riscv64 downloading... lapack-3.12.1-2-riscv64 downloading... gegl-0.4.52-2-riscv64 downloading... boost-libs-1.87.0-3-riscv64 downloading... nss-3.109-1-riscv64 downloading... poppler-25.02.0-2-riscv64 downloading... suitesparse-7.10.0-1-riscv64 downloading... babl-0.1.110-1-riscv64 downloading... eigen-3.4.0-2-any downloading... sip-6.10.0-1-any downloading... kdoctools5-5.116.0-1-riscv64 downloading... libheif-1.19.7-1-riscv64 downloading... kseexpr-4.0.4.0-2-riscv64 downloading... extra-cmake-modules-6.11.0-1-any downloading... lensfun-1:0.3.4-5-riscv64 downloading... poppler-glib-25.02.0-2-riscv64 downloading... poppler-qt5-25.02.0-2-riscv64 downloading... libmypaint-1.6.1-2-riscv64 downloading... python-more-itertools-10.6.0-1-any downloading... immer-0.8.1-1-any downloading... python-pyqt5-sip-12.17.0-1-riscv64 downloading... lager-0.1.1-1-any downloading... zug-0.1.1-2-any downloading... libspiro-1:20240903-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing boost-libs... Optional dependencies for boost-libs openmpi: for mpi support installing boost... Optional dependencies for boost python: for python bindings [installed] installing eigen... installing cppdap... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator qt6-base: cmake-gui installing extra-cmake-modules... Optional dependencies for extra-cmake-modules python-pyxdg: to generate fastlane metadata for Android apps python-requests: to generate fastlane metadata for Android apps python-yaml: to generate fastlane metadata for Android apps installing immer... installing karchive5... installing docbook-xml... installing libxslt... Optional dependencies for libxslt python: Python bindings [installed] installing docbook-xsl... installing kdoctools5... installing kseexpr... installing lager... installing libde265... Optional dependencies for libde265 ffmpeg: for sherlock265 [installed] qt5-base: for sherlock265 [installed] sdl: dec265 YUV overlay output installing libheif... Optional dependencies for libheif libjpeg-turbo: for heif-convert and heif-enc [installed] libpng: for heif-convert and heif-enc [installed] dav1d: dav1d encoder [installed] ffmpeg: hardware decode [installed] rav1e: rav1e encoder [installed] svt-av1: svt-av1 encoder [installed] installing babl... installing json-glib... installing lensfun... Optional dependencies for lensfun python: for lensfun-update-data and lensfun-add-adapter [installed] installing libspiro... installing luajit... installing nspr... installing nss... installing poppler... Optional dependencies for poppler poppler-data: highly recommended encoding data to display PDF documents with certain encodings and characters installing poppler-glib... installing lapack... installing suitesparse... installing gegl... Optional dependencies for gegl ffmpeg: FFmpeg Frame Loader and FFmpeg Frame Saver plugins [installed] graphviz: for gegl-introspect sdl2: SDL2 Display plugin [installed] installing libmypaint... installing poppler-qt5... installing python-pyqt5-sip... installing python-pyqt5... Optional dependencies for python-pyqt5 python-opengl: enable OpenGL 3D graphics in PyQt applications python-dbus: for python-dbus mainloop support qt5-multimedia: QtMultimedia, QtMultimediaWidgets qt5-tools: QtHelp, QtDesigner [pending] qt5-svg: QtSvg [installed] qt5-xmlpatterns: QtXmlPatterns qt5-declarative: QtQml, qmlplugin [installed] qt5-serialport: QtSerialPort qt5-websockets: QtWebSockets qt5-connectivity: QtNfc, QtBluetooth qt5-x11extras: QtX11Extras [installed] qt5-remoteobjects: QtRemoteObjects qt5-speech: QtTextToSpeech qt5-quick3d: QtQuick3D qt5-location: QtLocation, QtPositioning qt5-sensors: QtSensors qt5-webchannel: QtWebChannel installing qt5-tools... Optional dependencies for qt5-tools clang: for qdoc qt5-declarative: for qdistancefieldgenerator [installed] installing python-packaging... installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-jaraco.text... Optional dependencies for python-jaraco.text python-inflect: for show-newlines script installing python-jaraco.collections... installing python-platformdirs... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures python-setuptools: for legacy bdist_wheel subcommand [pending] installing python-setuptools... installing sip... installing zug... :: Running post-transaction hooks... (1/3) Arming ConditionNeedsUpdate... (2/3) Updating the MIME type database... (3/3) Probing GDK-Pixbuf loader modules... [?25h==> Retrieving sources...  -> Found krita-5.2.9.tar.gz  -> Found krita-5.2.9.tar.gz.sig  -> Found sip-6.8.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting krita-5.2.9.tar.gz with bsdtar ==> Starting prepare()... patching file cmake/modules/pyproject.toml.in Hunk #1 succeeded at 9 with fuzz 1. ==> Starting build()... -- The CXX compiler identification is GNU 14.2.1 -- The C compiler identification is GNU 14.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Using CMake version: 3.31.6-dirty -- Krita version: 5.2.9 -- Branding selected: default -- Found Python: /usr/bin/python3.13 (found suitable version "3.13.2", minimum required is "3.8") found components: Interpreter Development Development.Module Development.Embed -- FindPythonLibrary: TRUE -- Python system site-packages directory: /usr/lib/python3.13/site-packages CMake Warning at cmake/modules/FindPythonLibrary.cmake:68 (message): CMAKE_PREFIX_PATH variable is not set, we might NOT be able to detect SIP modules Call Stack (most recent call first): CMakeLists.txt:333 (find_package) -- Krita site-packages directories for SIP v4: /usr/local/lib/krita-python-libs -- Krita site-packages directories for SIP v5+: /usr/local/lib/python3.13/site-packages -- Found PythonLibrary: /usr/lib/libpython3.13.so (Required is at least version "3.8") -- Installing in the same prefix as Qt, adopting their path scheme. -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_DATE_TIME -- Performing Test HAVE_DATE_TIME - Success -- Found KF5Config: /usr/lib/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.116.0") -- Found KF5WidgetsAddons: /usr/lib/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.116.0") -- Found KF5Completion: /usr/lib/cmake/KF5Completion/KF5CompletionConfig.cmake (found version "5.116.0") -- Found KF5CoreAddons: /usr/lib/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.116.0") -- Found KF5GuiAddons: /usr/lib/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.116.0") -- Found Gettext: /usr/bin/msgmerge (found version "0.24") -- Found KF5I18n: /usr/lib/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.116.0") -- Found KF5ItemViews: /usr/lib/cmake/KF5ItemViews/KF5ItemViewsConfig.cmake (found version "5.116.0") -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found KF5WindowSystem: /usr/lib/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.116.0") -- Found KF5: success (found suitable version "5.116.0", minimum required is "5.44.0") found components: Config WidgetsAddons Completion CoreAddons GuiAddons I18n ItemViews WindowSystem -- Performing Test HAVE_HIGH_DPI_SCALE_FACTOR_ROUNDING_POLICY -- Performing Test HAVE_HIGH_DPI_SCALE_FACTOR_ROUNDING_POLICY - Success -- Performing Test HAVE_QMDIAREA_ALWAYS_SHOW_SUBWINDOW_TITLE -- Performing Test HAVE_QMDIAREA_ALWAYS_SHOW_SUBWINDOW_TITLE - Failed -- Found X11: /usr/include found components: Xinput -- Found ZLIB: /usr/lib/libz.so (found version "1.3.1") -- Found PNG: /usr/lib/libpng.so (found version "1.6.47") CMake Warning (dev) at CMakeLists.txt:816 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Found Boost: /usr/lib/cmake/Boost-1.87.0/BoostConfig.cmake (found suitable version "1.87.0", minimum required is "1.65") found components: system -- Found GSL: /usr/include (found version "2.8") -- Found WebP: /usr/include (found suitable version "1.5.0", minimum required is "1.2.0") found components: demux mux -- Found OpenEXR: /usr/lib/cmake/OpenEXR/OpenEXRConfig.cmake (found version "3.3.2") -- Found TIFF: /usr/lib/libtiff.so (found version "4.7.0") -- Performing Test TIFF_HAS_PSD_TAGS -- Performing Test TIFF_HAS_PSD_TAGS - Success -- Performing Test TIFF_CAN_WRITE_PSD_TAGS -- Performing Test TIFF_CAN_WRITE_PSD_TAGS - Success -- Found JPEG: /usr/lib/libjpeg.so (found version "80") -- Found libjpeg-turbo: /usr/include (found suitable version "3.1.0", minimum required is "2.1.3") found components: turbojpeg -- Found GIF: /usr/lib/libgif.so (found version "5.2.2") -- Found HEIF: /usr/include (found suitable version "1.19.7", minimum required is "1.11.0") -- Found OpenJPEG: /usr/include/openjpeg-2.5 (found suitable version "2.5.3", minimum required is "2.3.0") -- Found JPEGXL: /usr/lib/libjxl.so (found suitable version "0.11.1", minimum required is "0.7.0") -- Found FFTW3: /usr/include (found version "3.3.10") -- Found OpenColorIO: /usr/include/OpenColorIO (found suitable version "2.4.0", minimum required is "1.1.1") -- Found SIP version: 6.10.0 -- Found PyQt5 version: 5.15.11 -- Warning: Property DESCRIPTION for package SDL2 already set to "low level access to audio, keyboard, mouse, joystick, and graphics hardware", overriding it with "Simple DirectMedia Layer 2" -- Found LibMyPaint: /usr/include (found suitable version "1.6.1", minimum required is "1.4.0") -- Found QtGui OpenGL support -- Found LibExiv2: /usr/lib/libexiv2.so (found suitable version "0.28.5", minimum required is "0.16") -- Found LCMS2: /usr/lib/liblcms2.so (found suitable version "2.17.0", minimum required is "2.4") -- Could NOT find xsimd: found neither xsimdConfig.cmake nor xsimd-config.cmake (Required is at least version "8.1.0") -- Could NOT find xsimd: found neither xsimdConfig.cmake nor xsimd-config.cmake (Required is at least version "9") -- Could NOT find xsimd: found neither xsimdConfig.cmake nor xsimd-config.cmake (Required is at least version "10") -- Could NOT find xsimd: found neither xsimdConfig.cmake nor xsimd-config.cmake (Required is at least version "11") -- Could NOT find xsimd: found neither xsimdConfig.cmake nor xsimd-config.cmake (Required is at least version "12") -- Could NOT find xsimd: found neither xsimdConfig.cmake nor xsimd-config.cmake (Required is at least version "13") -- Poppler: Qt5 requires Core -- Found Poppler_Core: /usr/lib/libpoppler.so (found version "25.02.0") -- Found Poppler_Qt5: /usr/lib/libpoppler-qt5.so (found version "25.02.0") -- Found Poppler: /usr/lib/libpoppler.so;/usr/lib/libpoppler-qt5.so (found version "25.02.0") found components: Qt5 -- Found Freetype: /usr/lib/libfreetype.so (found suitable version "2.13.3", minimum required is "2.11.0") -- Found the following HarfBuzz libraries: -- HarfBuzz (required): /usr/lib/libharfbuzz.so -- Found HarfBuzz: /usr/include/harfbuzz (found suitable version "10.4.0", minimum required is "4.0.0") -- Found Fontconfig: /usr/lib/libfontconfig.so (found suitable version "2.16.0", minimum required is "2.13.1") -- Found libunibreak: /usr/include (found suitable version "6.1", minimum required is "5.0") CMake Warning at CMakeLists.txt:1219 (message): No externals download dir set, default location inside build tree is used. Use -DEXTERNALS_DOWNLOAD_DIR to override -- Found FriBidi: /usr/include/fribidi (found suitable version "1.0.16", minimum required is "1.0.6") -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Looking for backtrace -- Looking for backtrace - found -- Found Threads: TRUE 060a00 - The version of SIP found expressed as a 6 digit hex number suitable for comparison as a string. 6.10.0 - The version of SIP found as a human readable string. /usr/bin/sip-build - Path and filename of the SIP command line executable. -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for gettext -- Looking for gettext - found -- Looking for iconv -- Looking for iconv - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Performing Test STDC_HEADERS -- Performing Test STDC_HEADERS - Success -- Looking for powf -- Looking for powf - not found Broken tests: * libs-flake-TestPointMergeCommand * libs-flake-TestSvgText * libs-flake-TestSvgTextCloned * libs-flake-TestSvgTextRoundTrip * libs-image-kis_transform_mask_test * libs-image-kis_perspective_transform_worker_test * libs-ui-KisPaintingAssistantsDecorationTest * libs-ui-KisClipboardTest * libs-ui-FreehandStrokeTest * libs-ui-FreehandStrokeBenchmark * libs-ui-KisPaintOnTransparencyMaskTest * libs-ui-FillProcessingVisitorTest * libs-ui-FilterStrokeTest * libs-ui-KisSelectionManagerTest * libs-ui-KisNodeManagerTest * libs-ui-KisZoomAndPanTest * libs-ui-KisActionManagerTest * libs-ui-KisCategoriesMapperTest * krita-filters-kis_all_filter_test * krita-filters-kis_crash_filter_test * plugins-impex-kis_png_test * plugins-impex-kis_csv_test * plugins-impex-KisSvgTest * plugins-metadata-KisExifTest * plugins-libpaintop-kis_linked_pattern_manager_test * plugins-defaultpaintops-KisBrushOpTest * plugins-tools-basictools-MoveStrokeTest * plugins-tooltransform-TransformStrokeStrategyTest -- The following features have been enabled: * Hide safe asserts, Don't show message box for "safe" asserts, just ignore them automatically and dump a message to the terminal. * Lock free hash table, Use lock free hash table instead of blocking. * Limit long tests, Run long running unittests in a limited quick mode * Build Qt Designer plugins, Builds Qt Designer plugins for Krita widgets (use -DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON to enable). * Enable updaters, Enable updaters/update notifications. -- The following OPTIONAL packages have been found: * PythonLibrary (required version >= 3.8), Python Library, Required by the Krita PyQt plugin * Qt5Qml (required version >= 5.15.16) * Qt5QmlModels (required version >= 5.15.16) * Qt5Quick (required version >= 5.12.0), QtQuick, Optionally used for the touch gui for Krita * Qt5QuickWidgets (required version >= 5.12.0), QtQuickWidgets, Optionally used for the touch gui for Krita * Qt5DBus (required version >= 5.12.0), Qt DBUS integration, Optionally used to provide a dbus api on Linux * KF5Crash (required version >= 5.44.0), KDE's Crash Handler, Optionally used to provide crash reporting on Linux * WebP (required version >= 1.2.0), Required by the WebP plugin * KSeExpr (required version >= 4.0.0.0), Required by the SeExpr generator layer * OpenEXR, A library for handling OpenEXR high dynamic-range image files, * JPEG, Free library for JPEG image compression. Note that libjpeg8 is NOT supported., Required by the Krita JPEG filter * libjpeg-turbo (required version >= 2.1.3), libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2, AVX2, Neon, AltiVec) to accelerate baseline JPEG compression and decompression on x86, x86-64, Arm, and PowerPC systems, as well as progressive JPEG compression on x86 and x86-64 systems., Required by the Krita JPEG and TIFF filters * GIF, Library for loading and saving gif files., Required by the Krita GIF filter * HEIF (required version >= 1.11.0), Library for loading and saving heif files., Required by the Krita HEIF filter * OpenJPEG (required version >= 2.3.0), Library for loading and saving jp2000 files., Required by the Krita JP2000 filter * JPEGXL (required version >= 0.7.0), JPEG XL is a royalty-free raster-graphics file format that supports both lossy and lossless compression and is experimentally supported by Chrome, Firefox, and Edge., Required by the Krita JPEG-XL filter * FFTW3, A fast, free C FFT library, Required by the Krita for fast convolution operators and some G'Mic features * OpenColorIO (required version >= 1.1.1), The OpenColorIO Library, Required by the Krita LUT docker * SIP (required version >= 4.19.13), Support for generating SIP Python bindings, Required by the Krita PyQt plugin * PyQt5 (required version >= 5.6.0), Python bindings for Qt5., Required by the Krita PyQt plugin * Mlt7, Media Lovin' Toolkit (Multimedia Framework), Required to do audio/video syncrhonization and processing. No MLT = No Audio! * LibMyPaint (required version >= 1.4.0), MyPaint brush engine API for C/C++ Required for the MyPaint brush engine * Poppler, A PDF rendering library, Required by the Krita PDF filter. * KF5KDcraw (required version >= 5.0.0), A thread-safe wrapper around libraw, Needed for reading RAW files -- The following RECOMMENDED packages have been found: * GSL, Required by Krita's Transform tool. -- The following REQUIRED packages have been found: * Python (required version >= 3.8) * ECM (required version >= 5.22) * KF5Config (required version >= 5.44.0) * KF5WidgetsAddons (required version >= 5.44.0) * KF5Completion (required version >= 5.44.0) * KF5CoreAddons (required version >= 5.44.0) * KF5GuiAddons (required version >= 5.44.0) * KF5ItemViews (required version >= 5.44.0) * KF5WindowSystem (required version >= 5.44.0) * KF5 (required version >= 5.44.0) * Qt5Widgets * Qt5Xml * Qt5Network * Qt5PrintSupport * Qt5Svg * Qt5Test * Qt5Concurrent * Qt5Sql * Qt5X11Extras * X11 * PNG * boost_headers (required version == 1.87.0) * boost_system (required version == 1.87.0) * Boost (required version >= 1.65), Boost provides free peer-reviewed portable C++ source libraries., * Immer * Zug * Lager * TIFF, TIFF Library and Utilities, Required by the Krita TIFF filter * SDL2, Simple DirectMedia Layer 2, Required for MLT to render audio buffers. Required **only** when MLT is found on the system. * Eigen3 (required version >= 3.3), C++ template library for linear algebra, * LibExiv2 (required version >= 0.16), Image metadata support, * LCMS2 (required version >= 2.4), LittleCMS Color management engine, Will be used for color management and is necessary for Krita * ZLIB, Compression library, Required by Krita's PNG and PSD support * QUAZIP (required version >= 0.6), A library for reading and writing zip files, Needed for reading and writing KRA and ORA files * Qt5Gui (required version >= 5.15.0) * Freetype (required version >= 2.11.0), A library for rendering glyphs, Needed for rendering text vector shapes. * HarfBuzz (required version >= 4.0.0), OpenType text shaping engine, Needed for rendering text vector shapes. * Fontconfig (required version >= 2.13.1) Needed for getting font file information. * libunibreak (required version >= 5.0), Implementation of the line breaking and word breaking algorithms as described in Unicode Standard Annex 14 and Unicode Standard Annex 29, Needed for rendering text vector shapes. * FriBidi (required version >= 1.0.6), GNU FriBidi, Needed by libraqm to perform bidirectional text layout. * Qt5Core (required version >= 5.15.2) * Gettext * KF5I18n * Threads * Qt5UiPlugin (required version >= 5.15.16) * Qt5Designer * Qt5 (required version >= 5.12.0) -- The following features have been disabled: * Install benchmarks, Install benchmarks into the installation root to make them packagable * Crash on safe asserts, Crash unconditionally whenever a "safe" assert happens. Useful for running unittests * Foundation Build, A Foundation build is a binary release build that can package some extra things like color themes. Linux distributions that build and install Krita into a default system location should not define this option to true. * Enable Broken Tests, Runs broken test when "make test" is invoked (use -DKRITA_ENABLE_BROKEN_TESTS=ON to enable). * Precompiled Headers, precompiled headers make build process faster on some systems * ASAN address sanitizer, crash Krita if it violates address access rules (-DECM_ENABLE_SANITIZERS=address) -- The following OPTIONAL packages have not been found: * xsimd (required version >= 13), C++ wrappers for SIMD intrinsics, Required by Krita for vectorization -- Configuring done (108.5s) CMake Warning (dev) at CMakeLists.txt:727 (add_library): Policy CMP0115 is not set: Source file extensions must be explicit. Run "cmake --help-policy CMP0115" for policy details. Use the cmake_policy command to set the policy and suppress this warning. File: /build/krita/src/krita-5.2.9/libs/image/commands/KisBatchUpdateLayerModificationCommand.cpp Call Stack (most recent call first): libs/image/CMakeLists.txt:366 (kis_add_library) This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done (72.1s) -- Build files have been written to: /build/krita/src/build [ 0%] Built target kritaversion_autogen_timestamp_deps [ 0%] Generating ts... [ 0%] Building C object 3rdparty_vendor/raqm/CMakeFiles/libraqm.dir/src/raqm-0.10.1/src/raqm.c.o [ 0%] Generating mo... cc1: warning: command-line option ‘-Wno-class-memaccess’ is valid for C++/ObjC++ but not for C [ 0%] Built target xcftools_autogen_timestamp_deps [ 0%] Built target tsfiles-782b9684645a8985a5284d2098de111b [ 0%] Automatic MOC for target xcftools [ 0%] Automatic MOC for target kritaversion /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c: In function ‘_raqm_alloc_text’: /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c:320:19: warning: cast increases required alignment of target type [-Wcast-align] 320 | rq->text_info = (_raqm_text_info*)(rq->text + len); | ^ /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c: In function ‘_raqm_create_hb_font’: /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c:887:31: warning: unused parameter ‘rq’ [-Wunused-parameter] 887 | _raqm_create_hb_font (raqm_t *rq, | ~~~~~~~~^~ /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c: In function ‘raqm_set_letter_spacing_range’: /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c:1183:37: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1183 | static char *tags[NUM_TAGS] = { "clig", "liga", "hlig", "dlig", "calt" }; | ^~~~~~ /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c:1183:45: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1183 | static char *tags[NUM_TAGS] = { "clig", "liga", "hlig", "dlig", "calt" }; | ^~~~~~ /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c:1183:53: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1183 | static char *tags[NUM_TAGS] = { "clig", "liga", "hlig", "dlig", "calt" }; | ^~~~~~ /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c:1183:61: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1183 | static char *tags[NUM_TAGS] = { "clig", "liga", "hlig", "dlig", "calt" }; | ^~~~~~ /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c:1183:69: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1183 | static char *tags[NUM_TAGS] = { "clig", "liga", "hlig", "dlig", "calt" }; | ^~~~~~ /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c: In function ‘_raqm_shape’: /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c:2243:7: warning: ‘hb_ft_font_get_face’ is deprecated: Use 'hb_ft_font_get_ft_face' instead [-Wdeprecated-declarations] 2243 | FT_Get_Transform (hb_ft_font_get_face (run->font), &matrix, NULL); | ^~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/3rdparty_vendor/raqm/src/raqm-0.10.1/src/raqm.c:39: /usr/include/harfbuzz/hb-ft.h:149:1: note: declared here 149 | hb_ft_font_get_face (hb_font_t *font); | ^~~~~~~~~~~~~~~~~~~ [ 0%] Built target kritaversion_autogen [ 0%] Built target xcftools_autogen [ 0%] Building CXX object libs/version/CMakeFiles/kritaversion.dir/kritaversion_autogen/mocs_compilation.cpp.o [ 0%] Building CXX object plugins/impex/xcf/CMakeFiles/xcftools.dir/xcftools_autogen/mocs_compilation.cpp.o [ 0%] Building CXX object libs/version/CMakeFiles/kritaversion.dir/KritaVersionWrapper.cpp.o [ 0%] Building C object plugins/impex/xcf/CMakeFiles/xcftools.dir/3rdparty/xcftools/xcf-general.c.o cc1: warning: command-line option ‘-Wno-class-memaccess’ is valid for C++/ObjC++ but not for C [ 0%] Linking C static library liblibraqm.a In file included from /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:61, from /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:19: /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c: In function ‘xcfOffset’: /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:42:15: note: in expansion of macro ‘xcfL’ 42 | *apparent = xcfL(addr); | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c: In function ‘xcfNextprop’: /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:66:10: note: in expansion of macro ‘xcfL’ 66 | type = xcfL(ptr); | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:67:12: note: in expansion of macro ‘xcfL’ 67 | length = xcfL(ptr+4); | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:77:17: note: in expansion of macro ‘xcfL’ 77 | ncolors = xcfL(ptr+8) ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c: In function ‘xcfString’: /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:126:12: note: in expansion of macro ‘xcfL’ 126 | length = xcfL(ptr) ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c: In function ‘getBasicXcfInfo’: /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:279:18: note: in expansion of macro ‘xcfL’ 279 | XCF.width = xcfL(ptr); ptr += 4 ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:280:18: note: in expansion of macro ‘xcfL’ 280 | XCF.height = xcfL(ptr); ptr += 4 ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:281:18: note: in expansion of macro ‘xcfL’ 281 | XCF.type = xcfL(ptr); ptr += 4 ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:316:11: note: in expansion of macro ‘xcfL’ 316 | ptr = xcfL(layerfile+4*(XCF.numLayers-1-i)) ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:322:20: note: in expansion of macro ‘xcfL’ 322 | L->dim.width = xcfL(ptr); ptr+=4 ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:323:21: note: in expansion of macro ‘xcfL’ 323 | L->dim.height = xcfL(ptr); ptr+=4 ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:324:15: note: in expansion of macro ‘xcfL’ 324 | L->type = xcfL(ptr); ptr+=4 ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:343:22: note: in expansion of macro ‘xcfL’ 343 | L->opacity = xcfL(data); | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:348:24: note: in expansion of macro ‘xcfL’ 348 | L->isVisible = xcfL(data) != 0 ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:351:22: note: in expansion of macro ‘xcfL’ 351 | L->hasMask = xcfL(data) != 0 ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:354:32: note: in expansion of macro ‘xcfL’ 354 | L->dim.c.l = (int32_t)(xcfL(data )) ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:355:32: note: in expansion of macro ‘xcfL’ 355 | L->dim.c.t = (int32_t)(xcfL(data+4)) ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:358:19: note: in expansion of macro ‘xcfL’ 358 | L->mode = xcfL(data); | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcf-general.c:371:40: note: in expansion of macro ‘xcfL’ 371 | *(L->path + j) = (unsigned)xcfL(data + 4 * j); | ^~~~ [ 0%] Built target libraqm [ 0%] Building C object plugins/impex/xcf/CMakeFiles/xcftools.dir/3rdparty/xcftools/utils.c.o [ 0%] Building C object plugins/impex/xcf/CMakeFiles/xcftools.dir/3rdparty/xcftools/enums.c.o cc1: warning: command-line option ‘-Wno-class-memaccess’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-Wno-class-memaccess’ is valid for C++/ObjC++ but not for C [ 0%] Building C object plugins/impex/xcf/CMakeFiles/xcftools.dir/3rdparty/xcftools/pixels.c.o [ 0%] Building C object plugins/impex/xcf/CMakeFiles/xcftools.dir/3rdparty/xcftools/scaletab.c.o cc1: warning: command-line option ‘-Wno-class-memaccess’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-Wno-class-memaccess’ is valid for C++/ObjC++ but not for C In file included from /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:61, from /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/pixels.c:20: /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/pixels.c: In function ‘tileDirectoryOneLevel’: /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/pixels.c:69:7: note: in expansion of macro ‘xcfL’ 69 | if( xcfL(ptr ) != dim->c.r - dim->c.l || | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/pixels.c:70:11: note: in expansion of macro ‘xcfL’ 70 | xcfL(ptr+4) != dim->c.b - dim->c.t ) { | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/pixels.c: In function ‘initTileDirectory’: /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/pixels.c:125:10: note: in expansion of macro ‘xcfL’ 125 | data = xcfL(ptr) ; | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/pixels.c:126:7: note: in expansion of macro ‘xcfL’ 126 | if( xcfL(ptr) != tiles->params->bpp ) { | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/pixels.c:128:19: note: in expansion of macro ‘xcfL’ 128 | xcfL(ptr), | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/pixels.c:160:30: note: in expansion of macro ‘xcfL’ 160 | tiles->tileptrs[i] = xcfL(ptr+i*4); | ^~~~ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/pixels.c: In function ‘initColormap’: /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/xcftools.h:91:47: warning: cast increases required alignment of target type [-Wcast-align] 91 | # define xcfL(a) ((a) & 3 ? xcfBE(a) : ntohl(*(uint32_t *)(xcf_file + (a)))) | ^ /build/krita/src/krita-5.2.9/plugins/impex/xcf/3rdparty/xcftools/pixels.c:205:13: note: in expansion of macro ‘xcfL’ 205 | ncolors = xcfL(XCF.colormapptr) ; | ^~~~ [ 0%] Building C object plugins/impex/xcf/CMakeFiles/xcftools.dir/3rdparty/xcftools/table.c.o cc1: warning: command-line option ‘-Wno-class-memaccess’ is valid for C++/ObjC++ but not for C [ 0%] Building C object plugins/impex/xcf/CMakeFiles/xcftools.dir/3rdparty/xcftools/flatspec.c.o cc1: warning: command-line option ‘-Wno-class-memaccess’ is valid for C++/ObjC++ but not for C [ 0%] Building C object plugins/impex/xcf/CMakeFiles/xcftools.dir/3rdparty/xcftools/flatten.c.o cc1: warning: command-line option ‘-Wno-class-memaccess’ is valid for C++/ObjC++ but not for C [ 0%] Linking CXX static library libxcftools.a [ 0%] Built target xcftools [ 0%] Linking CXX shared library libkritaversion.so [ 0%] Built target kritaversion [ 0%] Built target kritaglobal_autogen_timestamp_deps [ 0%] Built target krita_version_autogen_timestamp_deps [ 0%] Automatic MOC for target kritaglobal [ 0%] Automatic MOC for target krita_version [ 0%] Built target krita_version_autogen [ 0%] Building CXX object krita/CMakeFiles/krita_version.dir/krita_version_autogen/mocs_compilation.cpp.o [ 0%] Building CXX object krita/CMakeFiles/krita_version.dir/kritaversion.cpp.o [ 0%] Built target kritaglobal_autogen [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kritaglobal_autogen/mocs_compilation.cpp.o [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_assert.cpp.o [ 0%] Linking CXX executable krita_version [ 0%] Built target krita_version [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_debug.cpp.o [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_algebra_2d.cpp.o [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_memory_leak_tracker.cpp.o [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_shared.cpp.o [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_dom_utils.cpp.o [ 0%] Built target pofiles-782b9684645a8985a5284d2098de111b [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_painting_tweaks.cpp.o [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisHandlePainterHelper.cpp.o [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisHandleStyle.cpp.o [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_signal_compressor.cpp.o [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_signal_compressor_with_param.cpp.o [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_thread_safe_signal_compressor.cpp.o [ 0%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_acyclic_signal_connector.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_latency_tracker.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisQPainterStateSaver.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisRollingMeanAccumulatorWrapper.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisRollingSumAccumulatorWrapper.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/kis_config_notifier.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisDeleteLaterWrapper.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisUsageLogger.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisFileUtils.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisSignalMapper.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisRegion.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KoID.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KoUnit.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisBezierUtils.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisBezierPatch.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisBezierMesh.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisRectsGrid.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisSynchronizedConnection.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisFilteredRollingMean.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisBackup.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisSampleRectIterator.cpp.o [ 1%] Building CXX object libs/global/CMakeFiles/kritaglobal.dir/KisCursorOverrideLock.cpp.o [ 1%] Linking CXX shared library libkritaglobal.so [ 1%] Built target kritaglobal [ 1%] Built target kritacolord_autogen_timestamp_deps [ 1%] Built target kritaplugin_autogen_timestamp_deps [ 1%] Built target kritamultiarch_autogen_timestamp_deps [ 1%] Built target kritastore_autogen_timestamp_deps [ 1%] Automatic MOC for target kritastore [ 1%] Automatic MOC for target kritacolord [ 1%] Automatic MOC for target kritaplugin [ 1%] Automatic MOC for target kritamultiarch [ 1%] Built target kritamultiarch_autogen [ 1%] Building CXX object libs/multiarch/CMakeFiles/kritamultiarch.dir/kritamultiarch_autogen/mocs_compilation.cpp.o [ 1%] Building CXX object libs/multiarch/CMakeFiles/kritamultiarch.dir/KisSupportedArchitectures.cpp.o [ 1%] Built target kritacolord_autogen [ 1%] Built target kritaplugin_autogen [ 1%] Built target kritastore_autogen [ 1%] Building CXX object libs/multiarch/CMakeFiles/kritamultiarch.dir/KoMultiArchBuildSupport.cpp.o [ 1%] Generating CdDeviceInterface.cpp, CdDeviceInterface.h [ 1%] Building CXX object libs/koplugin/CMakeFiles/kritaplugin.dir/kritaplugin_autogen/mocs_compilation.cpp.o [ 1%] Generating CdInterface.cpp, CdInterface.h /build/krita/src/krita-5.2.9/libs/multiarch/KisSupportedArchitectures.cpp:37:5: warning: "XSIMD_VERSION_MAJOR" is not defined, evaluates to 0 [-Wundef] 37 | #if XSIMD_VERSION_MAJOR < 13 | ^~~~~~~~~~~~~~~~~~~ [ 1%] Generating CdProfileInterface.cpp, CdProfileInterface.h [ 1%] Generating CdSensorInterface.cpp, CdSensorInterface.h [ 1%] Generating CdDeviceInterface.moc [ 1%] Generating CdInterface.moc [ 1%] Generating CdProfileInterface.moc [ 1%] Generating CdSensorInterface.moc [ 1%] Building CXX object libs/color/colord/CMakeFiles/kritacolord.dir/kritacolord_autogen/mocs_compilation.cpp.o [ 1%] Building CXX object libs/koplugin/CMakeFiles/kritaplugin.dir/KoPluginLoader.cpp.o [ 1%] Building CXX object libs/koplugin/CMakeFiles/kritaplugin.dir/KoJsonTrader.cpp.o [ 1%] Linking CXX shared library libkritamultiarch.so [ 1%] Building CXX object libs/color/colord/CMakeFiles/kritacolord.dir/KisColord.cpp.o [ 1%] Built target kritamultiarch [ 1%] Building CXX object libs/color/colord/CMakeFiles/kritacolord.dir/CdInterface.cpp.o [ 1%] Building CXX object libs/store/CMakeFiles/kritastore.dir/kritastore_autogen/mocs_compilation.cpp.o [ 1%] Building CXX object libs/koplugin/CMakeFiles/kritaplugin.dir/KisMimeDatabase.cpp.o [ 1%] Building CXX object libs/store/CMakeFiles/kritastore.dir/KoDirectoryStore.cpp.o [ 1%] Building CXX object libs/store/CMakeFiles/kritastore.dir/KoStoreDevice.cpp.o [ 1%] Building CXX object libs/color/colord/CMakeFiles/kritacolord.dir/CdDeviceInterface.cpp.o [ 1%] Linking CXX shared library libkritaplugin.so [ 1%] Building CXX object libs/color/colord/CMakeFiles/kritacolord.dir/CdProfileInterface.cpp.o [ 1%] Building CXX object libs/store/CMakeFiles/kritastore.dir/KoLZF.cpp.o [ 1%] Building CXX object libs/store/CMakeFiles/kritastore.dir/KoStore.cpp.o [ 1%] Building CXX object libs/store/CMakeFiles/kritastore.dir/KoXmlNS.cpp.o [ 1%] Building CXX object libs/color/colord/CMakeFiles/kritacolord.dir/CdSensorInterface.cpp.o [ 1%] Building CXX object libs/store/CMakeFiles/kritastore.dir/KoXmlWriter.cpp.o [ 1%] Building CXX object libs/store/CMakeFiles/kritastore.dir/KoQuaZipStore.cpp.o [ 1%] Built target kritaplugin [ 1%] Building CXX object libs/store/CMakeFiles/kritastore.dir/StoreDebug.cpp.o [ 1%] Linking CXX shared library libkritastore.so [ 1%] Linking CXX shared library libkritacolord.so [ 1%] Built target kritastore [ 1%] Built target kritaresources_autogen_timestamp_deps [ 1%] Automatic MOC for target kritaresources [ 1%] Built target kritaresources_autogen [ 1%] Generating qrc_sql.cpp [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/kritaresources_autogen/mocs_compilation.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceLoader.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceCacheDb.cpp.o [ 2%] Built target kritacolord [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceLoaderRegistry.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceLocator.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceStorage.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceModel.cpp.o [ 2%] Built target kritacolor_autogen_timestamp_deps [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisTagFilterResourceProxyModel.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceModelProvider.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceTypeModel.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisStorageModel.cpp.o [ 2%] Automatic MOC for target kritacolor [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisStorageFilterProxyModel.cpp.o [ 2%] Built target kritacolor_autogen [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceIterator.cpp.o [ 2%] Building CXX object libs/color/CMakeFiles/kritacolor.dir/kritacolor_autogen/mocs_compilation.cpp.o [ 2%] Building CXX object libs/color/CMakeFiles/kritacolor.dir/linux/kis_color_manager.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceSearchBoxFilter.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceQueryMapper.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceTypes.cpp.o [ 2%] Linking CXX shared library libkritacolor.so [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisStoragePlugin.cpp.o [ 2%] Built target kritacolor [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisBundleStorage.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisFolderStorage.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisMemoryStorage.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisTag.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisTagModel.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisTagResourceModel.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoResource.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoResourceBundle.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoResourceBundleManifest.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoMD5Generator.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoResourcePaths.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoResourceSignature.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoEmbeddedResource.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoResourceLoadResult.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/ResourceDebug.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisRequiredResourcesOperators.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourcesInterface.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisLocalStrokeResources.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisGlobalResourcesInterface.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoResourceCacheInterface.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoResourceCacheStorage.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoResourceCachePrefixedStorageWrapper.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoCanvasResourcesInterface.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KoLocalStrokeCanvasResources.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisEmbeddedResourceStorageProxy.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/KisResourceThumbnailCache.cpp.o [ 2%] Building CXX object libs/resources/CMakeFiles/kritaresources.dir/qrc_sql.cpp.o [ 2%] Linking CXX shared library libkritaresources.so [ 2%] Built target kritaresources [ 2%] Built target kritawidgetutils_autogen_timestamp_deps [ 2%] Automatic MOC for target kritawidgetutils [ 2%] Built target kritawidgetutils_autogen [ 2%] Generating ui_KisShortcutsDialog.h [ 2%] Generating ui_kshortcutwidget.h [ 2%] Generating qrc_kxmlgui.cpp [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/WidgetUtilsDebug.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kritawidgetutils_autogen/mocs_compilation.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_action_registry.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_icon_utils.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisActionsSnapshot.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KoGroupButton.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KoProgressProxy.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KoFakeProgressProxy.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KoProgressBar.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KoProgressUpdater.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KoUpdater.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KoUpdaterPrivate_p.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KoProperties.cpp.o [ 2%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KoFileDialog.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisPreviewFileDialog.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisKineticScroller.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KoCheckerBoardPainter.cpp.o /build/krita/src/krita-5.2.9/libs/widgetutils/KoFileDialog.cpp: In member function ‘void KoFileDialog::onFilterSelected(const QString&)’: /build/krita/src/krita-5.2.9/libs/widgetutils/KoFileDialog.cpp:590:84: warning: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead [-Wdeprecated-declarations] 590 | if (mode != QFileDialog::FileMode::Directory && mode != QFileDialog::FileMode::DirectoryOnly) { | ^~~~~~~~~~~~~ In file included from /usr/include/qt/QtWidgets/QFileDialog:1, from /build/krita/src/krita-5.2.9/libs/widgetutils/KoFileDialog.h:12, from /build/krita/src/krita-5.2.9/libs/widgetutils/KoFileDialog.cpp:7: /usr/include/qt/QtWidgets/qfiledialog.h:84:21: note: declared here 84 | DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")}; | ^~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgetutils/KoFileDialog.cpp:590:84: warning: ‘QFileDialog::DirectoryOnly’ is deprecated: Use setOption(ShowDirsOnly, true) instead [-Wdeprecated-declarations] 590 | if (mode != QFileDialog::FileMode::Directory && mode != QFileDialog::FileMode::DirectoryOnly) { | ^~~~~~~~~~~~~ /usr/include/qt/QtWidgets/qfiledialog.h:84:21: note: declared here 84 | DirectoryOnly Q_DECL_ENUMERATOR_DEPRECATED_X("Use setOption(ShowDirsOnly, true) instead")}; | ^~~~~~~~~~~~~ [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KoItemToolTip.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisSqueezedComboBox.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisDialogStateSaver.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisPopupButton.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_cursor.cc.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_cursor_cache.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_double_parse_spin_box.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_double_parse_unit_spin_box.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_int_parse_spin_box.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_num_parser.cpp.o /build/krita/src/krita-5.2.9/libs/widgetutils/kis_double_parse_unit_spin_box.cpp: In member function ‘void KisDoubleParseUnitSpinBox::setUnitManager(KisSpinBoxUnitManager*)’: /build/krita/src/krita-5.2.9/libs/widgetutils/kis_double_parse_unit_spin_box.cpp:117:24: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 117 | oldUnitManager && | ~~~~~~~~~~~~~~~^~ 118 | (d->unitManager->getApparentUnitSymbol() != oldUnitManager->getApparentUnitSymbol() || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 119 | d->unitManager->getUnitDimensionType() == oldUnitManager->getUnitDimensionType())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_slider_spin_box.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_multipliers_double_slider_spinbox.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_spin_box_unit_manager.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/kis_font_family_combo_box.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisFontFamilyValidator.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisWrappableHBoxLayout.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisPopupSelfActivatingLineEdit.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisRecentFilesManager.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/widgetutils/KisFontFamilyValidator.cpp:6: /build/krita/src/krita-5.2.9/libs/widgetutils/KisFontFamilyValidator.h: In constructor ‘KisFontFamilyValidator::KisFontFamilyValidator(const QStringList&, QObject*)’: /build/krita/src/krita-5.2.9/libs/widgetutils/KisFontFamilyValidator.h:24:17: warning: ‘KisFontFamilyValidator::m_families’ will be initialized after [-Wreorder] 24 | QStringList m_families; | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgetutils/KisFontFamilyValidator.cpp:14:24: warning: base ‘QValidator’ [-Wreorder] 14 | , QValidator(parent) | ^ /build/krita/src/krita-5.2.9/libs/widgetutils/KisFontFamilyValidator.cpp:12:1: warning: when initialized here [-Wreorder] 12 | KisFontFamilyValidator::KisFontFamilyValidator(const QStringList &families, QObject *parent) | ^~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgetutils/KisFontFamilyValidator.cpp: In member function ‘virtual QValidator::State KisFontFamilyValidator::validate(QString&, int&) const’: /build/krita/src/krita-5.2.9/libs/widgetutils/KisFontFamilyValidator.cpp:17:73: warning: unused parameter ‘pos’ [-Wunused-parameter] 17 | QValidator::State KisFontFamilyValidator::validate(QString &input, int &pos) const | ~~~~~^~~ [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisOptionCollectionWidget.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisOptionButtonStrip.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisRepaintDebugger.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisMenuStyleDontCloseOnAlt.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisSpinBoxPluralHelper.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisScreenMigrationTracker.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/config/kcolorscheme.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/config/kcolorschememanager.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/config/khelpclient.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/config/klanguagebutton.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/config/krecentfilesaction.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/config/kstandardaction.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/KisShortcutsEditorItem.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/KisShortcutEditWidget.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/widgetutils/config/kstandardaction.cpp:8: /build/krita/src/krita-5.2.9/libs/widgetutils/config/kstandardaction_p.h:88:41: warning: ‘KStandardShortcut::SaveOptions’ is deprecated: Since 5.39. No known users [-Wdeprecated-declarations] 88 | { SaveOptions, KStandardShortcut::SaveOptions, "options_save_options", I18N_NOOP("&Save Settings"), 0, 0 }, | ^~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/widgetutils/config/kstandardaction.h:11, from /build/krita/src/krita-5.2.9/libs/widgetutils/config/kstandardaction.cpp:7: /usr/include/KF5/KConfigGui/kstandardshortcut.h:126:5: note: declared here 126 | SaveOptions ///< @deprecated since 5.39 | ^~~~~~~~~~~ [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/KisShortcutsEditorDelegate.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/KisShortcutsDialog.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/KisShortcutsDialog_p.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/KisShortcutsEditor.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/KisShortcutsEditor_p.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kshortcutschemeseditor.cpp.o /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/KisShortcutsDialog_p.cpp: In member function ‘void KisShortcutsDialog::KisShortcutsDialogPrivate::changeShortcutScheme(const QString&)’: /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/KisShortcutsDialog_p.cpp:45:35: warning: ‘KMessageBox::ButtonCode KMessageBox::questionYesNo(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, Options)’ is deprecated: Since 5.100. Use questionTwoActions() [-Wdeprecated-declarations] 45 | KMessageBox::questionYesNo( q,dialogText ) == KMessageBox::Yes) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/KisShortcutsDialog_p.h:18, from /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/KisShortcutsDialog_p.cpp:8: /usr/include/KF5/KWidgetsAddons/kmessagebox.h:143:12: note: declared here 143 | ButtonCode questionYesNo(QWidget *parent, | ^~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/KisShortcutsDialog_p.cpp:45:68: warning: ‘KMessageBox::Yes’ is deprecated: Since 5.100. Use PrimaryAction. [-Wdeprecated-declarations] 45 | KMessageBox::questionYesNo( q,dialogText ) == KMessageBox::Yes) { | ^~~ /usr/include/KF5/KWidgetsAddons/kmessagebox.h:55:5: note: declared here 55 | Yes KWIDGETSADDONS_ENUMERATOR_DEPRECATED_VERSION(5, 100, "Use PrimaryAction.") = PrimaryAction, | ^~~ [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kshortcutschemeshelper.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kaboutkdedialog_p.cpp.o /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/kshortcutschemeseditor.cpp: In member function ‘void KisKShortcutSchemesEditor::newScheme()’: /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/kshortcutschemeseditor.cpp:103:27: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations] 103 | KMessageBox::sorry(m_dialog, i18n("A scheme with this name already exists.")); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/KisShortcutsDialog_p.h:18, from /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/kshortcutschemeseditor.cpp:7: /usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here 931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify); | ^~~~~ /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/kshortcutschemeseditor.cpp: In member function ‘void KisKShortcutSchemesEditor::deleteScheme()’: /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/kshortcutschemeseditor.cpp:126:35: warning: ‘KMessageBox::ButtonCode KMessageBox::questionYesNo(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, Options)’ is deprecated: Since 5.100. Use questionTwoActions() [-Wdeprecated-declarations] 126 | if (KMessageBox::questionYesNo(m_dialog, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ 127 | i18n("Do you really want to delete the scheme %1?\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 128 | Note that this will not remove any system wide shortcut schemes.", currentScheme())) == KMessageBox::No) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/KF5/KWidgetsAddons/kmessagebox.h:143:12: note: declared here 143 | ButtonCode questionYesNo(QWidget *parent, | ^~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/kshortcutschemeseditor.cpp:128:102: warning: ‘KMessageBox::No’ is deprecated: Since 5.100. Use SecondaryAction. [-Wdeprecated-declarations] 128 | Note that this will not remove any system wide shortcut schemes.", currentScheme())) == KMessageBox::No) { | ^~ /usr/include/KF5/KWidgetsAddons/kmessagebox.h:57:5: note: declared here 57 | No KWIDGETSADDONS_ENUMERATOR_DEPRECATED_VERSION(5, 100, "Use SecondaryAction.") = SecondaryAction, | ^~ [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kactioncategory.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kactioncollection.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kbugreport.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kcheckaccelerators.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kedittoolbar.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kgesture.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kgesturemap.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/khelpmenu.cpp.o [ 4%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kkeysequencewidget.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kmainwindow.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kshortcutwidget.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kswitchlanguagedialog_p.cpp.o /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/kkeysequencewidget.cpp: In member function ‘void KisKKeySequenceWidgetPrivate::wontStealShortcut(QAction*, const QKeySequence&)’: /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/kkeysequencewidget.cpp:202:23: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations] 202 | KMessageBox::sorry(q, msg, title); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/kkeysequencewidget.cpp:22: /usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here 931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify); | ^~~~~ /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/kkeysequencewidget.cpp: In member function ‘virtual void KKeySequenceButton::keyPressEvent(QKeyEvent*)’: /build/krita/src/krita-5.2.9/libs/widgetutils/xmlgui/kkeysequencewidget.cpp:641:27: warning: ‘void KMessageBox::sorry(QWidget*, const QString&, const QString&, Options)’ is deprecated: Since 5.97. Use error(). [-Wdeprecated-declarations] 641 | KMessageBox::sorry(this, | ~~~~~~~~~~~~~~~~~~^~~~~~ 642 | i18n("The key you just pressed is not supported by Qt."), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 643 | i18n("Unsupported Key")); | ~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/KF5/KWidgetsAddons/kmessagebox.h:931:6: note: declared here 931 | void sorry(QWidget *parent, const QString &text, const QString &title = QString(), Options options = Notify); | ^~~~~ [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/ktoggletoolbaraction.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/ktoolbar.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/ktoolbarhandler.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kundoactions.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kxmlguibuilder.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kxmlguiclient.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kxmlguifactory.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kxmlguifactory_p.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kxmlguiversionhandler.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kxmlguiwindow.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/katecommandbar.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/commandmodel.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/KisClickableLabel.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/xmlgui/kmainwindowiface.cpp.o [ 5%] Building CXX object libs/widgetutils/CMakeFiles/kritawidgetutils.dir/qrc_kxmlgui.cpp.o [ 5%] Linking CXX shared library libkritawidgetutils.so [ 5%] Built target kritawidgetutils [ 5%] Built target kritametadata_autogen_timestamp_deps [ 5%] Built target kritaresourcewidgets_autogen_timestamp_deps [ 5%] Built target kritacommand_autogen_timestamp_deps [ 5%] Automatic MOC for target kritacommand [ 5%] Automatic MOC for target kritaresourcewidgets [ 5%] Automatic MOC for target kritametadata [ 5%] Built target kritametadata_autogen [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_entry.cc.o [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kritametadata_autogen/mocs_compilation.cpp.o [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_filter.cc.o [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_filter_p.cc.o [ 5%] Built target kritacommand_autogen [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_filter_registry.cc.o [ 5%] Built target kritaresourcewidgets_autogen [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_filter_registry_model.cc.o [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_merge_strategy.cc.o [ 5%] Building CXX object libs/command/CMakeFiles/kritacommand.dir/kritacommand_autogen/mocs_compilation.cpp.o [ 5%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/kritaresourcewidgets_autogen/mocs_compilation.cpp.o [ 5%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisIconToolTip.cpp.o [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_merge_strategy_p.cc.o [ 5%] Building CXX object libs/command/CMakeFiles/kritacommand.dir/kundo2stack.cpp.o [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_merge_strategy_registry.cc.o [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_parser.cc.o [ 5%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisResourceItemChooserContextMenu.cpp.o [ 5%] Building CXX object libs/command/CMakeFiles/kritacommand.dir/kundo2group.cpp.o [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_schema.cc.o [ 5%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_schema_registry.cc.o [ 5%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisResourceItemChooser.cpp.o [ 7%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_store.cc.o [ 7%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_type_info.cc.o [ 7%] Building CXX object libs/command/CMakeFiles/kritacommand.dir/kundo2view.cpp.o [ 7%] Building CXX object libs/command/CMakeFiles/kritacommand.dir/kundo2model.cpp.o /build/krita/src/krita-5.2.9/libs/resourcewidgets/KisResourceItemChooser.cpp: In member function ‘void KisResourceItemChooser::updatePreview(const QModelIndex&)’: /build/krita/src/krita-5.2.9/libs/resourcewidgets/KisResourceItemChooser.cpp:579:23: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 579 | QRgb *pixel = reinterpret_cast(image.bits()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 7%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_validator.cc.o [ 7%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisResourceItemChooserSync.cpp.o [ 7%] Building CXX object libs/command/CMakeFiles/kritacommand.dir/kundo2magicstring.cpp.o [ 7%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_value.cc.o [ 7%] Building CXX object libs/command/CMakeFiles/kritacommand.dir/kundo2commandextradata.cpp.o [ 7%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisResourceItemDelegate.cpp.o [ 7%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisResourceItemListView.cpp.o [ 7%] Building CXX object libs/command/CMakeFiles/kritacommand.dir/kis_undo_store.cpp.o [ 7%] Building CXX object libs/metadata/CMakeFiles/kritametadata.dir/kis_meta_data_backend_registry.cpp.o /build/krita/src/krita-5.2.9/libs/resourcewidgets/KisResourceItemListView.cpp: In member function ‘virtual void KisResourceItemListView::resizeEvent(QResizeEvent*)’: /build/krita/src/krita-5.2.9/libs/resourcewidgets/KisResourceItemListView.cpp:211:12: warning: enumeration value ‘IconGrid’ not handled in switch [-Wswitch] 211 | switch (m_d->viewMode) { | ^ [ 7%] Building CXX object libs/command/CMakeFiles/kritacommand.dir/kis_undo_stores.cpp.o [ 7%] Building CXX object libs/command/CMakeFiles/kritacommand.dir/kis_command_utils.cpp.o [ 8%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisResourceItemView.cpp.o [ 8%] Linking CXX shared library libkritametadata.so [ 8%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisResourceThumbnailPainter.cpp.o [ 8%] Building CXX object libs/command/CMakeFiles/kritacommand.dir/KisCumulativeUndoData.cpp.o /build/krita/src/krita-5.2.9/libs/resourcewidgets/KisResourceThumbnailPainter.cpp: In member function ‘void KisResourceThumbnailPainter::paint(QPainter*, const QModelIndex&, QRect, const QPalette&, bool, bool) const’: /build/krita/src/krita-5.2.9/libs/resourcewidgets/KisResourceThumbnailPainter.cpp:45:51: warning: ‘const QBrush& QPalette::background() const’ is deprecated: Use QPalette::window() instead [-Wdeprecated-declarations] 45 | painter->fillRect(rect, palette.background()); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/qt/QtWidgets/qwidget.h:48, from /usr/include/qt/QtWidgets/qabstractspinbox.h:44, from /usr/include/qt/QtWidgets/qstyleoption.h:47, from /usr/include/qt/QtWidgets/qabstractitemdelegate.h:45, from /usr/include/qt/QtWidgets/QAbstractItemDelegate:1, from /build/krita/src/krita-5.2.9/libs/resourcewidgets/KisResourceThumbnailPainter.h:11, from /build/krita/src/krita-5.2.9/libs/resourcewidgets/KisResourceThumbnailPainter.cpp:8: /usr/include/qt/QtGui/qpalette.h:149:26: note: declared here 149 | inline const QBrush &background() const { return window(); } | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/resourcewidgets/KisResourceThumbnailPainter.cpp:53:11: warning: variable ‘imageSize’ set but not used [-Wunused-but-set-variable] 53 | QSize imageSize = thumbnail.size(); | ^~~~~~~~~ [ 8%] Linking CXX shared library libkritacommand.so [ 8%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisTagChooserWidget.cpp.o [ 8%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisTagFilterWidget.cpp.o [ 8%] Built target kritametadata [ 8%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisTagToolButton.cpp.o [ 8%] Built target kritaexifcommon_autogen_timestamp_deps [ 8%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisResourceTaggingManager.cpp.o [ 8%] Built target kritacommand [ 8%] Built target kritaexif_autogen_timestamp_deps [ 8%] Built target kritaiptc_autogen_timestamp_deps [ 8%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisStorageChooserWidget.cpp.o [ 8%] Built target kritaxmp_autogen_timestamp_deps [ 8%] Built target kritapigment_autogen_timestamp_deps [ 8%] Automatic MOC for target kritaexifcommon [ 8%] Built target kritaexifcommon_autogen [ 8%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/TagActions.cpp.o [ 8%] Automatic MOC for target kritaexif [ 8%] Built target kritaexif_autogen [ 8%] Building CXX object libs/resourcewidgets/CMakeFiles/kritaresourcewidgets.dir/KisResourceUserOperations.cpp.o [ 8%] Automatic MOC for target kritaiptc [ 8%] Automatic MOC for target kritaxmp [ 8%] Automatic MOC for target kritapigment [ 8%] Built target kritaiptc_autogen [ 8%] Building CXX object plugins/metadata/common/CMakeFiles/kritaexifcommon.dir/kritaexifcommon_autogen/mocs_compilation.cpp.o [ 8%] Building CXX object plugins/metadata/common/CMakeFiles/kritaexifcommon.dir/KisExiv2IODevice.cpp.o [ 8%] Built target kritaxmp_autogen [ 8%] Building CXX object plugins/metadata/exif/CMakeFiles/kritaexif.dir/kritaexif_autogen/mocs_compilation.cpp.o [ 8%] Building CXX object plugins/metadata/exif/CMakeFiles/kritaexif.dir/kis_exif_io.cpp.o [ 8%] Built target kritapigment_autogen [ 8%] Building CXX object plugins/metadata/exif/CMakeFiles/kritaexif.dir/kis_exif_plugin.cpp.o [ 8%] Linking CXX shared library libkritaresourcewidgets.so /build/krita/src/krita-5.2.9/plugins/metadata/common/KisExiv2IODevice.cpp: In member function ‘virtual const std::string& KisExiv2IODevice::path() const’: /build/krita/src/krita-5.2.9/plugins/metadata/common/KisExiv2IODevice.cpp:272:41: warning: returning reference to temporary [-Wreturn-local-addr] 272 | return filePathQString().toStdString(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:23: /build/krita/src/krita-5.2.9/plugins/metadata/common/kis_exiv2_common.h: In function ‘KisMetaData::Value exivValueToKMDValue(const Exiv2::Value::UniquePtr&, bool, KisMetaData::Value::ValueType)’: /build/krita/src/krita-5.2.9/plugins/metadata/common/kis_exiv2_common.h:55:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 55 | for (int i = 0; i < value->count(); i++) | ~~^~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp: In function ‘KisMetaData::Value exifOECFToKMDOECFStructure(Exiv2::Value::UniquePtr, Exiv2::ByteOrder)’: /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:148:48: warning: cast from ‘char*’ to ‘qsizetype*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] 148 | size_t columns = fixEndianness((reinterpret_cast(array.data()))[0], order); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:149:45: warning: cast from ‘char*’ to ‘qsizetype*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] 149 | size_t rows = fixEndianness((reinterpret_cast(array.data()))[1], order); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:160:45: warning: cast from ‘char*’ to ‘qsizetype*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] 160 | columns = fixEndianness((reinterpret_cast(array.data()))[0], order); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:161:42: warning: cast from ‘char*’ to ‘qsizetype*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] 161 | rows = fixEndianness((reinterpret_cast(array.data()))[1], order); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:193:22: warning: cast from ‘char*’ to ‘qint32*’ {aka ‘int*’} increases required alignment of target type [-Wcast-align] 193 | qint32 *dataIt = reinterpret_cast(array.data() + index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp: In function ‘Exiv2::Value* kmdOECFStructureToExifOECF(const KisMetaData::Value&)’: /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:228:6: warning: cast from ‘char*’ to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 228 | (reinterpret_cast(array.data()))[0] = columns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:229:6: warning: cast from ‘char*’ to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 229 | (reinterpret_cast(array.data()))[1] = rows; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:239:22: warning: cast from ‘char*’ to ‘qint32*’ {aka ‘int*’} increases required alignment of target type [-Wcast-align] 239 | qint32 *dataIt = reinterpret_cast(array.data() + index); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp: In function ‘KisMetaData::Value deviceSettingDescriptionExifToKMD(Exiv2::Value::UniquePtr)’: /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:266:20: warning: cast from ‘char*’ to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 266 | int columns = (reinterpret_cast(array.data()))[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:267:17: warning: cast from ‘char*’ to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 267 | int rows = (reinterpret_cast(array.data()))[1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp: In function ‘Exiv2::Value* deviceSettingDescriptionKMDToExif(const KisMetaData::Value&)’: /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:298:6: warning: cast from ‘char*’ to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 298 | (reinterpret_cast(array.data()))[0] = columns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:299:6: warning: cast from ‘char*’ to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 299 | (reinterpret_cast(array.data()))[1] = rows; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp: In function ‘KisMetaData::Value cfaPatternExifToKMD(Exiv2::Value::UniquePtr, Exiv2::ByteOrder)’: /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:320:48: warning: cast from ‘char*’ to ‘qsizetype*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] 320 | size_t columns = fixEndianness((reinterpret_cast(array.data()))[0], order); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:321:45: warning: cast from ‘char*’ to ‘qsizetype*’ {aka ‘long long int*’} increases required alignment of target type [-Wcast-align] 321 | size_t rows = fixEndianness((reinterpret_cast(array.data()))[1], order); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:330:43: warning: cast from ‘char*’ to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 330 | columns = fixEndianness((reinterpret_cast(array.data()))[0], order); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:331:40: warning: cast from ‘char*’ to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 331 | rows = fixEndianness((reinterpret_cast(array.data()))[1], order); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:341:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 341 | for (int i = 0; i < columns * rows; i++) { | ~~^~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp: In function ‘Exiv2::Value* cfaPatternKMDToExif(const KisMetaData::Value&)’: /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:360:6: warning: cast from ‘char*’ to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 360 | (reinterpret_cast(array.data()))[0] = columns; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/metadata/exif/kis_exif_io.cpp:361:6: warning: cast from ‘char*’ to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 361 | (reinterpret_cast(array.data()))[1] = rows; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 8%] Linking CXX shared library libkritaexifcommon.so [ 8%] Built target kritaexifcommon [ 8%] Building CXX object plugins/metadata/iptc/CMakeFiles/kritaiptc.dir/kritaiptc_autogen/mocs_compilation.cpp.o [ 8%] Building CXX object plugins/metadata/iptc/CMakeFiles/kritaiptc.dir/kis_iptc_io.cpp.o [ 8%] Linking CXX shared module kritaexif.so [ 8%] Building CXX object plugins/metadata/xmp/CMakeFiles/kritaxmp.dir/kritaxmp_autogen/mocs_compilation.cpp.o [ 8%] Building CXX object plugins/metadata/xmp/CMakeFiles/kritaxmp.dir/kis_xmp_io.cpp.o In file included from /build/krita/src/krita-5.2.9/plugins/metadata/iptc/kis_iptc_io.cpp:12: /build/krita/src/krita-5.2.9/plugins/metadata/common/kis_exiv2_common.h: In function ‘KisMetaData::Value exivValueToKMDValue(const Exiv2::Value::UniquePtr&, bool, KisMetaData::Value::ValueType)’: /build/krita/src/krita-5.2.9/plugins/metadata/common/kis_exiv2_common.h:55:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 55 | for (int i = 0; i < value->count(); i++) | ~~^~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/plugins/metadata/xmp/kis_xmp_io.cpp:11: /build/krita/src/krita-5.2.9/plugins/metadata/common/kis_exiv2_common.h: In function ‘KisMetaData::Value exivValueToKMDValue(const Exiv2::Value::UniquePtr&, bool, KisMetaData::Value::ValueType)’: /build/krita/src/krita-5.2.9/plugins/metadata/common/kis_exiv2_common.h:55:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 55 | for (int i = 0; i < value->count(); i++) | ~~^~~~~~~~~~~~~~~~ [ 8%] Built target kritaresourcewidgets [ 8%] Building CXX object plugins/metadata/iptc/CMakeFiles/kritaiptc.dir/kis_iptc_plugin.cpp.o [ 8%] Building CXX object plugins/metadata/xmp/CMakeFiles/kritaxmp.dir/kis_xmp_plugin.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/kritapigment_autogen/mocs_compilation.cpp.o [ 8%] Linking CXX shared module kritaiptc.so [ 8%] Built target kritaexif [ 8%] Linking CXX shared module kritaxmp.so [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/DebugPigment.cpp.o In file included from /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorDisplayRendererInterface.h:14, from /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/moc_KoColorDisplayRendererInterface.cpp:10, from /build/krita/src/build/libs/pigment/kritapigment_autogen/mocs_compilation.cpp:2: /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/build/libs/pigment/kritapigment_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoBasicHistogramProducers.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoAlphaMaskApplicatorBase.cpp.o [ 8%] Built target kritaiptc [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoOptimizedPixelDataScalerU8ToU16Base.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoOptimizedPixelDataScalerU8ToU16Factory.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColor.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorDisplayRendererInterface.cpp.o [ 8%] Built target kritaxmp [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorConversionAlphaTransformation.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorConversionCache.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.cpp:9: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorDisplayRendererInterface.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorDisplayRendererInterface.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColor.cpp: In member function ‘void KoColor::dump() const’: /build/krita/src/krita-5.2.9/libs/pigment/KoColor.cpp:283:87: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const quint16*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 283 | dbgPigment <<"Channel (short):" << ch->name() <<":" << QString().setNum(*((const quint16 *)(m_data+ch->pos()))) <<""; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColor.cpp:286:85: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const quint32*’ {aka ‘const unsigned int*’} increases required alignment of target type [-Wcast-align] 286 | dbgPigment <<"Channel (int):" << ch->name() <<":" << QString().setNum(*((const quint32 *)(m_data+ch->pos()))) <<""; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColor.cpp: In function ‘QDebug operator<<(QDebug, const KoColor&)’: /build/krita/src/krita-5.2.9/libs/pigment/KoColor.cpp:703:34: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const quint16*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 703 | const quint16 *ptr = reinterpret_cast(color.data() + ch->pos()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColor.cpp:707:34: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const quint32*’ {aka ‘const unsigned int*’} increases required alignment of target type [-Wcast-align] 707 | const quint32 *ptr = reinterpret_cast(color.data() + ch->pos()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColor.cpp:713:31: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const half*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 713 | const half *ptr = reinterpret_cast(color.data() + ch->pos()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColor.cpp:721:32: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 721 | const float *ptr = reinterpret_cast(color.data() + ch->pos()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColor.cpp:725:33: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const double*’ increases required alignment of target type [-Wcast-align] 725 | const double *ptr = reinterpret_cast(color.data() + ch->pos()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColor.cpp:733:33: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const qint16*’ {aka ‘const short int*’} increases required alignment of target type [-Wcast-align] 733 | const qint16 *ptr = reinterpret_cast(color.data() + ch->pos()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorConversions.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:11: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorConversionSystem.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorConversionTransformation.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:178:10: required from here 178 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:179:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 179 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionLab16ToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:207:10: required from here 207 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:209:33: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const quint16*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 209 | const quint16 *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:210:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 210 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = float; alpha_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = Imath_3_1::half; alpha_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = short unsigned int; alpha_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = unsigned char; alpha_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:178:10: required from here 178 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:179:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 179 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionLab16ToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:207:10: required from here 207 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:209:33: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const quint16*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 209 | const quint16 *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:210:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 210 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = float; alpha_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = Imath_3_1::half; alpha_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = short unsigned int; alpha_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = unsigned char; alpha_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:178:10: required from here 178 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:179:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align] 179 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionLab16ToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:207:10: required from here 207 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:209:33: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const quint16*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 209 | const quint16 *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:210:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align] 210 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = float; alpha_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = Imath_3_1::half; alpha_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = short unsigned int; alpha_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = unsigned char; alpha_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:240:38: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align] 240 | alpha_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionLab16ToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = unsigned char; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:207:10: required from here 207 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:209:33: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const quint16*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 209 | const quint16 *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = float; alpha_channel_type = unsigned char; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = Imath_3_1::half; alpha_channel_type = unsigned char; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAToAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with gray_channel_type = short unsigned int; alpha_channel_type = unsigned char; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:237:10: required from here 237 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:239:43: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 239 | const gray_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:29:10: required from here 29 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:31:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 31 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionAlphaToLab16Transformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:62:10: required from here 62 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:64:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 64 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:65:27: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 65 | quint16 *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = float; gray_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = float; gray_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = float; gray_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = float; gray_channel_type = unsigned char; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const float*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:29:10: required from here 29 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:31:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 31 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionAlphaToLab16Transformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:62:10: required from here 62 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:64:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 64 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:65:27: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 65 | quint16 *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = Imath_3_1::half; gray_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = Imath_3_1::half; gray_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = Imath_3_1::half; gray_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = Imath_3_1::half; gray_channel_type = unsigned char; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:29:10: required from here 29 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:31:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 31 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionAlphaToLab16Transformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:62:10: required from here 62 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:64:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 64 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:65:27: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 65 | quint16 *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = short unsigned int; gray_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = short unsigned int; gray_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = short unsigned int; gray_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = short unsigned int; gray_channel_type = unsigned char; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:93:44: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const short unsigned int*’ increases required alignment of target type [-Wcast-align] 93 | const alpha_channel_type *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionAlphaToLab16Transformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = unsigned char; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:62:10: required from here 62 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:65:27: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 65 | quint16 *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = unsigned char; gray_channel_type = float; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = unsigned char; gray_channel_type = Imath_3_1::half; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘Imath_3_1::half*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp: In instantiation of ‘void KoColorConversionGrayAFromAlphaTransformation::transform(const quint8*, quint8*, qint32) const [with alpha_channel_type = unsigned char; gray_channel_type = short unsigned int; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:92:10: required from here 92 | void transform(const quint8 *src, quint8 *dst, qint32 nPixels) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorConversionAlphaTransformation.cpp:94:37: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘short unsigned int*’ increases required alignment of target type [-Wcast-align] 94 | gray_channel_type *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorProofingConversionTransformation.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorConversionTransformationFactory.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorModelStandardIds.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorProfile.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorSpace.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorSpaceEngine.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorSpaceFactory.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorSpaceMaths.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoCmykColorSpaceMaths.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpace.cpp:27: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpace.cpp:28: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpacePreserveLightnessUtils.h: In instantiation of ‘void fillGrayBrushWithColorPreserveLightnessRGB(quint8*, const QRgb*, quint8*, qreal, qint32) [with CSTraits = KoBgrU16Traits; quint8 = unsigned char; QRgb = unsigned int; qreal = double; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpace.cpp:895:63: required from here 895 | fillGrayBrushWithColorPreserveLightnessRGB(rgbBuffer.data(), brush, rgbBrushColorBuffer, strength, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpacePreserveLightnessUtils.h:20:39: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘const RGBPixel*’ {aka ‘const KoBgrTraits::Pixel*’} increases required alignment of target type [-Wcast-align] 20 | const RGBPixel *srcColorRGB = reinterpret_cast(brushColor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpacePreserveLightnessUtils.h:61:34: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘RGBPixel*’ {aka ‘KoBgrTraits::Pixel*’} increases required alignment of target type [-Wcast-align] 61 | RGBPixel *pixelRGB = reinterpret_cast(pixels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpacePreserveLightnessUtils.h: In instantiation of ‘void modulateLightnessByGrayBrushRGB(quint8*, const QRgb*, qreal, qint32) [with CSTraits = KoBgrU16Traits; quint8 = unsigned char; QRgb = unsigned int; qreal = double; qint32 = int]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpace.cpp:908:52: required from here 908 | modulateLightnessByGrayBrushRGB(dstBuffer.data(), brush, strength, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpacePreserveLightnessUtils.h:95:34: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘RGBPixel*’ {aka ‘KoBgrTraits::Pixel*’} increases required alignment of target type [-Wcast-align] 95 | RGBPixel *pixelRGB = reinterpret_cast(pixels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoLabColorSpaceMaths.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceMaths.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceMaths.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorSpaceRegistry.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorProfileStorage.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorTransformation.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoLabColorSpaceMaths.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoLabColorSpaceMaths.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorTransformationFactory.cpp.o [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoColorTransformationFactoryRegistry.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoAlphaColorSpace.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceRegistry.cpp:26: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 8%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoCompositeColorTransformation.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoCompositeOp.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoCompositeOpRegistry.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoCopyColorConversionTransformation.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoFallBackColorTransformation.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoCompositeOp.cpp:14: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoHistogramProducer.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoMultipleColorConversionTransformation.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/colorspaces/KoAlphaColorSpace.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/colorspaces/KoLabColorSpace.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/colorspaces/KoRgbU16ColorSpace.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoAlphaColorSpace.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoAlphaColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoSimpleColorSpace.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoLabColorSpace.h:12, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoLabColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/colorspaces/KoRgbU8ColorSpace.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoSimpleColorSpace.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoRgbU16ColorSpace.h:12, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoRgbU16ColorSpace.cpp:9: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoSimpleColorSpace.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoRgbU8ColorSpace.h:12, from /build/krita/src/krita-5.2.9/libs/pigment/colorspaces/KoRgbU8ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/colorspaces/KoSimpleColorSpaceEngine.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/compositeops/KoOptimizedCompositeOpFactory.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/compositeops/KoOptimizedCompositeOpFactoryPerArch_Scalar.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/compositeops/KoAlphaDarkenParamsWrapper.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoAlphaDarkenParamsWrapper.h:11, from /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoAlphaDarkenParamsWrapper.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch_Scalar.cpp:10: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/compositeops/KoColorSpaceBlendingPolicy.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch_Scalar.cpp:11: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h: In instantiation of ‘void KoCompositeOpAlphaDarken::genericComposite(const KoCompositeOp::ParameterInfo&) const [with bool useMask = true; Traits = KoBgrU16Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperCreamy]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:35:35: required from ‘void KoCompositeOpAlphaDarken::composite(const KoCompositeOp::ParameterInfo&) const [with Traits = KoBgrU16Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperCreamy]’ 35 | genericComposite(params); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:32:10: required from here 32 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:55:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaDarken::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 55 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:56:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaDarken::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 56 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h: In instantiation of ‘void KoCompositeOpAlphaDarken::genericComposite(const KoCompositeOp::ParameterInfo&) const [with bool useMask = false; Traits = KoBgrU16Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperCreamy]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:37:36: required from ‘void KoCompositeOpAlphaDarken::composite(const KoCompositeOp::ParameterInfo&) const [with Traits = KoBgrU16Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperCreamy]’ 37 | genericComposite(params); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:32:10: required from here 32 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:55:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaDarken::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 55 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:56:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaDarken::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 56 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h: In instantiation of ‘void KoCompositeOpAlphaDarken::genericComposite(const KoCompositeOp::ParameterInfo&) const [with bool useMask = true; Traits = KoBgrU16Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperHard]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:35:35: required from ‘void KoCompositeOpAlphaDarken::composite(const KoCompositeOp::ParameterInfo&) const [with Traits = KoBgrU16Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperHard]’ 35 | genericComposite(params); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:32:10: required from here 32 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:55:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaDarken::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 55 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:56:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaDarken::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 56 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h: In instantiation of ‘void KoCompositeOpAlphaDarken::genericComposite(const KoCompositeOp::ParameterInfo&) const [with bool useMask = false; Traits = KoBgrU16Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperHard]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:37:36: required from ‘void KoCompositeOpAlphaDarken::composite(const KoCompositeOp::ParameterInfo&) const [with Traits = KoBgrU16Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperHard]’ 37 | genericComposite(params); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:32:10: required from here 32 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:55:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaDarken::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 55 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:56:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaDarken::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 56 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:12: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = true; bool alphaLocked = true; bool allChannelFlags = true; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:54:72: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’ 54 | if(allChannelFlags) { genericComposite (params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = true; bool alphaLocked = true; bool allChannelFlags = false; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:55:72: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’ 55 | else { genericComposite(params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = true; bool alphaLocked = false; bool allChannelFlags = true; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:58:73: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’ 58 | if(allChannelFlags) { genericComposite (params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = true; bool alphaLocked = false; bool allChannelFlags = false; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:59:73: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’ 59 | else { genericComposite(params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = false; bool alphaLocked = true; bool allChannelFlags = true; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:64:73: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’ 64 | if(allChannelFlags) { genericComposite (params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = false; bool alphaLocked = true; bool allChannelFlags = false; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:65:73: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’ 65 | else { genericComposite(params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = false; bool alphaLocked = false; bool allChannelFlags = true; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:68:74: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’ 68 | if(allChannelFlags) { genericComposite (params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = false; bool alphaLocked = false; bool allChannelFlags = false; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:69:74: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpCopy2]’ 69 | else { genericComposite(params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = true; bool alphaLocked = true; bool allChannelFlags = true; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:54:72: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’ 54 | if(allChannelFlags) { genericComposite (params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = true; bool alphaLocked = true; bool allChannelFlags = false; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:55:72: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’ 55 | else { genericComposite(params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = true; bool alphaLocked = false; bool allChannelFlags = true; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:58:73: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’ 58 | if(allChannelFlags) { genericComposite (params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = true; bool alphaLocked = false; bool allChannelFlags = false; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:59:73: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’ 59 | else { genericComposite(params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = false; bool alphaLocked = true; bool allChannelFlags = true; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:64:73: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’ 64 | if(allChannelFlags) { genericComposite (params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = false; bool alphaLocked = true; bool allChannelFlags = false; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:65:73: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’ 65 | else { genericComposite(params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = false; bool alphaLocked = false; bool allChannelFlags = true; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:68:74: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’ 68 | if(allChannelFlags) { genericComposite (params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h: In instantiation of ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::genericComposite(const KoCompositeOp::ParameterInfo&, const QBitArray&) const [with bool useMask = false; bool alphaLocked = false; bool allChannelFlags = false; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:69:74: required from ‘void KoCompositeOpBase<_CSTraits, _compositeOp>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpCopy2]’ 69 | else { genericComposite(params, flags); } | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:45:10: required from here 45 | void composite(const KoCompositeOp::ParameterInfo& params) const override { | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:87:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpBase >::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 87 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpBase.h:88:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpBase >::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 88 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h: In instantiation of ‘void KoCompositeOpAlphaDarken::genericComposite(const KoCompositeOp::ParameterInfo&) const [with bool useMask = true; Traits = KoRgbF32Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperCreamy]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:35:35: required from ‘void KoCompositeOpAlphaDarken::composite(const KoCompositeOp::ParameterInfo&) const [with Traits = KoRgbF32Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperCreamy]’ 35 | genericComposite(params); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:32:10: required from here 32 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:55:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaDarken::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 55 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:56:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaDarken::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 56 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h: In instantiation of ‘void KoCompositeOpAlphaDarken::genericComposite(const KoCompositeOp::ParameterInfo&) const [with bool useMask = false; Traits = KoRgbF32Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperCreamy]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:37:36: required from ‘void KoCompositeOpAlphaDarken::composite(const KoCompositeOp::ParameterInfo&) const [with Traits = KoRgbF32Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperCreamy]’ 37 | genericComposite(params); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:32:10: required from here 32 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:55:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaDarken::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 55 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:56:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaDarken::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 56 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h: In instantiation of ‘void KoCompositeOpAlphaDarken::genericComposite(const KoCompositeOp::ParameterInfo&) const [with bool useMask = true; Traits = KoRgbF32Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperHard]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:35:35: required from ‘void KoCompositeOpAlphaDarken::composite(const KoCompositeOp::ParameterInfo&) const [with Traits = KoRgbF32Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperHard]’ 35 | genericComposite(params); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:32:10: required from here 32 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:55:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaDarken::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 55 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:56:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaDarken::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 56 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h: In instantiation of ‘void KoCompositeOpAlphaDarken::genericComposite(const KoCompositeOp::ParameterInfo&) const [with bool useMask = false; Traits = KoRgbF32Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperHard]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:37:36: required from ‘void KoCompositeOpAlphaDarken::composite(const KoCompositeOp::ParameterInfo&) const [with Traits = KoRgbF32Traits; ParamsWrapper = KoAlphaDarkenParamsWrapperHard]’ 37 | genericComposite(params); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:32:10: required from here 32 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:55:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaDarken::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 55 | const channels_type* src = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaDarken.h:56:41: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaDarken::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 56 | channels_type* dst = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpOver.h:10, from /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoOptimizedCompositeOpFactoryPerArch_Scalar.cpp:13: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h: In instantiation of ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = true; bool allChannelFlags = true; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:130:41: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = true; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 130 | composite(params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:146:28: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 146 | composite(params); | ~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:136:10: required from here 136 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:56:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 56 | const channels_type *srcN = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:57:35: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 57 | channels_type *dstN = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h: In instantiation of ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = true; bool allChannelFlags = false; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:132:42: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = true; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 132 | composite(params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:146:28: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 146 | composite(params); | ~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:136:10: required from here 136 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:56:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 56 | const channels_type *srcN = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:57:35: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 57 | channels_type *dstN = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h: In instantiation of ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = false; bool allChannelFlags = true; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:130:41: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = false; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 130 | composite(params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:148:29: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 148 | composite(params); | ~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:136:10: required from here 136 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:56:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 56 | const channels_type *srcN = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:57:35: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 57 | channels_type *dstN = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h: In instantiation of ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = false; bool allChannelFlags = false; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:132:42: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = false; _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 132 | composite(params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:148:29: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoBgrU16Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 148 | composite(params); | ~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:136:10: required from here 136 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:56:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 56 | const channels_type *srcN = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:57:35: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 57 | channels_type *dstN = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h: In instantiation of ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = true; bool allChannelFlags = true; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:130:41: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = true; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 130 | composite(params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:146:28: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 146 | composite(params); | ~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:136:10: required from here 136 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:56:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 56 | const channels_type *srcN = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:57:35: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 57 | channels_type *dstN = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h: In instantiation of ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = true; bool allChannelFlags = false; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:132:42: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = true; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 132 | composite(params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:146:28: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 146 | composite(params); | ~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:136:10: required from here 136 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:56:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 56 | const channels_type *srcN = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:57:35: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 57 | channels_type *dstN = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h: In instantiation of ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = false; bool allChannelFlags = true; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:130:41: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = false; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 130 | composite(params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:148:29: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 148 | composite(params); | ~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:136:10: required from here 136 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:56:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 56 | const channels_type *srcN = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:57:35: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 57 | channels_type *dstN = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h: In instantiation of ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = false; bool allChannelFlags = false; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’: /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:132:42: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with bool alphaLocked = false; _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 132 | composite(params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:148:29: required from ‘void KoCompositeOpAlphaBase<_CSTraits, _compositeOp, _alphaLocked>::composite(const KoCompositeOp::ParameterInfo&) const [with _CSTraits = KoRgbF32Traits; _compositeOp = KoCompositeOpOver; bool _alphaLocked = false]’ 148 | composite(params); | ~~~~~~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:136:10: required from here 136 | void composite(const KoCompositeOp::ParameterInfo& params) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:56:41: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 56 | const channels_type *srcN = reinterpret_cast(srcRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/compositeops/KoCompositeOpAlphaBase.h:57:35: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoCompositeOpAlphaBase, false>::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 57 | channels_type *dstN = reinterpret_cast(dstRowStart); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoAlphaMaskApplicatorFactoryImpl.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoOptimizedPixelDataScalerU8ToU16FactoryImpl.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoOptimizedPixelDataScalerU8ToU16FactoryImpl.cpp:11: /build/krita/src/krita-5.2.9/libs/pigment/KoOptimizedPixelDataScalerU8ToU16.h:145:49: warning: "XSIMD_WITH_NEON" is not defined, evaluates to 0 [-Wundef] 145 | #elif defined(HAVE_XSIMD) && XSIMD_WITH_SSE2 || XSIMD_WITH_NEON || XSIMD_WITH_NEON64 | ^~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoOptimizedPixelDataScalerU8ToU16.h:145:68: warning: "XSIMD_WITH_NEON64" is not defined, evaluates to 0 [-Wundef] 145 | #elif defined(HAVE_XSIMD) && XSIMD_WITH_SSE2 || XSIMD_WITH_NEON || XSIMD_WITH_NEON64 | ^~~~~~~~~~~~~~~~~ [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/KoAlphaMaskApplicatorFactory.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:12, from /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicatorFactoryImpl.cpp:11: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 1; int _alpha_pos_ = 0; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:262:52: required from ‘static void KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::applyInverseAlphaNormedFloatMask(quint8*, const float*, qint32) [with _channels_type_ = float; int _channels_nb_ = 1; int _alpha_pos_ = 0; quint8 = unsigned char; qint32 = int]’ 262 | channels_type* alphapixel = nativeArray(pixels) + alpha_pos; | ~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:30:49: required from ‘void KoAlphaMaskApplicator<_channels_type_, _channels_nb_, _alpha_pos_, _impl, EnableDummyType>::applyInverseNormedFloatMask(quint8*, const float*, qint32) const [with _channels_type_ = float; int _channels_nb_ = 1; int _alpha_pos_ = 0; _impl = xsimd::generic; EnableDummyType = void; quint8 = unsigned char; qint32 = int]’ 26 | KoColorSpaceTrait< | ~~~~~~~~~~~~~~~~~~ 27 | _channels_type_, | ~~~~~~~~~~~~~~~~ 28 | _channels_nb_, | ~~~~~~~~~~~~~~ 29 | _alpha_pos_>:: | ~~~~~~~~~~~~~~ 30 | applyInverseAlphaNormedFloatMask(pixels, alpha, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:23:10: required from here 23 | void applyInverseNormedFloatMask(quint8 *pixels, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 1; int _alpha_pos_ = 0; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:262:52: required from ‘static void KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::applyInverseAlphaNormedFloatMask(quint8*, const float*, qint32) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 1; int _alpha_pos_ = 0; quint8 = unsigned char; qint32 = int]’ 262 | channels_type* alphapixel = nativeArray(pixels) + alpha_pos; | ~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:30:49: required from ‘void KoAlphaMaskApplicator<_channels_type_, _channels_nb_, _alpha_pos_, _impl, EnableDummyType>::applyInverseNormedFloatMask(quint8*, const float*, qint32) const [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 1; int _alpha_pos_ = 0; _impl = xsimd::generic; EnableDummyType = void; quint8 = unsigned char; qint32 = int]’ 26 | KoColorSpaceTrait< | ~~~~~~~~~~~~~~~~~~ 27 | _channels_type_, | ~~~~~~~~~~~~~~~~ 28 | _channels_nb_, | ~~~~~~~~~~~~~~ 29 | _alpha_pos_>:: | ~~~~~~~~~~~~~~ 30 | applyInverseAlphaNormedFloatMask(pixels, alpha, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:23:10: required from here 23 | void applyInverseNormedFloatMask(quint8 *pixels, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = short unsigned int; int _channels_nb_ = 1; int _alpha_pos_ = 0; channels_type = short unsigned int; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:262:52: required from ‘static void KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::applyInverseAlphaNormedFloatMask(quint8*, const float*, qint32) [with _channels_type_ = short unsigned int; int _channels_nb_ = 1; int _alpha_pos_ = 0; quint8 = unsigned char; qint32 = int]’ 262 | channels_type* alphapixel = nativeArray(pixels) + alpha_pos; | ~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:30:49: required from ‘void KoAlphaMaskApplicator<_channels_type_, _channels_nb_, _alpha_pos_, _impl, EnableDummyType>::applyInverseNormedFloatMask(quint8*, const float*, qint32) const [with _channels_type_ = short unsigned int; int _channels_nb_ = 1; int _alpha_pos_ = 0; _impl = xsimd::generic; EnableDummyType = void; quint8 = unsigned char; qint32 = int]’ 26 | KoColorSpaceTrait< | ~~~~~~~~~~~~~~~~~~ 27 | _channels_type_, | ~~~~~~~~~~~~~~~~ 28 | _channels_nb_, | ~~~~~~~~~~~~~~ 29 | _alpha_pos_>:: | ~~~~~~~~~~~~~~ 30 | applyInverseAlphaNormedFloatMask(pixels, alpha, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:23:10: required from here 23 | void applyInverseNormedFloatMask(quint8 *pixels, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 2; int _alpha_pos_ = 1; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:262:52: required from ‘static void KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::applyInverseAlphaNormedFloatMask(quint8*, const float*, qint32) [with _channels_type_ = float; int _channels_nb_ = 2; int _alpha_pos_ = 1; quint8 = unsigned char; qint32 = int]’ 262 | channels_type* alphapixel = nativeArray(pixels) + alpha_pos; | ~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:30:49: required from ‘void KoAlphaMaskApplicator<_channels_type_, _channels_nb_, _alpha_pos_, _impl, EnableDummyType>::applyInverseNormedFloatMask(quint8*, const float*, qint32) const [with _channels_type_ = float; int _channels_nb_ = 2; int _alpha_pos_ = 1; _impl = xsimd::generic; EnableDummyType = void; quint8 = unsigned char; qint32 = int]’ 26 | KoColorSpaceTrait< | ~~~~~~~~~~~~~~~~~~ 27 | _channels_type_, | ~~~~~~~~~~~~~~~~ 28 | _channels_nb_, | ~~~~~~~~~~~~~~ 29 | _alpha_pos_>:: | ~~~~~~~~~~~~~~ 30 | applyInverseAlphaNormedFloatMask(pixels, alpha, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:23:10: required from here 23 | void applyInverseNormedFloatMask(quint8 *pixels, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 2; int _alpha_pos_ = 1; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:262:52: required from ‘static void KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::applyInverseAlphaNormedFloatMask(quint8*, const float*, qint32) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 2; int _alpha_pos_ = 1; quint8 = unsigned char; qint32 = int]’ 262 | channels_type* alphapixel = nativeArray(pixels) + alpha_pos; | ~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:30:49: required from ‘void KoAlphaMaskApplicator<_channels_type_, _channels_nb_, _alpha_pos_, _impl, EnableDummyType>::applyInverseNormedFloatMask(quint8*, const float*, qint32) const [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 2; int _alpha_pos_ = 1; _impl = xsimd::generic; EnableDummyType = void; quint8 = unsigned char; qint32 = int]’ 26 | KoColorSpaceTrait< | ~~~~~~~~~~~~~~~~~~ 27 | _channels_type_, | ~~~~~~~~~~~~~~~~ 28 | _channels_nb_, | ~~~~~~~~~~~~~~ 29 | _alpha_pos_>:: | ~~~~~~~~~~~~~~ 30 | applyInverseAlphaNormedFloatMask(pixels, alpha, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:23:10: required from here 23 | void applyInverseNormedFloatMask(quint8 *pixels, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = short unsigned int; int _channels_nb_ = 2; int _alpha_pos_ = 1; channels_type = short unsigned int; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:262:52: required from ‘static void KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::applyInverseAlphaNormedFloatMask(quint8*, const float*, qint32) [with _channels_type_ = short unsigned int; int _channels_nb_ = 2; int _alpha_pos_ = 1; quint8 = unsigned char; qint32 = int]’ 262 | channels_type* alphapixel = nativeArray(pixels) + alpha_pos; | ~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:30:49: required from ‘void KoAlphaMaskApplicator<_channels_type_, _channels_nb_, _alpha_pos_, _impl, EnableDummyType>::applyInverseNormedFloatMask(quint8*, const float*, qint32) const [with _channels_type_ = short unsigned int; int _channels_nb_ = 2; int _alpha_pos_ = 1; _impl = xsimd::generic; EnableDummyType = void; quint8 = unsigned char; qint32 = int]’ 26 | KoColorSpaceTrait< | ~~~~~~~~~~~~~~~~~~ 27 | _channels_type_, | ~~~~~~~~~~~~~~~~ 28 | _channels_nb_, | ~~~~~~~~~~~~~~ 29 | _alpha_pos_>:: | ~~~~~~~~~~~~~~ 30 | applyInverseAlphaNormedFloatMask(pixels, alpha, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:23:10: required from here 23 | void applyInverseNormedFloatMask(quint8 *pixels, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = short unsigned int; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = short unsigned int; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:262:52: required from ‘static void KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::applyInverseAlphaNormedFloatMask(quint8*, const float*, qint32) [with _channels_type_ = short unsigned int; int _channels_nb_ = 5; int _alpha_pos_ = 4; quint8 = unsigned char; qint32 = int]’ 262 | channels_type* alphapixel = nativeArray(pixels) + alpha_pos; | ~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:30:49: required from ‘void KoAlphaMaskApplicator<_channels_type_, _channels_nb_, _alpha_pos_, _impl, EnableDummyType>::applyInverseNormedFloatMask(quint8*, const float*, qint32) const [with _channels_type_ = short unsigned int; int _channels_nb_ = 5; int _alpha_pos_ = 4; _impl = xsimd::generic; EnableDummyType = void; quint8 = unsigned char; qint32 = int]’ 26 | KoColorSpaceTrait< | ~~~~~~~~~~~~~~~~~~ 27 | _channels_type_, | ~~~~~~~~~~~~~~~~ 28 | _channels_nb_, | ~~~~~~~~~~~~~~ 29 | _alpha_pos_>:: | ~~~~~~~~~~~~~~ 30 | applyInverseAlphaNormedFloatMask(pixels, alpha, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:23:10: required from here 23 | void applyInverseNormedFloatMask(quint8 *pixels, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 4; int _alpha_pos_ = 3; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:262:52: required from ‘static void KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::applyInverseAlphaNormedFloatMask(quint8*, const float*, qint32) [with _channels_type_ = float; int _channels_nb_ = 4; int _alpha_pos_ = 3; quint8 = unsigned char; qint32 = int]’ 262 | channels_type* alphapixel = nativeArray(pixels) + alpha_pos; | ~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:30:49: required from ‘void KoAlphaMaskApplicator<_channels_type_, _channels_nb_, _alpha_pos_, _impl, EnableDummyType>::applyInverseNormedFloatMask(quint8*, const float*, qint32) const [with _channels_type_ = float; int _channels_nb_ = 4; int _alpha_pos_ = 3; _impl = xsimd::generic; EnableDummyType = void; quint8 = unsigned char; qint32 = int]’ 26 | KoColorSpaceTrait< | ~~~~~~~~~~~~~~~~~~ 27 | _channels_type_, | ~~~~~~~~~~~~~~~~ 28 | _channels_nb_, | ~~~~~~~~~~~~~~ 29 | _alpha_pos_>:: | ~~~~~~~~~~~~~~ 30 | applyInverseAlphaNormedFloatMask(pixels, alpha, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:23:10: required from here 23 | void applyInverseNormedFloatMask(quint8 *pixels, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 4; int _alpha_pos_ = 3; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:262:52: required from ‘static void KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::applyInverseAlphaNormedFloatMask(quint8*, const float*, qint32) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 4; int _alpha_pos_ = 3; quint8 = unsigned char; qint32 = int]’ 262 | channels_type* alphapixel = nativeArray(pixels) + alpha_pos; | ~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:30:49: required from ‘void KoAlphaMaskApplicator<_channels_type_, _channels_nb_, _alpha_pos_, _impl, EnableDummyType>::applyInverseNormedFloatMask(quint8*, const float*, qint32) const [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 4; int _alpha_pos_ = 3; _impl = xsimd::generic; EnableDummyType = void; quint8 = unsigned char; qint32 = int]’ 26 | KoColorSpaceTrait< | ~~~~~~~~~~~~~~~~~~ 27 | _channels_type_, | ~~~~~~~~~~~~~~~~ 28 | _channels_nb_, | ~~~~~~~~~~~~~~ 29 | _alpha_pos_>:: | ~~~~~~~~~~~~~~ 30 | applyInverseAlphaNormedFloatMask(pixels, alpha, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:23:10: required from here 23 | void applyInverseNormedFloatMask(quint8 *pixels, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = short unsigned int; int _channels_nb_ = 4; int _alpha_pos_ = 3; channels_type = short unsigned int; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:262:52: required from ‘static void KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::applyInverseAlphaNormedFloatMask(quint8*, const float*, qint32) [with _channels_type_ = short unsigned int; int _channels_nb_ = 4; int _alpha_pos_ = 3; quint8 = unsigned char; qint32 = int]’ 262 | channels_type* alphapixel = nativeArray(pixels) + alpha_pos; | ~~~~~~~~~~~^~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:30:49: required from ‘void KoAlphaMaskApplicator<_channels_type_, _channels_nb_, _alpha_pos_, _impl, EnableDummyType>::applyInverseNormedFloatMask(quint8*, const float*, qint32) const [with _channels_type_ = short unsigned int; int _channels_nb_ = 4; int _alpha_pos_ = 3; _impl = xsimd::generic; EnableDummyType = void; quint8 = unsigned char; qint32 = int]’ 26 | KoColorSpaceTrait< | ~~~~~~~~~~~~~~~~~~ 27 | _channels_type_, | ~~~~~~~~~~~~~~~~ 28 | _channels_nb_, | ~~~~~~~~~~~~~~ 29 | _alpha_pos_>:: | ~~~~~~~~~~~~~~ 30 | applyInverseAlphaNormedFloatMask(pixels, alpha, nPixels); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoAlphaMaskApplicator.h:23:10: required from here 23 | void applyInverseNormedFloatMask(quint8 *pixels, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoOptimizedPixelDataScalerU8ToU16.h: In instantiation of ‘void KoOptimizedPixelDataScalerU8ToU16<_impl>::convertU8ToU16(const quint8*, int, quint8*, int, int, int) const [with _impl = xsimd::generic; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoOptimizedPixelDataScalerU8ToU16.h:26:10: required from here 26 | void convertU8ToU16(const quint8 *src, int srcRowStride, quint8 *dst, int dstRowStride, int numRows, int numColumns) const override | ^~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoOptimizedPixelDataScalerU8ToU16.h:67:28: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 67 | auto *dstPtr = reinterpret_cast(dst); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoOptimizedPixelDataScalerU8ToU16.h: In instantiation of ‘void KoOptimizedPixelDataScalerU8ToU16<_impl>::convertU16ToU8(const quint8*, int, quint8*, int, int, int) const [with _impl = xsimd::generic; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoOptimizedPixelDataScalerU8ToU16.h:127:10: required from here 127 | void convertU16ToU8(const quint8 *src, int srcRowStride, quint8 *dst, int dstRowStride, int numRows, int numColumns) const override | ^~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoOptimizedPixelDataScalerU8ToU16.h:171:37: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const quint16*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 171 | const quint16 *srcPtr = reinterpret_cast(src); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/colorprofiles/KoDummyColorProfile.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/resources/KoAbstractGradient.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/resources/KoColorSet.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/resources/KisSwatch.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/resources/KisSwatchGroup.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoAbstractGradient.cpp:12: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoAbstractGradient.cpp: In member function ‘QImage KoAbstractGradient::generatePreview(int, int) const’: /build/krita/src/krita-5.2.9/libs/pigment/resources/KoAbstractGradient.cpp:114:24: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 114 | QRgb * firstLine = reinterpret_cast(image.scanLine(0)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoAbstractGradient.cpp:132:23: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 132 | QRgb * line = reinterpret_cast(image.scanLine(y)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/resources/KoPattern.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.h:18, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KisSwatch.h:13, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KisSwatch.cpp:9: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KisSwatch.h:13, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KisSwatchGroup.h:12, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KisSwatchGroup.cpp:10: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp: In member function ‘bool KoColorSet::Private::loadAco()’: /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1596:13: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 1596 | reinterpret_cast(c.data())[0] = ch3; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1597:13: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 1597 | reinterpret_cast(c.data())[1] = ch2; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1598:13: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 1598 | reinterpret_cast(c.data())[2] = ch1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1611:13: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 1611 | reinterpret_cast(c.data())[0] = quint16_MAX - ch1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1612:13: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 1612 | reinterpret_cast(c.data())[1] = quint16_MAX - ch2; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1613:13: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 1613 | reinterpret_cast(c.data())[2] = quint16_MAX - ch3; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1614:13: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 1614 | reinterpret_cast(c.data())[3] = quint16_MAX - ch4; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1620:13: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 1620 | reinterpret_cast(c.data())[0] = ch3; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1621:13: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 1621 | reinterpret_cast(c.data())[1] = ch2; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1622:13: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 1622 | reinterpret_cast(c.data())[2] = ch1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1628:13: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 1628 | reinterpret_cast(c.data())[0] = ch1 * (quint16_MAX / 10000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp: In member function ‘bool KoColorSet::Private::loadSbz()’: /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1783:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1783 | reinterpret_cast(c.data())[0] = l; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1784:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1784 | reinterpret_cast(c.data())[1] = a; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1785:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1785 | reinterpret_cast(c.data())[2] = b; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1804:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1804 | reinterpret_cast(c.data())[0] = r; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1805:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1805 | reinterpret_cast(c.data())[1] = g; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1806:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1806 | reinterpret_cast(c.data())[2] = b; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1824:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1824 | reinterpret_cast(c.data())[0] = x; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1825:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1825 | reinterpret_cast(c.data())[1] = y; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1826:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1826 | reinterpret_cast(c.data())[2] = z; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1871:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1871 | reinterpret_cast(color.data())[0] = c * KoCmykColorSpaceMathsTraits::unitValueCMYK; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1872:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1872 | reinterpret_cast(color.data())[1] = m * KoCmykColorSpaceMathsTraits::unitValueCMYK; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1873:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1873 | reinterpret_cast(color.data())[2] = y * KoCmykColorSpaceMathsTraits::unitValueCMYK; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1874:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1874 | reinterpret_cast(color.data())[3] = k * KoCmykColorSpaceMathsTraits::unitValueCMYK; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1913:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1913 | reinterpret_cast(c.data())[0] = g; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1956:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1956 | reinterpret_cast(c.data())[0] = r; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1957:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1957 | reinterpret_cast(c.data())[1] = g; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.cpp:1958:21: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 1958 | reinterpret_cast(c.data())[2] = b; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/resources/KoStopGradient.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoPattern.cpp: In member function ‘bool KoPattern::loadPatFromDevice(QIODevice*)’: /build/krita/src/krita-5.2.9/libs/pigment/resources/KoPattern.cpp:148:28: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 148 | QRgb* pixels = reinterpret_cast( pattern.scanLine(y) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoPattern.cpp:168:28: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 168 | QRgb* pixels = reinterpret_cast( pattern.scanLine(y) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoPattern.cpp:184:28: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 184 | QRgb* pixels = reinterpret_cast( pattern.scanLine(y) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoPattern.cpp:199:28: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 199 | QRgb* pixels = reinterpret_cast( pattern.scanLine(y) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/resources/KoPattern.cpp: In member function ‘KoPatternSP KoPattern::cloneWithoutAlpha() const’: /build/krita/src/krita-5.2.9/libs/pigment/resources/KoPattern.cpp:383:21: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 383 | QRgb *ptr = reinterpret_cast(image.scanLine(y)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/resources/KoSegmentGradient.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/resources/KisGradientConversion.cpp.o [ 10%] Building CXX object libs/pigment/CMakeFiles/kritapigment.dir/resources/KisUniqueColorSet.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoStopGradient.h:13, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoStopGradient.cpp:10: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoSegmentGradient.h:19, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoSegmentGradient.cpp:13: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoStopGradient.h:13, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KisGradientConversion.h:15, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KisGradientConversion.cpp:14: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KisUniqueColorSet.h:13, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KisUniqueColorSet.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 10%] Linking CXX shared library libkritapigment.so [ 10%] Built target kritapigment [ 10%] Built target kritapsdutils_autogen_timestamp_deps [ 10%] Built target krita_colorspaces_extensions_autogen_timestamp_deps [ 10%] Built target kritaflake_autogen_timestamp_deps [ 10%] Built target kritalcmsengine_autogen_timestamp_deps [ 10%] Automatic MOC for target kritapsdutils [ 10%] Automatic MOC for target kritalcmsengine [ 10%] Automatic MOC for target kritaflake [ 10%] Automatic MOC for target krita_colorspaces_extensions [ 10%] Built target kritapsdutils_autogen [ 10%] Building CXX object libs/psdutils/CMakeFiles/kritapsdutils.dir/kritapsdutils_autogen/mocs_compilation.cpp.o [ 10%] Building CXX object libs/psdutils/CMakeFiles/kritapsdutils.dir/psd.cpp.o [ 10%] Built target krita_colorspaces_extensions_autogen [ 10%] Building CXX object plugins/color/colorspaceextensions/CMakeFiles/krita_colorspaces_extensions.dir/krita_colorspaces_extensions_autogen/mocs_compilation.cpp.o [ 10%] Built target kritalcmsengine_autogen [ 10%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/kritalcmsengine_autogen/mocs_compilation.cpp.o [ 10%] Building CXX object plugins/color/colorspaceextensions/CMakeFiles/krita_colorspaces_extensions.dir/extensions_plugin.cc.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/psdutils/psd.h:20, from /build/krita/src/krita-5.2.9/libs/psdutils/psd.cpp:6: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 10%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/cmyk_u8/CmykU8ColorSpace.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 10%] Built target kritaflake_autogen [ 10%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/cmyk_u16/CmykU16ColorSpace.cpp.o [ 10%] Building CXX object libs/psdutils/CMakeFiles/kritapsdutils.dir/compression.cpp.o [ 10%] Building CXX object plugins/color/colorspaceextensions/CMakeFiles/krita_colorspaces_extensions.dir/kis_hsv_adjustment.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/cmyk_u8/CmykU8ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/cmyk_u8/CmykU8ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/cmyk_u16/CmykU16ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/cmyk_u16/CmykU16ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/psdutils/psd.h:20, from /build/krita/src/krita-5.2.9/libs/psdutils/compression.h:13, from /build/krita/src/krita-5.2.9/libs/psdutils/compression.cpp:10: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object libs/psdutils/CMakeFiles/kritapsdutils.dir/asl/kis_asl_reader.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp:21: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp: In instantiation of ‘void KisHSVAdjustment<_channel_type_, traits>::transform(const quint8*, quint8*, qint32) const [with _channel_type_ = float; traits = KoRgbTraits; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp:341:10: required from here 341 | void transform(const quint8 *srcU8, quint8 *dstU8, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp:347:35: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KisHSVAdjustment >::RGBPixel*’ {aka ‘const KoRgbTraits::Pixel*’} increases required alignment of target type [-Wcast-align] 347 | const RGBPixel* src = reinterpret_cast(srcU8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp:348:29: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KisHSVAdjustment >::RGBPixel*’ {aka ‘KoRgbTraits::Pixel*’} increases required alignment of target type [-Wcast-align] 348 | RGBPixel* dst = reinterpret_cast(dstU8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp: In instantiation of ‘void KisHSVAdjustment<_channel_type_, traits>::transform(const quint8*, quint8*, qint32) const [with _channel_type_ = Imath_3_1::half; traits = KoRgbTraits; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp:341:10: required from here 341 | void transform(const quint8 *srcU8, quint8 *dstU8, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp:347:35: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KisHSVAdjustment >::RGBPixel*’ {aka ‘const KoRgbTraits::Pixel*’} increases required alignment of target type [-Wcast-align] 347 | const RGBPixel* src = reinterpret_cast(srcU8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp:348:29: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KisHSVAdjustment >::RGBPixel*’ {aka ‘KoRgbTraits::Pixel*’} increases required alignment of target type [-Wcast-align] 348 | RGBPixel* dst = reinterpret_cast(dstU8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp: In instantiation of ‘void KisHSVAdjustment<_channel_type_, traits>::transform(const quint8*, quint8*, qint32) const [with _channel_type_ = short unsigned int; traits = KoBgrTraits; quint8 = unsigned char; qint32 = int]’: /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp:341:10: required from here 341 | void transform(const quint8 *srcU8, quint8 *dstU8, qint32 nPixels) const override | ^~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp:347:35: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KisHSVAdjustment >::RGBPixel*’ {aka ‘const KoBgrTraits::Pixel*’} increases required alignment of target type [-Wcast-align] 347 | const RGBPixel* src = reinterpret_cast(srcU8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_hsv_adjustment.cpp:348:29: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KisHSVAdjustment >::RGBPixel*’ {aka ‘KoBgrTraits::Pixel*’} increases required alignment of target type [-Wcast-align] 348 | RGBPixel* dst = reinterpret_cast(dstU8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object plugins/color/colorspaceextensions/CMakeFiles/krita_colorspaces_extensions.dir/kis_dodgehighlights_adjustment.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/psdutils/psd.h:20, from /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.h:11, from /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp: In instantiation of ‘QImage Private::readVirtualArrayList(QIODevice&, int, const QVector&) [with psd_byte_order byteOrder = psd_byte_order::psdBigEndian]’: /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp:560:62: required from ‘qint64 Private::readPattern(QIODevice&, QDomElement*, QDomDocument*) [with psd_byte_order byteOrder = psd_byte_order::psdBigEndian; qint64 = long long int]’ 560 | QImage patternImage = readVirtualArrayList(device, numPlanes, palette); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp:627:47: required from here 627 | qint64 chunk = readPattern(device, &patternsRoot, &doc); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp:420:27: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 420 | quint16 *dstPtr = reinterpret_cast(image.bits()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp:425:44: warning: cast from ‘const char*’ to ‘const quint16*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 425 | const quint16 *dataPlane = reinterpret_cast(dataPlanes[plane].constData()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp: In instantiation of ‘QImage Private::readVirtualArrayList(QIODevice&, int, const QVector&) [with psd_byte_order byteOrder = psd_byte_order::psdLittleEndian]’: /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp:560:62: required from ‘qint64 Private::readPattern(QIODevice&, QDomElement*, QDomDocument*) [with psd_byte_order byteOrder = psd_byte_order::psdLittleEndian; qint64 = long long int]’ 560 | QImage patternImage = readVirtualArrayList(device, numPlanes, palette); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp:808:59: required from ‘QDomDocument readPsdSectionPatternImpl(QIODevice&, qint64) [with psd_byte_order byteOrder = psd_byte_order::psdLittleEndian; qint64 = long long int]’ 808 | qint64 chunk = Private::readPattern(device, &pat, &doc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp:784:74: required from here 784 | return readPsdSectionPatternImpl(device, bytesLeft); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp:420:27: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 420 | quint16 *dstPtr = reinterpret_cast(image.bits()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_reader.cpp:425:44: warning: cast from ‘const char*’ to ‘const quint16*’ {aka ‘const short unsigned int*’} increases required alignment of target type [-Wcast-align] 425 | const quint16 *dataPlane = reinterpret_cast(dataPlanes[plane].constData()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_dodgehighlights_adjustment.cpp:19: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object libs/psdutils/CMakeFiles/kritapsdutils.dir/asl/kis_asl_xml_parser.cpp.o [ 11%] Building CXX object plugins/color/colorspaceextensions/CMakeFiles/krita_colorspaces_extensions.dir/kis_dodgemidtones_adjustment.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoSegmentGradient.h:19, from /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_xml_parser.cpp:22: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_dodgemidtones_adjustment.cpp:19: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object plugins/color/colorspaceextensions/CMakeFiles/krita_colorspaces_extensions.dir/kis_dodgeshadows_adjustment.cpp.o [ 11%] Building CXX object libs/psdutils/CMakeFiles/kritapsdutils.dir/asl/kis_asl_object_catcher.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_dodgeshadows_adjustment.cpp:19: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_object_catcher.cpp:9: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 11%] Building CXX object plugins/color/colorspaceextensions/CMakeFiles/krita_colorspaces_extensions.dir/kis_burnhighlights_adjustment.cpp.o [ 11%] Building CXX object plugins/color/colorspaceextensions/CMakeFiles/krita_colorspaces_extensions.dir/kis_burnmidtones_adjustment.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object libs/psdutils/CMakeFiles/kritapsdutils.dir/asl/kis_asl_callback_object_catcher.cpp.o [ 11%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/cmyk_f32/CmykF32ColorSpace.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_burnhighlights_adjustment.cpp:19: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_burnmidtones_adjustment.cpp:19: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Generating ui_PathToolOptionWidgetBase.h [ 11%] Generating ui_KoZoomToolWidget.h In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_callback_object_catcher.cpp:15: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/kritaflake_autogen/mocs_compilation.cpp.o [ 11%] Building CXX object plugins/color/colorspaceextensions/CMakeFiles/krita_colorspaces_extensions.dir/kis_burnshadows_adjustment.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/cmyk_f32/CmykF32ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/cmyk_f32/CmykF32ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 11%] Building CXX object libs/psdutils/CMakeFiles/kritapsdutils.dir/asl/kis_asl_xml_writer.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_burnshadows_adjustment.cpp:19: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/build/libs/flake/kritaflake_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/flake/KoResourceManager_p.h:16, from /build/krita/src/build/libs/flake/kritaflake_autogen/EWIEGA46WW/moc_KoResourceManager_p.cpp:10, from /build/krita/src/build/libs/flake/kritaflake_autogen/mocs_compilation.cpp:10: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object plugins/color/colorspaceextensions/CMakeFiles/krita_colorspaces_extensions.dir/kis_color_balance_adjustment.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoSegmentGradient.h:19, from /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_xml_writer.h:14, from /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_xml_writer.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoGradientHelper.cpp.o [ 11%] Building CXX object libs/psdutils/CMakeFiles/kritapsdutils.dir/asl/kis_asl_patterns_writer.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_color_balance_adjustment.cpp:19: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object plugins/color/colorspaceextensions/CMakeFiles/krita_colorspaces_extensions.dir/kis_desaturate_adjustment.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoFlake.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/psdutils/psd.h:20, from /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_patterns_writer.h:18, from /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_patterns_writer.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object libs/psdutils/CMakeFiles/kritapsdutils.dir/asl/kis_asl_writer.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/plugins/color/colorspaceextensions/kis_desaturate_adjustment.cpp:17: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoCanvasBase.cpp.o [ 11%] Linking CXX shared module krita_colorspaces_extensions.so In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/psdutils/psd.h:20, from /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_writer.h:12, from /build/krita/src/krita-5.2.9/libs/psdutils/asl/kis_asl_writer.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoResourceManager_p.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Linking CXX shared library libkritapsdutils.so [ 11%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/gray_u8/GrayU8ColorSpace.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/flake/KoResourceManager_p.h:16, from /build/krita/src/krita-5.2.9/libs/flake/KoResourceManager_p.cpp:9: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoDerivedResourceConverter.cpp.o [ 11%] Built target krita_colorspaces_extensions [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoActiveCanvasResourceDependency.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/gray_u8/GrayU8ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/gray_u8/GrayU8ColorSpace.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoResourceUpdateMediator.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoCanvasResourceProvider.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoDocumentResourceManager.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/flake/KoResourceManager_p.h:16, from /build/krita/src/krita-5.2.9/libs/flake/KoCanvasResourceProvider.cpp:16: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/flake/KoResourceManager_p.h:16, from /build/krita/src/krita-5.2.9/libs/flake/KoDocumentResourceManager.cpp:17: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/gray_u16/GrayU16ColorSpace.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoCanvasObserverBase.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoCanvasSupervisor.cpp.o [ 11%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/gray_f32/GrayF32ColorSpace.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoDockFactoryBase.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/gray_u16/GrayU16ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/gray_u16/GrayU16ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoDockRegistry.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/gray_f32/GrayF32ColorSpace.h:11, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/gray_f32/GrayF32ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoInsets.cpp.o [ 11%] Built target kritapsdutils [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoPathShape.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoPathPoint.cpp.o [ 11%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/lab_u8/LabU8ColorSpace.cpp.o [ 11%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/lab_u16/LabColorSpace.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoPathSegment.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoSelection.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/lab_u8/LabU8ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/lab_u8/LabU8ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/lab_u16/LabColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/lab_u16/LabColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoSelectedShapesProxy.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoSelectedShapesProxySimple.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShape.cpp.o [ 11%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/lab_f32/LabF32ColorSpace.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeAnchor.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/lab_f32/LabF32ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/lab_f32/LabF32ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeControllerBase.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeApplicationData.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeContainer.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeContainerModel.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeGroup.cpp.o [ 11%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeManager.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoMarker.cpp.o [ 13%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/xyz_u8/XyzU8ColorSpace.cpp.o [ 13%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/xyz_u16/XyzU16ColorSpace.cpp.o [ 13%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/xyz_f32/XyzF32ColorSpace.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/xyz_u8/XyzU8ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/xyz_u8/XyzU8ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoMarkerCollection.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/xyz_u16/XyzU16ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/xyz_u16/XyzU16ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/xyz_f32/XyzF32ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/xyz_f32/XyzF32ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoToolBase.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoCanvasController.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoCanvasControllerWidget.cpp.o [ 13%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/rgb_u8/RgbU8ColorSpace.cpp.o [ 13%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/rgb_u16/RgbU16ColorSpace.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoCanvasControllerWidgetViewport_p.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeRegistry.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/rgb_u8/RgbU8ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/rgb_u8/RgbU8ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/rgb_u16/RgbU16ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/rgb_u16/RgbU16ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoDeferredShapeFactoryBase.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoToolFactoryBase.cpp.o [ 13%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/rgb_f32/RgbF32ColorSpace.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoPathShapeFactory.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/rgb_f32/RgbF32ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/rgb_f32/RgbF32ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeFactoryBase.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeUserData.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoParameterShape.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoPointerEvent.cpp.o [ 13%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/ycbcr_u8/YCbCrU8ColorSpace.cpp.o [ 13%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/ycbcr_u16/YCbCrU16ColorSpace.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeController.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/ycbcr_u8/YCbCrU8ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/ycbcr_u8/YCbCrU8ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/ycbcr_u16/YCbCrU16ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/ycbcr_u16/YCbCrU16ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 13%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/ycbcr_f32/YCbCrF32ColorSpace.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoToolSelection.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/ycbcr_f32/YCbCrF32ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/ycbcr_f32/YCbCrF32ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeLayer.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoInputDevice.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoToolManager_p.cpp.o [ 13%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorprofiles/LcmsColorProfileContainer.cpp.o [ 13%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorprofiles/IccColorProfile.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoToolManager.cpp.o [ 13%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoToolRegistry.cpp.o [ 14%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/IccColorSpaceEngine.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoToolProxy.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeSavingContext.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeLoadingContext.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/IccColorSpaceEngine.cpp:15: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 14%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/LcmsColorSpace.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoLoadingShapeUpdater.cpp.o [ 14%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/LcmsEnginePlugin.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoPathShapeLoader.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeStrokeModel.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeStroke.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.cpp:9: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/cmyk_u8/CmykU8ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsEnginePlugin.cpp:30: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeBackground.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoColorBackground.cpp.o [ 14%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/gray_f16/GrayF16ColorSpace.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoGradientBackground.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoMeshGradientBackground.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoHatchBackground.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/gray_f16/GrayF16ColorSpace.h:11, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/gray_f16/GrayF16ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 14%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/rgb_f16/RgbF16ColorSpace.cpp.o [ 14%] Building CXX object plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/colorspaces/xyz_f16/XyzF16ColorSpace.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoPatternBackground.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/rgb_f16/RgbF16ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/rgb_f16/RgbF16ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceAbstract.h:16, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/LcmsColorSpace.h:15, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/xyz_f16/XyzF16ColorSpace.h:10, from /build/krita/src/krita-5.2.9/plugins/color/lcms2engine/colorspaces/xyz_f16/XyzF16ColorSpace.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoVectorPatternBackground.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeFillWrapper.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeFillResourceConnector.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoStopGradient.h:13, from /build/krita/src/krita-5.2.9/libs/flake/KoShapeFillWrapper.cpp:19: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeConfigWidgetBase.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/flake/KoShapeFillResourceConnector.cpp:15: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoDrag.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoSvgPaste.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoSnapGuide.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoSnapProxy.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoSnapStrategy.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoSnapData.cpp.o [ 14%] Linking CXX shared module kritalcmsengine.so [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoShapeShadow.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoSharedLoadingData.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoSharedSavingData.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoViewConverter.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoFilterEffect.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoFilterEffectStack.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoFilterEffectFactoryBase.cpp.o [ 14%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoFilterEffectRegistry.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoFilterEffectConfigWidgetBase.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoFilterEffectRenderContext.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoFilterEffectLoadingContext.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoTextShapeDataBase.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoTosContainer.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoTosContainerModel.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoClipPath.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoClipMask.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoClipMaskPainter.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/KoCurveFit.cpp.o /build/krita/src/krita-5.2.9/libs/flake/KoClipMaskPainter.cpp: In member function ‘void KoClipMaskPainter::renderOnGlobalPainter()’: /build/krita/src/krita-5.2.9/libs/flake/KoClipMaskPainter.cpp:91:27: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 91 | QRgb *shapeData = reinterpret_cast(m_d->shapeImage.scanLine(y)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/flake/KoClipMaskPainter.cpp:92:32: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘const QRgb*’ {aka ‘const unsigned int*’} increases required alignment of target type [-Wcast-align] 92 | const QRgb *maskData = reinterpret_cast(m_d->maskImage.scanLine(y)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeGroupCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeAlignCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeBackgroundCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeCreateCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeDeleteCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeDistributeCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeLockCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeMoveCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeResizeCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeShearCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeSizeCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeStrokeCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeUngroupCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeReorderCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeKeepAspectRatioCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathBaseCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathPointMoveCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathControlPointMoveCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathPointTypeCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathPointRemoveCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathPointInsertCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathSegmentBreakCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathBreakAtPointCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathSegmentTypeCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathCombineCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoSubpathRemoveCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoSubpathJoinCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoParameterHandleMoveCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoParameterToPathCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeTransformCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathFillRuleCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeShadowCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathReverseCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeRenameCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeRunAroundCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathPointMergeCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeTransparencyCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeClipCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoShapeUnclipCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathShapeMarkerCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoMultiPathPointMergeCommand.cpp.o [ 16%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoMultiPathPointJoinCommand.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoKeepShapesSelectedCommand.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoPathMergeUtils.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/commands/KoAddRemoveShapeCommands.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/html/HtmlSavingContext.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/html/HtmlWriter.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoPathToolFactory.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoPathTool.cpp.o /build/krita/src/krita-5.2.9/libs/flake/tools/KoPathTool.cpp: In member function ‘virtual void KoPathTool::mouseDoubleClickEvent(KoPointerEvent*)’: /build/krita/src/krita-5.2.9/libs/flake/tools/KoPathTool.cpp:795:56: warning: unused parameter ‘event’ [-Wunused-parameter] 795 | void KoPathTool::mouseDoubleClickEvent(KoPointerEvent *event) | ~~~~~~~~~~~~~~~~^~~~~ [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoPathToolSelection.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoPathToolHandle.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/PathToolOptionWidget.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoPathPointRubberSelectStrategy.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoPathPointMoveStrategy.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoPathControlPointMoveStrategy.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoParameterChangeStrategy.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoZoomTool.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoZoomToolFactory.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoZoomToolWidget.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoZoomStrategy.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoInteractionTool.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoInteractionStrategy.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoInteractionStrategyFactory.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoShapeRubberSelectStrategy.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tools/KoPathSegmentChangeStrategy.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/KoShapePainter.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgUtil.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgGraphicContext.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgSavingContext.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgWriter.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgStyleWriter.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgShape.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgParser.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgStyleParser.cpp.o /build/krita/src/krita-5.2.9/libs/flake/svg/SvgParser.cpp: In static member function ‘static QDomDocument SvgParser::createDocumentFromSvg(QXmlInputSource*, QString*, int*, int*)’: /build/krita/src/krita-5.2.9/libs/flake/svg/SvgParser.cpp:172:24: warning: ‘bool QDomDocument::setContent(QXmlInputSource*, QXmlReader*, QString*, int*, int*)’ is deprecated: Use other overloads instead [-Wdeprecated-declarations] 172 | if (!doc.setContent(source, &reader, errorMsg, errorLine, errorColumn)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt/QtXml/QDomDocument:1, from /build/krita/src/krita-5.2.9/libs/flake/KoShape.h:22, from /build/krita/src/krita-5.2.9/libs/flake/KoShapeContainer.h:10, from /build/krita/src/krita-5.2.9/libs/flake/KoTosContainer.h:12, from /build/krita/src/krita-5.2.9/libs/flake/KoPathShape.h:18, from /build/krita/src/krita-5.2.9/libs/flake/svg/SvgMeshPatch.h:18, from /build/krita/src/krita-5.2.9/libs/flake/svg/SvgMeshGradient.h:12, from /build/krita/src/krita-5.2.9/libs/flake/svg/SvgGradientHelper.h:14, from /build/krita/src/krita-5.2.9/libs/flake/svg/SvgParser.h:19, from /build/krita/src/krita-5.2.9/libs/flake/svg/SvgParser.cpp:13: /usr/include/qt/QtXml/qdom.h:356:10: note: declared here 356 | bool setContent(QXmlInputSource *source, QXmlReader *reader, QString *errorMsg=nullptr, int *errorLine=nullptr, int *errorColumn=nullptr ); | ^~~~~~~~~~ [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgGradientHelper.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/flake/svg/SvgStyleParser.cpp:26: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgFilterHelper.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgCssHelper.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgClipPathHelper.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgLoadingContext.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/parsers/SvgTransformParser.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgMeshGradient.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgMeshPatch.cpp.o In file included from /usr/include/boost/none_t.hpp:17, from /usr/include/boost/none.hpp:17, from /usr/include/boost/optional/optional.hpp:53, from /usr/include/boost/optional.hpp:15, from /usr/include/boost/spirit/home/support/container.hpp:20, from /usr/include/boost/spirit/home/support/string_traits.hpp:16, from /usr/include/boost/spirit/home/support/nonterminal/expand_arg.hpp:20, from /usr/include/boost/spirit/home/support/context.hpp:17, from /usr/include/boost/spirit/home/qi/domain.hpp:18, from /usr/include/boost/spirit/home/qi/meta_compiler.hpp:15, from /usr/include/boost/spirit/home/qi/action/action.hpp:14, from /usr/include/boost/spirit/home/qi/action.hpp:14, from /usr/include/boost/spirit/home/qi.hpp:14, from /usr/include/boost/spirit/include/qi.hpp:16, from /build/krita/src/krita-5.2.9/libs/flake/svg/parsers/SvgTransformParser.cpp:17: /usr/include/boost/detail/atomic_count.hpp:10:1: note: ‘#pragma message: This header is deprecated. Use instead.’ 10 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/svg/SvgMeshArray.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoSvgText.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoSvgTextProperties.cpp.o /build/krita/src/krita-5.2.9/libs/flake/text/KoSvgTextProperties.cpp: In member function ‘void KoSvgTextProperties::parseSvgTextAttribute(const SvgLoadingContext&, const QString&, const QString&)’: /build/krita/src/krita-5.2.9/libs/flake/text/KoSvgTextProperties.cpp:452:56: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations] 452 | QStringList params = value.split(' ', QString::SkipEmptyParts); | ^~~~~~~~~~~~~~ In file included from /usr/include/qt/QtCore/qhashfunctions.h:44, from /usr/include/qt/QtCore/qlist.h:47, from /usr/include/qt/QtCore/qvariant.h:45, from /usr/include/qt/QtCore/QVariant:1, from /build/krita/src/krita-5.2.9/libs/flake/text/KoSvgTextProperties.h:13, from /build/krita/src/krita-5.2.9/libs/flake/text/KoSvgTextProperties.cpp:7: /usr/include/qt/QtCore/qstring.h:602:9: note: declared here 602 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED | ^~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/flake/text/KoSvgTextProperties.cpp:452:56: warning: ‘QString::SkipEmptyParts’ is deprecated [-Wdeprecated-declarations] 452 | QStringList params = value.split(' ', QString::SkipEmptyParts); | ^~~~~~~~~~~~~~ /usr/include/qt/QtCore/qstring.h:602:9: note: declared here 602 | SkipEmptyParts Q_DECL_ENUMERATOR_DEPRECATED | ^~~~~~~~~~~~~~ [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoSvgTextChunkShape.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoSvgTextShape.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoSvgTextShape_p_glyphs.cpp.o /build/krita/src/krita-5.2.9/libs/flake/text/KoSvgTextShape_p_glyphs.cpp: In member function ‘bool KoSvgTextShape::Private::loadGlyph(const QTransform&, const QMap&, FT_Int32, bool, int, raqm_glyph_t&, QMap&, CharacterResult&, QPointF&) const’: /build/krita/src/krita-5.2.9/libs/flake/text/KoSvgTextShape_p_glyphs.cpp:270:17: warning: unused variable ‘ftFontUnitFactor’ [-Wunused-variable] 270 | const qreal ftFontUnitFactor = 1 / ftFontUnit; | ^~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/flake/text/KoSvgTextShape_p_glyphs.cpp: In function ‘QImage convertFromFreeTypeBitmap(FT_GlyphSlotRec*)’: /build/krita/src/krita-5.2.9/libs/flake/text/KoSvgTextShape_p_glyphs.cpp:648:26: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 648 | auto *argb = reinterpret_cast(img.scanLine(y)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoSvgTextShape_p_layout.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoSvgTextShape_p_output.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoSvgTextShapeLayoutFunc_inShape.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoSvgTextShapeLayoutFunc_lines.cpp.o [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoSvgTextShapeMarkupConverter.cpp.o /build/krita/src/krita-5.2.9/libs/flake/text/KoSvgTextShapeLayoutFunc_lines.cpp: In function ‘void KoSvgTextShapeLayoutFunc::addWordToLine(QVector&, QPointF&, QVector&, LineBox&, bool, bool)’: /build/krita/src/krita-5.2.9/libs/flake/text/KoSvgTextShapeLayoutFunc_lines.cpp:67:25: warning: unused parameter ‘ltr’ [-Wunused-parameter] 67 | bool ltr, | ~~~~~^~~ [ 17%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoFontRegistry.cpp.o [ 19%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoCssTextUtils.cpp.o [ 19%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/text/KoPolygonUtils.cpp.o [ 19%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/resources/KoSvgSymbolCollectionResource.cpp.o [ 19%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/resources/KoGamutMask.cpp.o [ 19%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/FlakeDebug.cpp.o [ 19%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/tests/MockShapes.cpp.o [ 19%] Building CXX object libs/flake/CMakeFiles/kritaflake.dir/resources/KisSeExprScript.cpp.o [ 19%] Linking CXX shared library libkritaflake.so [ 19%] Built target kritaflake [ 19%] Built target kritawidgets_autogen_timestamp_deps [ 19%] Automatic MOC for target kritawidgets [ 19%] Built target kritawidgets_autogen [ 19%] Generating ui_wdg_file_name_requester.h [ 19%] Generating ui_KoConfigAuthorPage.h [ 19%] Generating ui_KoShadowConfigWidget.h [ 19%] Generating ui_WdgDlgInternalColorSelector.h [ 19%] Generating ui_WdgPaletteListWidget.h [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/kritawidgets_autogen/mocs_compilation.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoVBox.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/build/libs/widgets/kritawidgets_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/widgets/KisColorSelectorInterface.h:13, from /build/krita/src/build/libs/widgets/kritawidgets_autogen/EWIEGA46WW/moc_KisColorSelectorInterface.cpp:10, from /build/krita/src/build/libs/widgets/kritawidgets_autogen/mocs_compilation.cpp:4: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoDialog.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoZoomWidget.cpp.o /build/krita/src/krita-5.2.9/libs/widgets/KoDialog.cpp: In member function ‘void KoDialog::setButtons(ButtonCodes)’: /build/krita/src/krita-5.2.9/libs/widgets/KoDialog.cpp:259:51: warning: ‘KGuiItem KStandardGuiItem::yes()’ is deprecated: Since 5.100. Use an action verb to indicate the available option. [-Wdeprecated-declarations] 259 | d->appendButton(Yes, KStandardGuiItem::yes()); | ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /build/krita/src/krita-5.2.9/libs/widgets/KoDialog.cpp:33: /usr/include/KF5/KWidgetsAddons/kstandardguiitem.h:112:10: note: declared here 112 | KGuiItem yes(); | ^~~ /build/krita/src/krita-5.2.9/libs/widgets/KoDialog.cpp:262:49: warning: ‘KGuiItem KStandardGuiItem::no()’ is deprecated: Since 5.100. Use an action verb to indicate the available option. [-Wdeprecated-declarations] 262 | d->appendButton(No, KStandardGuiItem::no()); | ~~~~~~~~~~~~~~~~~~~~^~ /usr/include/KF5/KWidgetsAddons/kstandardguiitem.h:123:10: note: declared here 123 | KGuiItem no(); | ^~ /build/krita/src/krita-5.2.9/libs/widgets/KoDialog.cpp: In static member function ‘static int KoDialog::marginHint()’: /build/krita/src/krita-5.2.9/libs/widgets/KoDialog.cpp:448:55: warning: ‘QStyle::PM_DefaultChildMargin’ is deprecated [-Wdeprecated-declarations] 448 | return QApplication::style()->pixelMetric(QStyle::PM_DefaultChildMargin); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt/QtWidgets/QStyle:1, from /build/krita/src/krita-5.2.9/libs/widgets/KoDialog.cpp:20: /usr/include/qt/QtWidgets/qstyle.h:542:9: note: declared here 542 | PM_DefaultChildMargin Q_DECL_ENUMERATOR_DEPRECATED, | ^~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/KoDialog.cpp:448:55: warning: ‘QStyle::PM_DefaultChildMargin’ is deprecated [-Wdeprecated-declarations] 448 | return QApplication::style()->pixelMetric(QStyle::PM_DefaultChildMargin); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/qt/QtWidgets/qstyle.h:542:9: note: declared here 542 | PM_DefaultChildMargin Q_DECL_ENUMERATOR_DEPRECATED, | ^~~~~~~~~~~~~~~~~~~~~ [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoAspectButton.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoSliderCombo.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoColorPopupButton.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoConfigAuthorPage.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoUnitDoubleSpinBox.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoZoomAction.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoZoomController.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoZoomInput.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoZoomHandler.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoZoomMode.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoColorPatch.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoColorPopupAction.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/KoColorPatch.h:11, from /build/krita/src/krita-5.2.9/libs/widgets/KoColorPatch.cpp:6: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KisSwatch.h:13, from /build/krita/src/krita-5.2.9/libs/widgets/KoColorSetWidget.h:14, from /build/krita/src/krita-5.2.9/libs/widgets/KoColorPopupAction.cpp:10: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoColorSetWidget.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoColorSlider.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisHsvColorSlider.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KisSwatch.h:13, from /build/krita/src/krita-5.2.9/libs/widgets/KoColorSetWidget.h:14, from /build/krita/src/krita-5.2.9/libs/widgets/KoColorSetWidget.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorDisplayRendererInterface.h:14, from /build/krita/src/krita-5.2.9/libs/widgets/KoColorSlider.h:12, from /build/krita/src/krita-5.2.9/libs/widgets/KoColorSlider.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorDisplayRendererInterface.h:14, from /build/krita/src/krita-5.2.9/libs/widgets/KisHsvColorSlider.h:11, from /build/krita/src/krita-5.2.9/libs/widgets/KisHsvColorSlider.cpp:6: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoTriangleColorSelector.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoResourcePopupAction.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/KisColorSelectorInterface.h:13, from /build/krita/src/krita-5.2.9/libs/widgets/KoTriangleColorSelector.h:14, from /build/krita/src/krita-5.2.9/libs/widgets/KoTriangleColorSelector.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/widgets/KoTriangleColorSelector.cpp: In member function ‘void KoTriangleColorSelector::generateTriangle()’: /build/krita/src/krita-5.2.9/libs/widgets/KoTriangleColorSelector.cpp:293:22: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘uint*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 293 | uint* data = reinterpret_cast(image.scanLine(y)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoRuler.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoResourceServerProvider.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoLineStyleSelector.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.h:18, from /build/krita/src/krita-5.2.9/libs/widgets/KoResourceServerProvider.h:22, from /build/krita/src/krita-5.2.9/libs/widgets/KoResourceServerProvider.cpp:11: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoLineStyleItemDelegate.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoLineStyleModel.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoDockWidgetTitleBar.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoDockWidgetTitleBarButton.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoTitledTabWidget.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoToolDocker.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoShadowConfigWidget.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoMarkerSelector.cpp.o [ 19%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoMarkerModel.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoMarkerItemDelegate.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/WidgetsDebug.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/kis_file_name_requester.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisColorSelectorInterface.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KoAnchorSelectionWidget.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisLevelsSlider.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/KisColorSelectorInterface.h:13, from /build/krita/src/krita-5.2.9/libs/widgets/KisColorSelectorInterface.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/kis_color_input.cpp.o /build/krita/src/krita-5.2.9/libs/widgets/KisLevelsSlider.cpp: In member function ‘virtual void KisInputLevelsSlider::paintBottomGradientMiddleSection(QImage&, const QVector&)’: /build/krita/src/krita-5.2.9/libs/widgets/KisLevelsSlider.cpp:399:19: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 399 | QRgb *pixel = reinterpret_cast(gradientImage.bits()) + startPos; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/KisLevelsSlider.cpp: In member function ‘virtual void KisInputLevelsSlider::paintGradient(QPainter&, const QRect&)’: /build/krita/src/krita-5.2.9/libs/widgets/KisLevelsSlider.cpp:425:23: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 425 | QRgb *pixel = reinterpret_cast(gradientImage.bits()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/KisLevelsSlider.cpp:437:23: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 437 | QRgb *pixel = reinterpret_cast(gradientImage.bits()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/KisLevelsSlider.cpp:445:23: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 445 | QRgb *pixel = reinterpret_cast(gradientImage.bits()) + startPos; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/KisLevelsSlider.cpp: In member function ‘virtual void KisInputLevelsSliderWithGamma::paintBottomGradientMiddleSection(QImage&, const QVector&)’: /build/krita/src/krita-5.2.9/libs/widgets/KisLevelsSlider.cpp:539:19: warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘QRgb*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 539 | QRgb *pixel = reinterpret_cast(gradientImage.bits()) + startPos; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/kis_spinbox_color_selector.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorDisplayRendererInterface.h:14, from /build/krita/src/krita-5.2.9/libs/widgets/KisHsvColorSlider.h:11, from /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.h:11, from /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:9: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp: In member function ‘void KisIntegerColorInput::setValue(int)’: /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:76:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 76 | *(reinterpret_cast(data)) = v; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:79:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint32*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 79 | *(reinterpret_cast(data)) = v; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp: In member function ‘void KisIntegerColorInput::update()’: /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:106:27: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 106 | quint16 value = *(reinterpret_cast(data)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:109:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 109 | *(reinterpret_cast(dataMin)) = 0x0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:110:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint16*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Wcast-align] 110 | *(reinterpret_cast(dataMax)) = 0xFFFF; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:114:27: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint32*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 114 | quint32 value = *(reinterpret_cast(data)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:117:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint32*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 117 | *(reinterpret_cast(dataMin)) = 0x0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:118:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘quint32*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align] 118 | *(reinterpret_cast(dataMax)) = 0xFFFF'FFFF; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp: In member function ‘void KisFloatColorInput::setValue(double)’: /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:220:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘half*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 220 | *(reinterpret_cast(data)) = v; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:224:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 224 | *(reinterpret_cast(data)) = v; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp: In member function ‘virtual QWidget* KisFloatColorInput::createInput()’: /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:250:19: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘half*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 250 | value = *(reinterpret_cast(data)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:254:19: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 254 | value = *(reinterpret_cast(data)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp: In member function ‘void KisFloatColorInput::update()’: /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:287:19: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘half*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 287 | value = *(reinterpret_cast(data)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:290:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘half*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 290 | *(reinterpret_cast(dataMin)) = m_minValue; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:291:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘half*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 291 | *(reinterpret_cast(dataMax)) = m_maxValue; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:295:19: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 295 | value = *(reinterpret_cast(data)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:298:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 298 | *(reinterpret_cast(dataMin)) = m_minValue; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:299:11: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘float*’ increases required alignment of target type [-Wcast-align] 299 | *(reinterpret_cast(dataMax)) = m_maxValue; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp: In constructor ‘KisHsvColorInput::KisHsvColorInput(QWidget*, KoColor*)’: /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:456:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 456 | m_hInput = input; | ~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:457:9: note: here 457 | case 1: | ^~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:459:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 459 | m_sInput = input; | ~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/widgets/kis_color_input.cpp:460:9: note: here 460 | case 2: | ^~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/kis_spinbox_color_selector.h:13, from /build/krita/src/krita-5.2.9/libs/widgets/kis_spinbox_color_selector.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisSpinboxHSXSelector.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisVisualColorModel.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisVisualColorSelector.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualColorModel.h:14, from /build/krita/src/krita-5.2.9/libs/widgets/KisSpinboxHSXSelector.h:11, from /build/krita/src/krita-5.2.9/libs/widgets/KisSpinboxHSXSelector.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualColorModel.h:14, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualColorModel.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisVisualColorSelectorShape.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/KisColorSelectorInterface.h:13, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualColorSelector.h:15, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualColorSelector.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisVisualDiamondSelectorShape.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisVisualEllipticalSelectorShape.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualColorSelectorShape.h:15, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualColorSelectorShape.cpp:6: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualColorSelectorShape.h:15, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualDiamondSelectorShape.h:10, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualDiamondSelectorShape.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisVisualRectangleSelectorShape.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisVisualTriangleSelectorShape.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualColorSelectorShape.h:15, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualEllipticalSelectorShape.h:9, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualEllipticalSelectorShape.cpp:6: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisScreenColorSamplerBase.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualColorSelectorShape.h:15, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualRectangleSelectorShape.h:9, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualRectangleSelectorShape.cpp:6: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualColorSelectorShape.h:15, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualTriangleSelectorShape.h:9, from /build/krita/src/krita-5.2.9/libs/widgets/KisVisualTriangleSelectorShape.cpp:6: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisDlgInternalColorSelector.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisPaletteModel.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisPaletteDelegate.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorDisplayRendererInterface.h:14, from /build/krita/src/krita-5.2.9/libs/widgets/KisPaletteModel.h:13, from /build/krita/src/krita-5.2.9/libs/widgets/KisPaletteModel.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.h:18, from /build/krita/src/krita-5.2.9/libs/widgets/KisDlgInternalColorSelector.cpp:20: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorDisplayRendererInterface.h:14, from /build/krita/src/krita-5.2.9/libs/widgets/KisPaletteModel.h:13, from /build/krita/src/krita-5.2.9/libs/widgets/KisPaletteDelegate.cpp:12: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/kis_palette_view.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisPaletteChooser.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisPaletteComboBox.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.h:18, from /build/krita/src/krita-5.2.9/libs/widgets/kis_palette_view.h:17, from /build/krita/src/krita-5.2.9/libs/widgets/kis_palette_view.cpp:7: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.h:18, from /build/krita/src/krita-5.2.9/libs/widgets/KisPaletteChooser.h:17, from /build/krita/src/krita-5.2.9/libs/widgets/KisPaletteChooser.cpp:25: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/resources/KoColorSet.h:18, from /build/krita/src/krita-5.2.9/libs/widgets/kis_palette_view.h:17, from /build/krita/src/krita-5.2.9/libs/widgets/KisPaletteComboBox.cpp:16: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/kis_color_button.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisAngleGauge.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisAngleSelector.cpp.o [ 20%] Built target kritalcmsengine [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisTagSelectionWidget.cpp.o In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/widgets/kis_color_button.h:13, from /build/krita/src/krita-5.2.9/libs/widgets/kis_color_button.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/kis_warning_block.cpp.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisWidgetConnectionUtils.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/kis_spacing_selection_widget.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/kis_stacked_widget.cpp.o [ 20%] Building CXX object libs/widgets/CMakeFiles/kritawidgets.dir/KisStretchedIconButton.cpp.o [ 20%] Linking CXX shared library libkritawidgets.so [ 20%] Built target kritawidgets [ 20%] Built target kritaimage_autogen_timestamp_deps [ 20%] Built target krita_shape_image_autogen_timestamp_deps [ 20%] Automatic MOC for target krita_shape_image [ 20%] Automatic MOC for target kritaimage [ 20%] Built target krita_shape_image_autogen [ 20%] Building CXX object plugins/flake/imageshape/CMakeFiles/krita_shape_image.dir/ImageShapePlugin.cpp.o [ 20%] Building CXX object plugins/flake/imageshape/CMakeFiles/krita_shape_image.dir/krita_shape_image_autogen/mocs_compilation.cpp.o [ 20%] Building CXX object plugins/flake/imageshape/CMakeFiles/krita_shape_image.dir/ImageShape.cpp.o [ 20%] Building CXX object plugins/flake/imageshape/CMakeFiles/krita_shape_image.dir/ImageShapeFactory.cpp.o [ 20%] Linking CXX shared module krita_shape_image.so [ 20%] Built target kritaimage_autogen [ 20%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/kritaimage_autogen/mocs_compilation.cpp.o [ 20%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/tiles3/kis_tile_data.cc.o [ 20%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/tiles3/kis_tile.cc.o [ 20%] Built target krita_shape_image [ 20%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/tiles3/kis_tile_data_store.cc.o In file included from /build/krita/src/build/libs/image/kritaimage_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/image/kis_types.h:335, from /build/krita/src/build/libs/image/kritaimage_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/image/kis_keyframe_channel.h:16, from /build/krita/src/build/libs/image/kritaimage_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/image/kis_scalar_keyframe_channel.h:9, from /build/krita/src/build/libs/image/kritaimage_autogen/EWIEGA46WW/../../../../../krita-5.2.9/libs/image/KisAnimatedOpacityProperty.h:15, from /build/krita/src/build/libs/image/kritaimage_autogen/EWIEGA46WW/moc_KisAnimatedOpacityProperty.cpp:10, from /build/krita/src/build/libs/image/kritaimage_autogen/mocs_compilation.cpp:2: /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:90:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 90 | inline KisSharedPtr(const KisSharedPtr& o) | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:90:27: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:257:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 257 | inline KisWeakSharedPtr(const KisSharedPtr& o) { | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:257:31: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:265:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 265 | inline KisWeakSharedPtr(const KisWeakSharedPtr& o) { | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:265:31: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_tile.h:19, from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_tile.cc:11: /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:90:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 90 | inline KisSharedPtr(const KisSharedPtr& o) | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:90:27: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:257:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 257 | inline KisWeakSharedPtr(const KisSharedPtr& o) { | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:257:31: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:265:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 265 | inline KisWeakSharedPtr(const KisWeakSharedPtr& o) { | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:265:31: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/pigment/KoLut.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceMaths.h:16, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:14, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:16, from /build/krita/src/krita-5.2.9/libs/image/kis_properties_configuration.h:14, from /build/krita/src/krita-5.2.9/libs/image/kis_config_widget.h:14, from /build/krita/src/build/libs/image/kritaimage_autogen/CEKIEP4QXT/../../../../../krita-5.2.9/libs/image/brushengine/kis_paintop_config_widget.h:12, from /build/krita/src/build/libs/image/kritaimage_autogen/CEKIEP4QXT/moc_kis_paintop_config_widget.cpp:10, from /build/krita/src/build/libs/image/kritaimage_autogen/mocs_compilation.cpp:8: /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:157:32: note: remove the ‘< >’ 157 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint8) | ^~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:158:32: note: remove the ‘< >’ 158 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint16) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:159:32: note: remove the ‘< >’ 159 | PARTIAL_LUT_INT_SPECIALIZATION(lut_uint32) | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:125:26: note: in definition of macro ‘PARTIAL_LUT_INT_SPECIALIZATION’ 125 | LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ | ^~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:196:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 196 | FULL_LUT_INT_SPECIALIZATION(lut_uint8, 0, 255) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:165:29: note: remove the ‘< >’ 165 | FullLutKey<_INT_TYPE_>() \ | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:197:1: note: in expansion of macro ‘FULL_LUT_INT_SPECIALIZATION’ 197 | FULL_LUT_INT_SPECIALIZATION(lut_uint16, 0, 65535) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 215 | LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) | ^ /build/krita/src/krita-5.2.9/libs/pigment/lut.h:215:18: note: remove the ‘< >’ [ 20%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/tiles3/kis_tile_data_pooler.cc.o [ 20%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/tiles3/kis_tiled_data_manager.cc.o /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:93:38: required from here 93 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = Imath_3_1::half; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = Imath_3_1::half; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:159:32: required from here 159 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘Imath_3_1::half*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:170:38: required from here 170 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const float*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = float; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = float; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:236:32: required from here 236 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘float*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static const KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(const quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:245:38: required from here 245 | channels_type c = nativeArray(pixel)[channelIndex]; | ~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:117:16: warning: cast from ‘const quint8*’ {aka ‘const unsigned char*’} to ‘const KoColorSpaceTrait::channels_type*’ {aka ‘const double*’} increases required alignment of target type [-Wcast-align] 117 | return reinterpret_cast(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h: In instantiation of ‘static KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::channels_type* KoColorSpaceTrait<_channels_type_, _channels_nb_, _alpha_pos_>::nativeArray(quint8*) [with _channels_type_ = double; int _channels_nb_ = 5; int _alpha_pos_ = 4; channels_type = double; quint8 = unsigned char]’: /build/krita/src/krita-5.2.9/libs/pigment/KoCmykColorSpaceTraits.h:311:32: required from here 311 | parent::nativeArray(pixel)[i] = c; | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceTraits.h:124:16: warning: cast from ‘quint8*’ {aka ‘unsigned char*’} to ‘KoColorSpaceTrait::channels_type*’ {aka ‘double*’} increases required alignment of target type [-Wcast-align] 124 | return reinterpret_cast< channels_type*>(a); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/tiles3/KisTiledExtentManager.cpp.o [ 20%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/tiles3/kis_memento_manager.cc.o In file included from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_tile.h:19, from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_tiled_data_manager.cc:12: /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:90:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 90 | inline KisSharedPtr(const KisSharedPtr& o) | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:90:27: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:257:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 257 | inline KisWeakSharedPtr(const KisSharedPtr& o) { | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:257:31: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:265:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 265 | inline KisWeakSharedPtr(const KisWeakSharedPtr& o) { | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:265:31: note: remove the ‘< >’ [ 20%] Building CXX object libs/image/CMakeFiles/kritaimage.dir/tiles3/kis_hline_iterator.cpp.o In file included from /usr/include/boost/throw_exception.hpp:21, from /usr/include/boost/optional/optional.hpp:31, from /usr/include/boost/optional.hpp:15, from /build/krita/src/krita-5.2.9/libs/pigment/KoCompositeOp.h:15, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpace.h:22, from /build/krita/src/krita-5.2.9/libs/pigment/KoColorSpaceRegistry.h:17, from /build/krita/src/krita-5.2.9/libs/pigment/KoColor.h:15, from /build/krita/src/krita-5.2.9/libs/image/KisProofingConfiguration.h:8, from /build/krita/src/krita-5.2.9/libs/image/kis_image_config.h:12, from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_tile_data_pooler.cc:14: /usr/include/boost/exception/exception.hpp:386:17: internal compiler error: Segmentation fault 386 | } | ^ 0x21b0e5b internal_error(char const*, ...) ???:0 0x7b63ca ggc_set_mark(void const*) ???:0 0x6ee399 gt_ggc_mx_lang_tree_node(void*) ???:0 0x6ee541 gt_ggc_mx_lang_tree_node(void*) ???:0 0x6ee4bd gt_ggc_mx_lang_tree_node(void*) ???:0 0x6ee5d5 gt_ggc_mx_lang_tree_node(void*) ???:0 0x6ef43f gt_ggc_mx_lang_tree_node(void*) ???:0 0x6ef0a3 gt_ggc_mx_lang_tree_node(void*) ???:0 0x6ee4c7 gt_ggc_mx_lang_tree_node(void*) ???:0 0x9aacdd gt_ggc_mx_vec_tree_va_gc_(void*) ???:0 0x944557 ggc_mark_roots() ???:0 0x7b88d9 ggc_collect(ggc_collect) ???:0 0x6e6ddf expand_or_defer_fn_1(tree_node*) ???:0 0x7879c9 c_common_parse_file() ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. make[2]: *** [libs/image/CMakeFiles/kritaimage.dir/build.make:141: libs/image/CMakeFiles/kritaimage.dir/tiles3/kis_tile_data_pooler.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_memento_item.h:11, from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_memento_manager.h:12, from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_memento_manager.cc:8: /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:90:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 90 | inline KisSharedPtr(const KisSharedPtr& o) | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:90:27: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:257:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 257 | inline KisWeakSharedPtr(const KisSharedPtr& o) { | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:257:31: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:265:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 265 | inline KisWeakSharedPtr(const KisWeakSharedPtr& o) { | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:265:31: note: remove the ‘< >’ In file included from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_tiled_data_manager.h:15, from /build/krita/src/krita-5.2.9/libs/image/kis_datamanager.h:15, from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_base_iterator.h:10, from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_hline_iterator.h:10, from /build/krita/src/krita-5.2.9/libs/image/tiles3/kis_hline_iterator.cpp:7: /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:90:27: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 90 | inline KisSharedPtr(const KisSharedPtr& o) | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:90:27: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:257:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 257 | inline KisWeakSharedPtr(const KisSharedPtr& o) { | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:257:31: note: remove the ‘< >’ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:265:31: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 265 | inline KisWeakSharedPtr(const KisWeakSharedPtr& o) { | ^ /build/krita/src/krita-5.2.9/libs/global/kis_shared_ptr.h:265:31: note: remove the ‘< >’ make[1]: *** [CMakeFiles/Makefile2:20088: libs/image/CMakeFiles/kritaimage.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix-0/build [?25h[?25h[?25hreceiving incremental file list krita-5.2.9-2-riscv64-build.log krita-5.2.9-2-riscv64-prepare.log sent 62 bytes received 45,621 bytes 91,366.00 bytes/sec total size is 1,309,501 speedup is 28.66