doom3-bfg/neo
Gianfranco Costamagna 53310744ce
Update DataQueue.h to fix a build failure in Append method
This is a quick and dirty fix for this gcc-13 build failure on ppc64el with -O3 optimization level:


/usr/bin/g++-13 -DCPUSTRING=\"ppc64el\" -DUSE_DOOMCLASSIC -DUSE_EXCEPTIONS -DUSE_FFMPEG -DUSE_NEWER_JPEG -DUSE_OPENAL -D__DOOM__ -I/usr/include/imgui -I/usr/include/stb -I/<<PKGBUILDDIR>>/neo/. -I/<<PKGBUILDDIR>>/neo/idlib -isystem /usr/include/SDL2 -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/rbdoom3bfg-1.4.0+dfsg-3ubuntu2 -Wdate-time -D_FORTIFY_SOURCE=3  -std=c++11   -pipe -Werror=format-security -Werror=format -Wno-pragmas -Wno-unused-variable -Wno-switch -Wno-unused-value -Winvalid-pch -Wno-multichar -fno-strict-aliasing -MD -MT CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o -MF CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o.d -o CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o -c /<<PKGBUILDDIR>>/neo/sys/Snapshot_Jobs.cpp
In file included from /usr/include/string.h:548,
                 from /<<PKGBUILDDIR>>/neo/idlib/sys/sys_includes.h:141,
                 from /<<PKGBUILDDIR>>/neo/idlib/precompiled.h:34,
                 from /<<PKGBUILDDIR>>/neo/sys/PacketProcessor.cpp:29:
In function ‘memcpy’,
    inlined from ‘idDataQueue<64, 8000>::Append(int, unsigned char const*, int, unsigned char const*, int)’ at /<<PKGBUILDDIR>>/neo/idlib/../idlib/DataQueue.h:112:8,
    inlined from ‘idPacketProcessor::VerifyEmptyReliableQueue(unsigned char, unsigned char)’ at /<<PKGBUILDDIR>>/neo/sys/PacketProcessor.cpp:660:16:
/usr/include/powerpc64le-linux-gnu/bits/string_fortified.h:29:33: error: argument 2 null where non-null expected [-Werror=nonnull]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/powerpc64le-linux-gnu/bits/string_fortified.h:29:33: note: in a call to built-in function ‘__memcpy_chk’
cc1plus: some warnings being treated as errors
2024-08-01 08:17:34 +02:00
..
aas
cm Merged some smaller changes and fixes from icedhellfire 2024-06-29 18:02:48 +02:00
cmake
d3xp Extended listCvars with -new option to show all RBDoom related cvars 2024-07-10 20:33:20 +02:00
extern Point to newest NVRHI with patches by Steve Saunders 2024-02-26 20:50:49 +01:00
framework Extended listCvars with -new option to show all RBDoom related cvars 2024-07-10 20:33:20 +02:00
idlib Update DataQueue.h to fix a build failure in Append method 2024-08-01 08:17:34 +02:00
imgui Changed file lookup order in .resources paks like in previous id Tech engines 2024-06-24 21:31:00 +02:00
libs Fixed -DUSE_SYSTEM_ZLIB=ON close #913 2024-07-19 17:07:29 +02:00
renderer Fixed missing private polygon offset. Close #754 2024-07-16 21:19:22 +02:00
shaders Fixed crash with Vulkan when using the colorProcess shader. Close #891 2024-05-21 20:12:03 +02:00
sound Added classic flashlight from Doom BFA and detection for Doom 2004/2019 2024-06-27 21:05:51 +02:00
stub Adjusted EngineStubPosix for Linux rbdmap 2024-06-19 18:36:14 +02:00
swf Extended listCvars with -new option to show all RBDoom related cvars 2024-07-10 20:33:20 +02:00
sys Extended listCvars with -new option to show all RBDoom related cvars 2024-07-10 20:33:20 +02:00
tools Fixed -DUSE_SYSTEM_ZLIB=ON close #913 2024-07-19 17:07:29 +02:00
ui Added binaryLoadGuis and a few CVAR_NEW flags 2024-07-10 21:06:29 +02:00
astyle-code.bat Fixed compile error with clang 2024-06-27 23:22:02 +02:00
astyle-code.sh
astyle-options.ini
astyle.exe
astyle.x86
astyle.x86_64
cmake-linux-debug.sh Removed legacy GL/Vulkan backends from CMakeLists.txt 2022-11-22 18:47:31 +01:00
cmake-linux-release.sh Removed legacy GL/Vulkan backends from CMakeLists.txt 2022-11-22 18:47:31 +01:00
cmake-linux-retail.sh Set execution flag on cmake-linux-retail.sh 2024-04-02 17:23:27 +02:00
cmake-macos-release.sh macOS: Update cmake*.sh build scripts for openal-soft path portability - thanks asemarafa 2024-01-21 00:17:47 -05:00
cmake-macos-retail.sh macOS: Update cmake*.sh build scripts for openal-soft path portability - thanks asemarafa 2024-01-21 00:17:47 -05:00
cmake-vs2019-openal.bat extractResourceFiles can export .wav files. closes #166 2024-05-02 19:48:14 +02:00
cmake-vs2019-win64-no-ffmpeg.bat Added cmake .bat files for VS2022 2023-02-22 12:37:41 +01:00
cmake-vs2019-win64-no-vulkan.bat Hooked in the ability to do postfx after everything else is rendered 2023-12-28 14:39:59 +01:00
cmake-vs2019-win64-optick-profiling.bat Super basic Optick profiler integration 2023-02-28 18:00:54 +01:00
cmake-vs2019-win64-retail.bat Added CMake -DRETAIL option for shipping builds on Github/ModDB 2024-04-02 16:29:48 +02:00
cmake-vs2019-win64.bat
cmake-vs2022-arm64.bat Fixed typo in cmake-vs2022-arm64.bat 2024-06-02 16:11:19 +02:00
cmake-vs2022-win64-no-ffmpeg.bat Added cmake .bat files for VS2022 2023-02-22 12:37:41 +01:00
cmake-vs2022-win64-retail.bat Added CMake -DRETAIL option for shipping builds on Github/ModDB 2024-04-02 16:29:48 +02:00
cmake-vs2022-win64-standalone.bat Fixed compile problems with -DSTANDALONE flag 2024-02-04 15:36:55 +01:00
cmake-vs2022-win64.bat Added cmake .bat files for VS2022 2023-02-22 12:37:41 +01:00
cmake-xcode-debug.sh macOS: Support non-system Vulkan SDK installs & enable cmake regen for xcode release builds 2024-04-29 00:36:58 -04:00
cmake-xcode-release.sh macOS: Support non-system Vulkan SDK installs & enable cmake regen for xcode release builds 2024-04-29 00:36:58 -04:00
cmake-xcode-universal.sh macOS: Support non-system Vulkan SDK installs & enable cmake regen for xcode release builds 2024-04-29 00:36:58 -04:00
CMakeLists.txt FFMPEG=OFF BINKDEC=ON is the new default, easier for Linux 2024-07-19 11:19:04 +02:00
compileshaders.cmake CMakeLists: Remove redundant code for finding dxc, now handled by ShaderMake 2024-03-20 13:49:19 -04:00
idStuff.natvis Merged some smaller changes and fixes from icedhellfire 2024-06-29 18:02:48 +02:00