Thank you @LanceB98 - using the "old" gcc-14 was the solution for me.
Actually, what I did, was adding two lines to PGKBUILD (after installing gcc14):
diff --git a/PKGBUILD b/PKGBUILD
index e94b506..534b597 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -125,7 +125,9 @@ build() {
     -Dscsi-crypto=yes \
     -Dsystemd=yes \
     -Dtraymonitor=yes \
+    -DCMAKE_CXX_COMPILER="g++-14" \
     -DCMAKE_CXX_FLAGS="-Wno-use-after-free" \
+    -DCMAKE_C_COMPILER="gcc-14" \
     -DCMAKE_C_FLAGS="-Wno-use-after-free"
   make DESTDIR="${srcdir}/install" install
        
    
Pinned Comments