<86>May 4 02:03:38 userdel[695160]: delete user 'rooter' <86>May 4 02:03:38 userdel[695160]: removed group 'rooter' owned by 'rooter' <86>May 4 02:03:38 userdel[695160]: removed shadow group 'rooter' owned by 'rooter' <86>May 4 02:03:38 groupadd[695229]: group added to /etc/group: name=rooter, GID=1350 <86>May 4 02:03:38 groupadd[695229]: group added to /etc/gshadow: name=rooter <86>May 4 02:03:38 groupadd[695229]: new group: name=rooter, GID=1350 <86>May 4 02:03:38 useradd[695259]: new user: name=rooter, UID=1350, GID=1350, home=/root, shell=/bin/bash, from=none <86>May 4 02:03:38 userdel[695321]: delete user 'builder' <86>May 4 02:03:38 userdel[695321]: removed group 'builder' owned by 'builder' <86>May 4 02:03:38 userdel[695321]: removed shadow group 'builder' owned by 'builder' <86>May 4 02:03:38 groupadd[695377]: group added to /etc/group: name=builder, GID=1351 <86>May 4 02:03:38 groupadd[695377]: group added to /etc/gshadow: name=builder <86>May 4 02:03:38 groupadd[695377]: new group: name=builder, GID=1351 <86>May 4 02:03:38 useradd[695399]: new user: name=builder, UID=1351, GID=1351, home=/usr/src, shell=/bin/bash, from=none warning: Macro %cmake_insource not found <13>May 4 02:03:42 rpmi: xorg-proto-devel-2022.1-alt1 sisyphus+299488.100.1.1 1651731532 installed <13>May 4 02:03:42 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075764 installed <13>May 4 02:03:42 rpmi: libglvnd-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906757 installed <13>May 4 02:03:42 rpmi: libpng16-1.6.39-alt1 sisyphus+310490.100.1.1 1669195200 installed <13>May 4 02:03:42 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791084 installed <13>May 4 02:03:42 rpmi: libnettle8-3.8.1-alt2 sisyphus+308213.100.1.1 1665439423 installed <13>May 4 02:03:42 rpmi: libwayland-server-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606299 installed <13>May 4 02:03:43 rpmi: libicu73-1:7.3.1-alt2 sisyphus+319427.100.1.1 1682595589 installed <13>May 4 02:03:43 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>May 4 02:03:43 rpmi: zlib-devel-1.2.13-alt1 sisyphus+309409.200.2.1 1667402043 installed <13>May 4 02:03:43 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>May 4 02:03:43 rpmi: xml-utils-1:2.10.4-alt1 sisyphus+319317.100.1.1 1682455128 installed <13>May 4 02:03:43 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>May 4 02:03:43 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359624 installed <13>May 4 02:03:43 rpmi: rpm-build-gir-0.7.3-alt3.1 sisyphus+319393.100.1.1 1682538783 installed <13>May 4 02:03:43 rpmi: libXau-devel-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>May 4 02:03:43 rpmi: libpng-devel-1.6.39-alt1 sisyphus+310490.100.1.1 1669195200 installed <13>May 4 02:03:43 rpmi: libgraphite2-devel-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>May 4 02:03:43 rpmi: icu-utils-1:7.3.1-alt2 sisyphus+319427.100.1.1 1682595589 installed <13>May 4 02:03:43 rpmi: libicu-devel-1:7.3.1-alt2 sisyphus+319427.100.1.1 1682595589 installed <13>May 4 02:03:43 rpmi: libhogweed6-3.8.1-alt2 sisyphus+308213.100.1.1 1665439423 installed <13>May 4 02:03:43 rpmi: libgnutls30-3.7.9-alt1 sisyphus+315353.100.1.1 1676639068 installed <13>May 4 02:03:43 rpmi: libngtcp2-0.13.1-alt1 sisyphus+317411.100.1.1 1679680596 installed <13>May 4 02:03:43 rpmi: libGLES-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906757 installed <13>May 4 02:03:43 rpmi: libOpenGL-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906757 installed <13>May 4 02:03:43 rpmi: libxshmfence-1.3.2-alt1 sisyphus+311428.400.1.1 1670577525 installed <13>May 4 02:03:43 rpmi: libwayland-client-1.22.0-alt1.1 sisyphus+318010.100.1.1 1680606299 installed <13>May 4 02:03:43 rpmi: libpciaccess-1:0.17-alt1 sisyphus+308663.300.1.1 1666168260 installed <13>May 4 02:03:43 rpmi: libdrm-1:2.4.115-alt1 sisyphus+315873.100.1.1 1677481746 installed <13>May 4 02:03:43 rpmi: libgbm-4:23.0.3-alt1 sisyphus+319327.100.1.1 1682491269 installed <13>May 4 02:03:43 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>May 4 02:03:43 rpmi: libstdc++12-devel-12.2.1-alt2 sisyphus+317777.100.2.2 1682562822 installed <13>May 4 02:03:44 rpmi: gcc12-c++-12.2.1-alt2 sisyphus+317777.100.2.2 1682562822 installed <13>May 4 02:03:44 rpmi: libpixman-3:0.42.2-alt1 sisyphus+309549.100.1.1 1667649219 installed <13>May 4 02:03:44 rpmi: libX11-locales-3:1.8.4-alt1 sisyphus+314722.100.1.1 1675664300 installed <13>May 4 02:03:44 rpmi: libXdmcp-1.1.4-alt1 sisyphus+311188.1000.1.1 1670233857 installed <13>May 4 02:03:44 rpmi: libxcb-1.15-alt1 sisyphus+299436.300.1.1 1651655472 installed <13>May 4 02:03:44 rpmi: libX11-3:1.8.4-alt1 sisyphus+314722.100.1.1 1675664300 installed <13>May 4 02:03:44 rpmi: libXext-1.3.5-alt1 sisyphus+309285.100.1.1 1667212412 installed <13>May 4 02:03:44 rpmi: libXrender-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>May 4 02:03:45 rpmi: libxcb-devel-1.15-alt1 sisyphus+299436.300.1.1 1651655472 installed <13>May 4 02:03:45 rpmi: libX11-devel-3:1.8.4-alt1 sisyphus+314722.100.1.1 1675664300 installed <13>May 4 02:03:45 rpmi: libXrender-devel-0.9.11-alt1 sisyphus+308841.100.1.1 1666436130 installed <13>May 4 02:03:45 rpmi: libXext-devel-1.3.5-alt1 sisyphus+309285.100.1.1 1667212412 installed <13>May 4 02:03:45 rpmi: libXxf86vm-1.1.5-alt1 sisyphus+308663.1400.1.1 1666168523 installed <13>May 4 02:03:45 rpmi: libXfixes-6.0.0-alt1 sisyphus+284644.300.1.1 1630910331 installed <13>May 4 02:03:45 rpmi: libGLX-mesa-4:23.0.3-alt1 sisyphus+319327.100.1.1 1682491269 installed <13>May 4 02:03:45 rpmi: libEGL-mesa-4:23.0.3-alt1 sisyphus+319327.100.1.1 1682491269 installed <13>May 4 02:03:45 rpmi: libEGL-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906757 installed <13>May 4 02:03:45 rpmi: libGLX-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906757 installed <13>May 4 02:03:45 rpmi: libGL-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906757 installed <13>May 4 02:03:45 rpmi: libglvnd-devel-7:1.6.0-alt1 sisyphus+310974.100.1.1 1669906757 installed <13>May 4 02:03:45 rpmi: libGLU-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>May 4 02:03:45 rpmi: libGLU-devel-4:9.0.1-alt1 sisyphus+278350.100.1.2 1626174382 installed <13>May 4 02:03:45 rpmi: libGLEW2.2-2.2.0-alt1 sisyphus+278988.100.1.1 1626351077 installed <13>May 4 02:03:45 rpmi: libglfw3-3.3-alt1.1 sisyphus+279550.100.1.3 1626597699 installed <13>May 4 02:03:45 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>May 4 02:03:45 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>May 4 02:03:45 rpmi: rpm-macros-cmake-3.23.2-alt3 sisyphus+318864.100.1.1 1681931983 installed <13>May 4 02:03:45 rpmi: cmake-modules-3.23.2-alt3 sisyphus+318864.100.1.1 1681931983 installed <13>May 4 02:03:45 rpmi: libuv-1.44.2-alt1 sisyphus+303845.100.1.1 1658053885 installed <13>May 4 02:03:45 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>May 4 02:03:45 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444232 installed <13>May 4 02:03:45 rpmi: publicsuffix-list-dafsa-20230404-alt1 sisyphus+318117.100.1.1 1680769734 installed <13>May 4 02:03:45 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131178 installed <13>May 4 02:03:45 rpmi: libnghttp3-0.9.0-alt1 sisyphus+317166.100.1.1 1679409330 installed <13>May 4 02:03:45 rpmi: libnghttp2-1.52.0-alt1 sisyphus+315262.100.1.1 1676446367 installed <13>May 4 02:03:45 rpmi: openldap-common-2.6.4-alt1 sisyphus+317419.100.1.1 1679684487 installed <13>May 4 02:03:45 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>May 4 02:03:45 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>May 4 02:03:45 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493868 installed <13>May 4 02:03:45 rpmi: liblmdb-0.9.29-alt1.1 sisyphus+306630.100.1.1 1663072360 installed <13>May 4 02:03:45 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919566 installed <13>May 4 02:03:45 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>May 4 02:03:45 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>May 4 02:03:45 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>May 4 02:03:45 rpmi: libharfbuzz-7.0.1-alt1 sisyphus+318888.200.2.1 1682012436 installed <13>May 4 02:03:45 rpmi: libfreetype-2.13.0-alt1 sisyphus+315092.100.1.1 1676198644 installed <13>May 4 02:03:45 rpmi: libfontconfig1-2.14.2-alt7 sisyphus+319291.100.1.1 1682426296 installed <13>May 4 02:03:45 rpmi: libcairo-1:1.16.0-alt2 sisyphus+312186.100.1.1 1671693937 installed <13>May 4 02:03:45 rpmi: libharfbuzz-cairo-7.0.1-alt1 sisyphus+318888.200.2.1 1682012436 installed <13>May 4 02:03:45 rpmi: fontconfig-2.14.2-alt7 sisyphus+319291.100.1.1 1682426296 installed Updating fonts cache: <29>May 4 02:03:46 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>May 4 02:03:46 rpmi: libharfbuzz-icu-7.0.1-alt1 sisyphus+318888.200.2.1 1682012436 installed <13>May 4 02:03:46 rpmi: libharfbuzz-gobject-7.0.1-alt1 sisyphus+318888.200.2.1 1682012436 installed <13>May 4 02:03:46 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 4 02:03:46 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>May 4 02:03:46 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>May 4 02:03:46 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>May 4 02:03:46 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>May 4 02:03:46 rpmi: libcrypto1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799015 installed <13>May 4 02:03:46 rpmi: libssl1.1-1.1.1t-alt1 sisyphus+314824.100.2.2 1675799015 installed <86>May 4 02:03:46 groupadd[761800]: group added to /etc/group: name=_keytab, GID=999 <86>May 4 02:03:46 groupadd[761800]: group added to /etc/gshadow: name=_keytab <86>May 4 02:03:46 groupadd[761800]: new group: name=_keytab, GID=999 <13>May 4 02:03:47 rpmi: libkrb5-1.20.1-alt1 sisyphus+306946.1000.5.2 1677793877 installed <13>May 4 02:03:47 rpmi: python3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363630 installed <13>May 4 02:03:47 rpmi: python3-base-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363630 installed <13>May 4 02:03:47 rpmi: glib2-devel-2.76.2-alt1 sisyphus+319162.100.1.1 1682278208 installed <13>May 4 02:03:47 rpmi: libcairo-devel-1:1.16.0-alt2 sisyphus+312186.100.1.1 1671693937 installed <13>May 4 02:03:47 rpmi: fontconfig-devel-2.14.2-alt7 sisyphus+319291.100.1.1 1682426296 installed <13>May 4 02:03:47 rpmi: libfreetype-devel-2.13.0-alt1 sisyphus+315092.100.1.1 1676198644 installed <13>May 4 02:03:47 rpmi: libharfbuzz-devel-7.0.1-alt1 sisyphus+318888.200.2.1 1682012436 installed <13>May 4 02:03:47 rpmi: libgsasl-1.8.0-alt3 sisyphus+275307.100.1.2 1624478543 installed <86>May 4 02:03:47 groupadd[768306]: group added to /etc/group: name=sasl, GID=998 <86>May 4 02:03:47 groupadd[768306]: group added to /etc/gshadow: name=sasl <86>May 4 02:03:47 groupadd[768306]: new group: name=sasl, GID=998 <13>May 4 02:03:47 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+306372.1000.8.1 1663097224 installed <13>May 4 02:03:47 rpmi: libldap2-2.6.4-alt1 sisyphus+317419.100.1.1 1679684487 installed <13>May 4 02:03:47 rpmi: libarchive13-3.6.1-alt2 sisyphus+311213.100.1.1 1670244620 installed <13>May 4 02:03:47 rpmi: libssh2-1.10.0-alt1 sisyphus+289470.100.1.1 1636752293 installed <13>May 4 02:03:47 rpmi: libcurl-8.0.1-alt2 sisyphus+317180.500.4.1 1679494002 installed <13>May 4 02:03:47 rpmi: alsa-ucm-conf-1.2.8-alt5 sisyphus+316098.200.2.1 1677756308 installed <13>May 4 02:03:47 rpmi: alsa-topology-conf-1.2.5.1-alt1 sisyphus+274777.100.1.1 1624089141 installed <13>May 4 02:03:47 rpmi: libalsa-1:1.2.8-alt1 sisyphus+310349.200.1.1 1668964316 installed <13>May 4 02:03:47 rpmi: libalsa-devel-1:1.2.8-alt1 sisyphus+310349.200.1.1 1668964316 installed <13>May 4 02:03:48 rpmi: cmake-3.23.2-alt3 sisyphus+318864.100.1.1 1681931983 installed <13>May 4 02:03:48 rpmi: libglfw3-devel-3.3-alt1.1 sisyphus+279550.100.1.3 1626597699 installed <13>May 4 02:03:48 rpmi: libGLEW-devel-2.2.0-alt1 sisyphus+278988.100.1.1 1626351077 installed <13>May 4 02:03:48 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033053 installed <13>May 4 02:03:48 rpmi: rapidjson-devel-1.1.0-alt4 sisyphus+317980.100.1.1 1680571518 installed <13>May 4 02:03:48 rpmi: libstb-devel-2.37-alt1.1 sisyphus+299412.200.3.1 1652349946 installed <13>May 4 02:03:48 rpmi: libglm-devel-0.9.9.8-alt1 sisyphus+288738.100.1.1 1635857392 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/TetrisGL-1.0.2-alt5.nosrc.rpm (w1.gzdio) Installing TetrisGL-1.0.2-alt5.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.20837 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf TetrisGL-1.0.2 + echo 'Source #0 (TetrisGL-1.0.2.tar):' Source #0 (TetrisGL-1.0.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/TetrisGL-1.0.2.tar + cd TetrisGL-1.0.2 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (0001-Add-time.h-in-Crosy.cpp.patch):' Patch #0 (0001-Add-time.h-in-Crosy.cpp.patch): + /usr/bin/patch -p1 patching file src/Crosy.cpp + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.20837 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd TetrisGL-1.0.2 + mkdir -p . + cmake -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib64 -DLIB_SUFFIX=64 -S . -B . -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found GLEW: /usr/include (found version "2.2.0") -- Found ALSA: /usr/lib64/libasound.so (found version "1.2.8") -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS CMAKE_SKIP_INSTALL_RPATH INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/TetrisGL-1.0.2 + make -j16 make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 18%] Building CXX object CMakeFiles/TetrisGL.dir/src/Crosy.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 39%] Building CXX object CMakeFiles/TetrisGL.dir/src/3rdParty/mm_core/linux_alsa_mm_core.cpp.o /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/linux_alsa_mm_core.cpp: In constructor 'AlsaWrapper::AlsaWrapper()': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/linux_alsa_mm_core.cpp:333:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct MidiMiniMessage'; use assignment or value-initialization instead [-Wclass-memaccess] 333 | memset(midiMessages, 0, sizeof(midiMessages)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/linux_alsa_mm_core.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/mm_core.h:57:8: note: 'struct MidiMiniMessage' declared here 57 | struct MidiMiniMessage | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 51%] Building CXX object CMakeFiles/TetrisGL.dir/src/Keys.cpp.o make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 3%] Building CXX object CMakeFiles/TetrisGL.dir/src/Application.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Application.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 9%] Building CXX object CMakeFiles/TetrisGL.dir/src/Cell.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Cell.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 48%] Building CXX object CMakeFiles/TetrisGL.dir/src/InterfaceLogic.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp: In static member function 'static void InterfaceLogic::init()': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:22:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 22 | mainMenu.add("NEW GAME", MenuLogic::resNewGame, true); | ^~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:23:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 23 | mainMenu.add("SETTINGS", MenuLogic::resSettings); | ^~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:24:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 24 | mainMenu.add("LEADERBOARD", MenuLogic::resLeaderboard); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:25:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 25 | mainMenu.add("QUIT", MenuLogic::resQuitConfirmation); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:27:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 27 | inGameMenu.add("CONTINUE", MenuLogic::resContinue, true); | ^~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:28:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 28 | inGameMenu.add("RESTART", MenuLogic::resRestartConfirmation); | ^~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:29:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 29 | inGameMenu.add("SETTINGS", MenuLogic::resSettings); | ^~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:30:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 30 | inGameMenu.add("EXIT", MenuLogic::resExitToMainConfirmation); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:32:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 32 | quitConfirmationMenu.add("QUIT", MenuLogic::resQuit); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:33:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 33 | quitConfirmationMenu.add("BACK", MenuLogic::resBack, true); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:35:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | restartConfirmationMenu.add("RESTART", MenuLogic::resRestart); | ^~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:36:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | restartConfirmationMenu.add("BACK", MenuLogic::resBack, true); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:38:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 38 | exitToMainConfirmationMenu.add("EXIT", MenuLogic::resExitToMain); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/InterfaceLogic.cpp:39:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 39 | exitToMainConfirmationMenu.add("BACK", MenuLogic::resBack, true); | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 30%] Building CXX object CMakeFiles/TetrisGL.dir/src/Figure.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:3: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.h: In constructor 'Figure::Figure()': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.h:47:8: warning: 'Figure::specificRotatedFlag' will be initialized after [-Wreorder] 47 | bool specificRotatedFlag; | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.h:23:8: warning: 'Figure::Type Figure::type' [-Wreorder] 23 | Type type; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:7:1: warning: when initialized here [-Wreorder] 7 | Figure::Figure() : | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.h:25:7: warning: 'Figure::angle' will be initialized after [-Wreorder] 25 | int angle; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.h:22:7: warning: 'int Figure::id' [-Wreorder] 22 | int id; | ^~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:7:1: warning: when initialized here [-Wreorder] 7 | Figure::Figure() : | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp: In member function 'void Figure::build(Type)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:42:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 42 | cdata = "0000111100000000"; | ^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:49:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 49 | cdata = "100111000"; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:56:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 56 | cdata = "001111000"; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:63:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 63 | cdata = "1111"; | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:70:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 70 | cdata = "011110000"; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:77:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | cdata = "010111000"; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:84:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | cdata = "110011000"; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp: In member function 'void Figure::internalRotateLeft()': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:102:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class Cell' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 102 | memcpy(curCells, cells, sizeof(curCells)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.h:2: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Cell.h:4:7: note: 'class Cell' declared here 4 | class Cell | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp: In member function 'void Figure::internalRotateRight()': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Figure.cpp:115:9: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class Cell' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 115 | memcpy(curCells, cells, sizeof(curCells)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Cell.h:4:7: note: 'class Cell' declared here 4 | class Cell | ^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 45%] Building CXX object CMakeFiles/TetrisGL.dir/src/Globals.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Globals.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 24%] Building CXX object CMakeFiles/TetrisGL.dir/src/DropSparkle.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/DropSparkle.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 12%] Building CXX object CMakeFiles/TetrisGL.dir/src/CellArray.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/CellArray.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 33%] Building CXX object CMakeFiles/TetrisGL.dir/src/FpsCounter.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/FpsCounter.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 36%] Building CXX object CMakeFiles/TetrisGL.dir/src/3rdParty/mm_core/fmod_subset.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/fmod_subset.cpp:6: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/dr_wav.h: In function 'void drwav_f32_to_s16(drwav_int16*, const float*, size_t)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/dr_wav.h:1989:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 1989 | s = ((*((int*)&x)) & 0x80000000) >> 31; | ~^~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/dr_wav.h: In function 'void drwav_f64_to_s16(drwav_int16*, const double*, size_t)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/dr_wav.h:2004:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2004 | s = (int)(((*((drwav_uint64*)&x)) & (drwav_uint64)0x8000000000000000) >> 63); | ~^~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/fmod_subset.cpp: In member function 'FMOD_RESULT FMOD::System::createSound(const char*, int, void*, FMOD::Sound**)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/fmod_subset.cpp:197:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 197 | for (size_t i = 0; i < snd.length; i++) | ~~^~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/mm_core/fmod_subset.cpp:230:32: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 230 | for (size_t i = 0; i < snd.length; i++) | ~~^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 21%] Building CXX object CMakeFiles/TetrisGL.dir/src/DropTrail.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/DropTrail.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 42%] Building CXX object CMakeFiles/TetrisGL.dir/src/GameLogic.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/GameLogic.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/GameLogic.cpp: In static member function 'static bool GameLogic::fit(const Figure&, int, int, int*)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/GameLogic.cpp:241:13: warning: unused variable 'shift' [-Wunused-variable] 241 | const int shift = curFigure.dim / 2 + (curFigure.dim & 1); | ^~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 15%] Building CXX object CMakeFiles/TetrisGL.dir/src/Control.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Control.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 30%] Building CXX object CMakeFiles/TetrisGL.dir/src/Field.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Field.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 9%] Building CXX object CMakeFiles/TetrisGL.dir/src/Binding.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Binding.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 54%] Building CXX object CMakeFiles/TetrisGL.dir/src/Layout.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Layout.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue::SetObjectRaw(Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; Member = rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >; rapidjson::SizeType = unsigned int]': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:2049:55: required from 'bool rapidjson::GenericDocument::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1379:40: required from 'rapidjson::GenericReader::IterativeParsingState rapidjson::GenericReader::Transit(IterativeParsingState, Token, IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1468:58: required from 'rapidjson::ParseResult rapidjson::GenericReader::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:396:46: required from 'rapidjson::ParseResult rapidjson::GenericReader::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1892:57: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with unsigned int parseFlags = 0; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1918:70: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Layout.cpp:146:45: required from here /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1699:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue >::Member' {aka 'struct rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >'} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess] 1699 | std::memcpy(data_.o.members, members, count * sizeof(Member)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:82:8: note: 'rapidjson::GenericValue >::Member' {aka 'struct rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >'} declared here 82 | struct GenericMember { | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue::SetArrayRaw(rapidjson::GenericValue*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:2057:54: required from 'bool rapidjson::GenericDocument::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1404:39: required from 'rapidjson::GenericReader::IterativeParsingState rapidjson::GenericReader::Transit(IterativeParsingState, Token, IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1468:58: required from 'rapidjson::ParseResult rapidjson::GenericReader::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:396:46: required from 'rapidjson::ParseResult rapidjson::GenericReader::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1892:57: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with unsigned int parseFlags = 0; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1918:70: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Layout.cpp:146:45: required from here /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1687:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1687 | std::memcpy(data_.a.elements, values, count * sizeof(GenericValue)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:421:7: note: 'class rapidjson::GenericValue >' declared here 421 | class GenericValue { | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 63%] Building CXX object CMakeFiles/TetrisGL.dir/src/Logic.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Logic.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 57%] Building CXX object CMakeFiles/TetrisGL.dir/src/LayoutObject.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/LayoutObject.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/LayoutObject.cpp:3: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/LayoutObject.h: In constructor 'LayoutObject::LayoutObject(LayoutObjectId, LayoutObject*, float, float, float, float)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/LayoutObject.h:80:18: warning: 'LayoutObject::id' will be initialized after [-Wreorder] 80 | LayoutObjectId id; | ^~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/LayoutObject.h:53:24: warning: 'const LayoutObject* LayoutObject::parent' [-Wreorder] 53 | const LayoutObject * parent; | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/LayoutObject.cpp:5:1: warning: when initialized here [-Wreorder] 5 | LayoutObject::LayoutObject(LayoutObjectId id, LayoutObject * parent, | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 84%] Building CXX object CMakeFiles/TetrisGL.dir/src/Shader.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Shader.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 66%] Building CXX object CMakeFiles/TetrisGL.dir/src/MenuLogic.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.cpp:3: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.h: In constructor 'MenuLogic::MenuLogic(Result)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.h:57:10: warning: 'MenuLogic::escapeResult' will be initialized after [-Wreorder] 57 | Result escapeResult; | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.h:56:7: warning: 'int MenuLogic::defaultRow' [-Wreorder] 56 | int defaultRow; | ^~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.cpp:7:1: warning: when initialized here [-Wreorder] 7 | MenuLogic::MenuLogic(Result escapeResult) : | ^~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.h:56:7: warning: 'MenuLogic::defaultRow' will be initialized after [-Wreorder] 56 | int defaultRow; | ^~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.h:38:7: warning: 'int MenuLogic::selectedRow' [-Wreorder] 38 | int selectedRow; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.cpp:7:1: warning: when initialized here [-Wreorder] 7 | MenuLogic::MenuLogic(Result escapeResult) : | ^~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.h:38:7: warning: 'MenuLogic::selectedRow' will be initialized after [-Wreorder] 38 | int selectedRow; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.h:34:15: warning: 'const float MenuLogic::showingTime' [-Wreorder] 34 | const float showingTime; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/MenuLogic.cpp:7:1: warning: when initialized here [-Wreorder] 7 | MenuLogic::MenuLogic(Result escapeResult) : | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 60%] Building CXX object CMakeFiles/TetrisGL.dir/src/LeaderboardLogic.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/LeaderboardLogic.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 75%] Building CXX object CMakeFiles/TetrisGL.dir/src/Palette.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Palette.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue::SetObjectRaw(Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; Member = rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >; rapidjson::SizeType = unsigned int]': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:2049:55: required from 'bool rapidjson::GenericDocument::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1379:40: required from 'rapidjson::GenericReader::IterativeParsingState rapidjson::GenericReader::Transit(IterativeParsingState, Token, IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1468:58: required from 'rapidjson::ParseResult rapidjson::GenericReader::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:396:46: required from 'rapidjson::ParseResult rapidjson::GenericReader::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1892:57: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with unsigned int parseFlags = 0; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1918:70: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Palette.cpp:105:45: required from here /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1699:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue >::Member' {aka 'struct rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >'} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess] 1699 | std::memcpy(data_.o.members, members, count * sizeof(Member)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:82:8: note: 'rapidjson::GenericValue >::Member' {aka 'struct rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >'} declared here 82 | struct GenericMember { | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue::SetArrayRaw(rapidjson::GenericValue*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:2057:54: required from 'bool rapidjson::GenericDocument::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1404:39: required from 'rapidjson::GenericReader::IterativeParsingState rapidjson::GenericReader::Transit(IterativeParsingState, Token, IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1468:58: required from 'rapidjson::ParseResult rapidjson::GenericReader::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:396:46: required from 'rapidjson::ParseResult rapidjson::GenericReader::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1892:57: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with unsigned int parseFlags = 0; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1918:70: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Palette.cpp:105:45: required from here /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1687:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1687 | std::memcpy(data_.a.elements, values, count * sizeof(GenericValue)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:421:7: note: 'class rapidjson::GenericValue >' declared here 421 | class GenericValue { | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 69%] Building CXX object CMakeFiles/TetrisGL.dir/src/OpenGLApplication.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLApplication.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 90%] Building CXX object CMakeFiles/TetrisGL.dir/src/Time.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Time.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 78%] Building CXX object CMakeFiles/TetrisGL.dir/src/Program.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Program.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 81%] Building CXX object CMakeFiles/TetrisGL.dir/src/SettingsLogic.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.cpp:3: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.h: In constructor 'SettingsLogic::SettingsLogic()': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.h:79:8: warning: 'SettingsLogic::changed' will be initialized after [-Wreorder] 79 | bool changed; | ^~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.h:50:9: warning: 'SettingsLogic::State SettingsLogic::state' [-Wreorder] 50 | State state; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.cpp:8:1: warning: when initialized here [-Wreorder] 8 | SettingsLogic::SettingsLogic() : | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.h:81:9: warning: 'SettingsLogic::musicVolume' will be initialized after [-Wreorder] 81 | float musicVolume; | ^~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.h:54:11: warning: 'SettingsLogic::Control SettingsLogic::selectedControl' [-Wreorder] 54 | Control selectedControl; | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.cpp:8:1: warning: when initialized here [-Wreorder] 8 | SettingsLogic::SettingsLogic() : | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.cpp: In member function 'void SettingsLogic::init()': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.cpp:34:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 34 | saveConfirmationMenu.add("SAVE", MenuLogic::resSave); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.cpp:35:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | saveConfirmationMenu.add("DON'T SAVE", MenuLogic::resDontSave); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/SettingsLogic.cpp:36:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 36 | saveConfirmationMenu.add("BACK", MenuLogic::resBack, true); | ^~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 96%] Building CXX object CMakeFiles/TetrisGL.dir/src/main.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/main.cpp:3: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 87%] Building CXX object CMakeFiles/TetrisGL.dir/src/Sound.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/Sound.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 93%] Building CXX object CMakeFiles/TetrisGL.dir/src/sdff_font.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/sdff_font.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/sdff_font.cpp: In member function 'float SDFF_Font::getKerning(SDFF_Char, SDFF_Char) const': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/sdff_font.cpp:33:12: warning: converting to non-pointer type 'float' from NULL [-Wconversion-null] 33 | return NULL; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue::SetObjectRaw(Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; Member = rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >; rapidjson::SizeType = unsigned int]': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:2049:55: required from 'bool rapidjson::GenericDocument::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1379:40: required from 'rapidjson::GenericReader::IterativeParsingState rapidjson::GenericReader::Transit(IterativeParsingState, Token, IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1468:58: required from 'rapidjson::ParseResult rapidjson::GenericReader::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:396:46: required from 'rapidjson::ParseResult rapidjson::GenericReader::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1892:57: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with unsigned int parseFlags = 0; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1918:70: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/sdff_font.cpp:127:45: required from here /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1699:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue >::Member' {aka 'struct rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >'} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess] 1699 | std::memcpy(data_.o.members, members, count * sizeof(Member)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:82:8: note: 'rapidjson::GenericValue >::Member' {aka 'struct rapidjson::GenericMember, rapidjson::MemoryPoolAllocator<> >'} declared here 82 | struct GenericMember { | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue::SetArrayRaw(rapidjson::GenericValue*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:2057:54: required from 'bool rapidjson::GenericDocument::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1404:39: required from 'rapidjson::GenericReader::IterativeParsingState rapidjson::GenericReader::Transit(IterativeParsingState, Token, IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:1468:58: required from 'rapidjson::ParseResult rapidjson::GenericReader::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/reader.h:396:46: required from 'rapidjson::ParseResult rapidjson::GenericReader::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 0; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1892:57: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with unsigned int parseFlags = 0; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1918:70: required from 'rapidjson::GenericDocument& rapidjson::GenericDocument::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]' /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/sdff_font.cpp:127:45: required from here /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:1687:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1687 | std::memcpy(data_.a.elements, values, count * sizeof(GenericValue)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:421:7: note: 'class rapidjson::GenericValue >' declared here 421 | class GenericValue { | ^~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [ 72%] Building CXX object CMakeFiles/TetrisGL.dir/src/OpenGLRender.cpp.o In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/type_int.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/fwd.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:90, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:21, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:1: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/setup.hpp:636:34: warning: multi-line comment [-Wcomment] 636 | #define GLM_HAS_TRIVIAL_QUERIES 0//( \ | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:313:8: warning: extra tokens at end of #endif directive [-Wendif-labels] 313 | #endif _DEBUG | ^~~~~~ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.hpp:197, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/packing.hpp:35, from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/glm.hpp:113: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packUnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:42:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 42 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackUnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:47:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 47 | vec2 Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packSnorm2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:54:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 54 | return reinterpret_cast(Topack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackSnorm2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:59:69: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 59 | vec2 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackUnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:73:67: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 73 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec4 glm::unpackSnorm4x8(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:85:68: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 85 | vec4 const Unpack(reinterpret_cast(p)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uvec2 glm::unpackDouble2x32(double)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:56: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:98:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 98 | return reinterpret_cast(v); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::uint glm::packHalf2x16(const vec2&)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:107:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 107 | return reinterpret_cast(Unpack); | ^~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl: In function 'glm::vec2 glm::unpackHalf2x16(uint)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/GLM/detail/func_packing.inl:112:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 112 | i16vec2 const Unpack(reinterpret_cast(v)); | ^ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/static_headers.h:23: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h: At global scope: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/rapidjson/document.h:113:19: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 113 | : public std::iterator struct std::iterator' is deprecated [-Wdeprecated-declarations] 121 | typedef std::iterator BaseType; | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:14: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h: In function 'unsigned char* stbi__convert_format(unsigned char*, int, int, unsigned int, unsigned int)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1365:10: note: in expansion of macro 'CASE' 1365 | CASE(1,2) dest[0]=src[0], dest[1]=255; break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1365:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1365 | CASE(1,2) dest[0]=src[0], dest[1]=255; break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1366:10: note: in expansion of macro 'CASE' 1366 | CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1366:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1366 | CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1367:10: note: in expansion of macro 'CASE' 1367 | CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1367:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1367 | CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1368:10: note: in expansion of macro 'CASE' 1368 | CASE(2,1) dest[0]=src[0]; break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1368:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1368 | CASE(2,1) dest[0]=src[0]; break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1369:10: note: in expansion of macro 'CASE' 1369 | CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1369:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1369 | CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1370:10: note: in expansion of macro 'CASE' 1370 | CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1370:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1370 | CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1371:10: note: in expansion of macro 'CASE' 1371 | CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1371:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1371 | CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1372:10: note: in expansion of macro 'CASE' 1372 | CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1372:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1372 | CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1373:10: note: in expansion of macro 'CASE' 1373 | CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1373:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1373 | CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1374:10: note: in expansion of macro 'CASE' 1374 | CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1374:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1374 | CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1375:10: note: in expansion of macro 'CASE' 1375 | CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1375:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1375 | CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1361:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1361 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1376:10: note: in expansion of macro 'CASE' 1376 | CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:1376:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1376 | CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h: In function 'int stbi__create_png_image_raw(stbi__png*, stbi_uc*, stbi__uint32, int, stbi__uint32, stbi__uint32, int, int)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4050:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4050 | for (k=0; k < nk; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4054:13: note: in expansion of macro 'CASE' 4054 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4054:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4054 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4050:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4050 | for (k=0; k < nk; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4055:13: note: in expansion of macro 'CASE' 4055 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4055:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4055 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4050:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4050 | for (k=0; k < nk; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4056:13: note: in expansion of macro 'CASE' 4056 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4056:113: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4056 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4050:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4050 | for (k=0; k < nk; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4057:13: note: in expansion of macro 'CASE' 4057 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4057:139: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4057 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4050:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4050 | for (k=0; k < nk; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4058:13: note: in expansion of macro 'CASE' 4058 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4058:102: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4058 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4050:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4050 | for (k=0; k < nk; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4059:13: note: in expansion of macro 'CASE' 4059 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4059:112: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4059 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4068:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4068 | for (k=0; k < img_n; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4070:13: note: in expansion of macro 'CASE' 4070 | CASE(STBI__F_none) cur[k] = raw[k]; break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4070:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4070 | CASE(STBI__F_none) cur[k] = raw[k]; break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4068:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4068 | for (k=0; k < img_n; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4071:13: note: in expansion of macro 'CASE' 4071 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4071:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4071 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4068:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4068 | for (k=0; k < img_n; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4072:13: note: in expansion of macro 'CASE' 4072 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4072:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4072 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4068:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4068 | for (k=0; k < img_n; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4073:13: note: in expansion of macro 'CASE' 4073 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4073:106: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4073 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4068:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4068 | for (k=0; k < img_n; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4074:13: note: in expansion of macro 'CASE' 4074 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4074:125: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4074 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4068:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4068 | for (k=0; k < img_n; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4075:13: note: in expansion of macro 'CASE' 4075 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4075:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4075 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4068:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4068 | for (k=0; k < img_n; ++k) | ^~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4076:13: note: in expansion of macro 'CASE' 4076 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; | ^~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/3rdParty/stb_image.h:4076:105: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4076 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; | ^~~~~ In file included from /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:3: /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.h: In constructor 'OpenGLRender::OpenGLRender()': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.h:94:10: warning: 'OpenGLRender::fontFrag' will be initialized after [-Wreorder] 94 | Shader fontFrag; | ^~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.h:76:15: warning: 'const float OpenGLRender::edgeBlurWidth' [-Wreorder] 76 | const float edgeBlurWidth; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:24:1: warning: when initialized here [-Wreorder] 24 | OpenGLRender::OpenGLRender() : | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.h:76:15: warning: 'OpenGLRender::edgeBlurWidth' will be initialized after [-Wreorder] 76 | const float edgeBlurWidth; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.h:14:8: warning: 'bool OpenGLRender::showWireframe' [-Wreorder] 14 | bool showWireframe; | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:24:1: warning: when initialized here [-Wreorder] 24 | OpenGLRender::OpenGLRender() : | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp: In member function 'void OpenGLRender::buildProgressBar(float, float, float, float, const glm::vec3&, const glm::vec3&, const glm::vec3&, float, float)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:652:15: warning: unused variable 'gapWidth' [-Wunused-variable] 652 | const float gapWidth = 0.5f * Layout::settingsProgressBarInnerGap; | ^~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp: In member function 'void OpenGLRender::buildBackground()': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:704:12: warning: narrowing conversion of '(((double)1.0e+0f) - (((double)sqrtf(((fx0 * fx0) + (fy0 * fy0)))) / 1.4142135623730951e+0))' from 'double' to 'float' [-Wnarrowing] 704 | 1.0f - sqrtf(fx0 * fx0 + fy0 * fy0) / M_SQRT2, | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:705:12: warning: narrowing conversion of '(((double)1.0e+0f) - (((double)sqrtf(((fx0 * fx0) + (fy1 * fy1)))) / 1.4142135623730951e+0))' from 'double' to 'float' [-Wnarrowing] 705 | 1.0f - sqrtf(fx0 * fx0 + fy1 * fy1) / M_SQRT2, | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:706:12: warning: narrowing conversion of '(((double)1.0e+0f) - (((double)sqrtf(((fx1 * fx1) + (fy0 * fy0)))) / 1.4142135623730951e+0))' from 'double' to 'float' [-Wnarrowing] 706 | 1.0f - sqrtf(fx1 * fx1 + fy0 * fy0) / M_SQRT2, | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:707:12: warning: narrowing conversion of '(((double)1.0e+0f) - (((double)sqrtf(((fx1 * fx1) + (fy1 * fy1)))) / 1.4142135623730951e+0))' from 'double' to 'float' [-Wnarrowing] 707 | 1.0f - sqrtf(fx1 * fx1 + fy1 * fy1) / M_SQRT2, | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:755:38: warning: narrowing conversion of '(((double)sqrtf(((((float)fx0) * ((float)fx0)) + (((float)fy0) * ((float)fy0))))) / 1.4142135623730951e+0)' from 'double' to 'float' [-Wnarrowing] 755 | sqrtf(fx0 * fx0 + fy0 * fy0) / M_SQRT2, | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:756:38: warning: narrowing conversion of '(((double)sqrtf(((((float)fx0) * ((float)fx0)) + (((float)fy1) * ((float)fy1))))) / 1.4142135623730951e+0)' from 'double' to 'float' [-Wnarrowing] 756 | sqrtf(fx0 * fx0 + fy1 * fy1) / M_SQRT2, | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:757:38: warning: narrowing conversion of '(((double)sqrtf(((((float)fx1) * ((float)fx1)) + (((float)fy0) * ((float)fy0))))) / 1.4142135623730951e+0)' from 'double' to 'float' [-Wnarrowing] 757 | sqrtf(fx1 * fx1 + fy0 * fy0) / M_SQRT2, | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:758:38: warning: narrowing conversion of '(((double)sqrtf(((((float)fx1) * ((float)fx1)) + (((float)fy1) * ((float)fy1))))) / 1.4142135623730951e+0)' from 'double' to 'float' [-Wnarrowing] 758 | sqrtf(fx1 * fx1 + fy1 * fy1) / M_SQRT2, | ^ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp: In member function 'void OpenGLRender::buildMenu(MenuLogic*, LayoutObject*)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:1938:17: warning: unused variable 'textHeight' [-Wunused-variable] 1938 | const float textHeight = 0.08f; | ^~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp: In member function 'float OpenGLRender::buildTextMesh(float, float, float, float, const char*, float, const glm::vec3&, float, float, HorzAllign, VertAllign)': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:1999:17: warning: unused variable 'vOffs' [-Wunused-variable] 1999 | const float vOffs = 0.2f; | ^~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp: In member function 'void OpenGLRender::buildDropPredictor()': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:2447:15: warning: unused variable 'fieldWidth' [-Wunused-variable] 2447 | const int fieldWidth = Field::width; | ^~~~~~~~~~ /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp: In member function 'void OpenGLRender::updateGameLayer()': /usr/src/RPM/BUILD/TetrisGL-1.0.2/src/OpenGLRender.cpp:2711:17: warning: unused variable 'progress' [-Wunused-variable] 2711 | const float progress = glm::clamp((gameOverTime - gameOverTimeLeft) / gameOverTime, 0.0f, 1.0f); | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[2]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [100%] Linking CXX executable /usr/src/RPM/BUILD/bin/TetrisGL make[2]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' make[1]: Entering directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' [100%] Built target TetrisGL make[1]: Leaving directory '/usr/src/RPM/BUILD/TetrisGL-1.0.2' + cat + cat + cp -at . -- /usr/src/RPM/SOURCES/TetrisGL-32.png /usr/src/RPM/SOURCES/TetrisGL-48.png /usr/src/RPM/SOURCES/TetrisGL-64.png /usr/src/RPM/SOURCES/TetrisGL-96.png /usr/src/RPM/SOURCES/TetrisGL-128.png + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.73368 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/TetrisGL-buildroot + : + /bin/rm -rf -- /usr/src/tmp/TetrisGL-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd TetrisGL-1.0.2 + rm -f bin/TetrisGL.exe bin/TetrisGL64.exe bin/TetrisGL64_debug.exe bin/TetrisGL_debug.exe bin/fmodL.dll bin/fmodL64.dll bin/glew32.dll bin/glew32d.dll bin/glew64.dll bin/glew64d.dll bin/glfw3.dll bin/glfw3d.dll bin/glfw3x64.dll bin/glfw3x64d.dll + mkdir -p /usr/src/tmp/TetrisGL-buildroot/usr/lib/TetrisGL + cp -a bin/fonts bin/layouts bin/leaderboard.dat bin/palettes bin/settings.dat bin/sounds bin/textures /usr/src/tmp/TetrisGL-buildroot/usr/lib/TetrisGL + install -D /dev/null /usr/src/tmp/TetrisGL-buildroot/var/lib/games/TetrisGL.scores + ln -srf /usr/src/tmp/TetrisGL-buildroot/var/lib/games/TetrisGL.scores /usr/src/tmp/TetrisGL-buildroot/usr/lib/TetrisGL/leaderboard.dat + install -D bin/settings.dat /usr/src/tmp/TetrisGL-buildroot/var/lib/games/TetrisGL.settings + ln -srf /usr/src/tmp/TetrisGL-buildroot/var/lib/games/TetrisGL.settings /usr/src/tmp/TetrisGL-buildroot/usr/lib/TetrisGL/settings.dat + install -pDm755 ../bin/TetrisGL /usr/src/tmp/TetrisGL-buildroot/usr/lib/TetrisGL/TetrisGL + install -pDm755 TetrisGL /usr/src/tmp/TetrisGL-buildroot/usr/bin/TetrisGL + install -pDm644 TetrisGL.desktop /usr/src/tmp/TetrisGL-buildroot/usr/share/applications/TetrisGL.desktop + for i in 32 48 64 96 128 + install -pDm644 TetrisGL-32.png /usr/src/tmp/TetrisGL-buildroot/usr/share/icons/hicolor/32x32/apps/TetrisGL.png + for i in 32 48 64 96 128 + install -pDm644 TetrisGL-48.png /usr/src/tmp/TetrisGL-buildroot/usr/share/icons/hicolor/48x48/apps/TetrisGL.png + for i in 32 48 64 96 128 + install -pDm644 TetrisGL-64.png /usr/src/tmp/TetrisGL-buildroot/usr/share/icons/hicolor/64x64/apps/TetrisGL.png + for i in 32 48 64 96 128 + install -pDm644 TetrisGL-96.png /usr/src/tmp/TetrisGL-buildroot/usr/share/icons/hicolor/96x96/apps/TetrisGL.png + for i in 32 48 64 96 128 + install -pDm644 TetrisGL-128.png /usr/src/tmp/TetrisGL-buildroot/usr/share/icons/hicolor/128x128/apps/TetrisGL.png + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/TetrisGL-buildroot (auto) Verifying and fixing files in /usr/src/tmp/TetrisGL-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/TetrisGL-buildroot/ (default) Compressing files in /usr/src/tmp/TetrisGL-buildroot (auto) Adjusting library links in /usr/src/tmp/TetrisGL-buildroot ./var/lib: (from :0) ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/TetrisGL-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: TetrisGL-1.0.2-alt5 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.54848 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd TetrisGL-1.0.2 + DOCDIR=/usr/src/tmp/TetrisGL-buildroot/usr/share/doc/TetrisGL-1.0.2 + export DOCDIR + rm -rf /usr/src/tmp/TetrisGL-buildroot/usr/share/doc/TetrisGL-1.0.2 + /bin/mkdir -p /usr/src/tmp/TetrisGL-buildroot/usr/share/doc/TetrisGL-1.0.2 + cp -prL README.md /usr/src/tmp/TetrisGL-buildroot/usr/share/doc/TetrisGL-1.0.2 + chmod -R go-w /usr/src/tmp/TetrisGL-buildroot/usr/share/doc/TetrisGL-1.0.2 + chmod -R a+rX /usr/src/tmp/TetrisGL-buildroot/usr/share/doc/TetrisGL-1.0.2 + exit 0 warning: File listed twice: /usr/lib/TetrisGL/TetrisGL Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.pVdBZp find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.N28DJZ find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Requires: /bin/sh, /lib64/ld-linux-x86-64.so.2, libGL.so.1()(64bit) >= set:pkIxsVrw3OroSFpMv6Pg2lZH7JJ20Zo3B9sE0dqlSfG23OW8CZl6TAX, libGLEW.so.2.2()(64bit) >= set:pjTP8VDMmVG7bSS0xG3SeCo1rtE2NGPc4qVZGf7tdJlOoLe2JxKq60svV1CqncJyMJMiiMrLOOiBgYK98yI70jlQx6UU6YJG6I2MYKeN1e4, libasound.so.2()(64bit) >= set:oitazi5RAZ6kN5ah6qj2vtKRYAp9lfRgp5ZhPmMVFSY7FnIQpsmqlmJZJOAje3b3Sux5YOU8MthOVtC8VkouBUxTd0H9pao9jHp0pp2WYD6BHDqyWZfjZeDzRFd3CjxF7q6CAp0263JIVUup26lxVZ6hliXod3, libasound.so.2(ALSA_0.9)(64bit), libasound.so.2(ALSA_0.9.0rc4)(64bit), libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.16)(64bit), libc.so.6(GLIBC_2.17)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.4)(64bit), libgcc_s.so.1(GCC_3.0)(64bit), libgcc_s.so.1(GCC_3.3.1)(64bit), libglfw.so.3()(64bit) >= set:lgmfDivZczxoATghNKmKLQFR9VcgkRrB0Dd8dgT5WuDw8OkrFv6MW2a, libm.so.6(GLIBC_2.2.5)(64bit), libm.so.6(GLIBC_2.27)(64bit), libm.so.6(GLIBC_2.29)(64bit), libstdc++.so.6(CXXABI_1.3)(64bit), libstdc++.so.6(CXXABI_1.3.8)(64bit), libstdc++.so.6(CXXABI_1.3.9)(64bit), libstdc++.so.6(GLIBCXX_3.4)(64bit), libstdc++.so.6(GLIBCXX_3.4.21)(64bit), libstdc++.so.6(GLIBCXX_3.4.29)(64bit), libstdc++.so.6(GLIBCXX_3.4.9)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Q7NWcm Creating TetrisGL-debuginfo package Processing files: TetrisGL-debuginfo-1.0.2-alt5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9805nA find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OeM1v6 find-requires: running scripts (debuginfo) Requires: TetrisGL = 1.0.2-alt5, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libGL.so.1), debug64(libGLEW.so.2.2), debug64(libasound.so.2), debug64(libc.so.6), debug64(libgcc_s.so.1), debug64(libglfw.so.3), debug64(libm.so.6), debug64(libstdc++.so.6) Adding to TetrisGL-debuginfo a strict dependency on TetrisGL Wrote: /usr/src/RPM/RPMS/x86_64/TetrisGL-1.0.2-alt5.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/TetrisGL-debuginfo-1.0.2-alt5.x86_64.rpm (w2.lzdio) 45.42user 5.23system 0:14.70elapsed 344%CPU (0avgtext+0avgdata 224292maxresident)k 0inputs+0outputs (0major+1667421minor)pagefaults 0swaps 2.59user 1.44system 0:29.22elapsed 13%CPU (0avgtext+0avgdata 110132maxresident)k 3088inputs+0outputs (32955major+198890minor)pagefaults 0swaps