Advertisement
Guest User

Untitled

a guest
Oct 18th, 2023
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 80.17 KB | None | 0 0
  1. Log started at: Sat Oct 14 03:13:12 AM EDT 2023
  2.  
  3. RetroPie-Setup version: 4.8.5 (a43e29c)
  4. System: rpi4 (aarch64) - Raspbian GNU/Linux 12 (bookworm) - Linux pi4bookworm32 6.1.0-rpi4-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.54-1+rpt2 (2023-10-05) aarch64 GNU/Linux
  5.  
  6. = = = = = = = = = = = = = = = = = = = = =
  7. Installing dependencies for 'dxx-rebirth' : DXX-Rebirth (Descent & Descent 2) source port
  8. = = = = = = = = = = = = = = = = = = = = =
  9.  
  10. Did not find needed dependencies: libphysfs-dev scons. Trying to install them now.
  11. Hit:1 http://archive.raspberrypi.com/debian bookworm InRelease
  12. Hit:2 http://raspbian.raspberrypi.com/raspbian bookworm InRelease
  13. Hit:3 http://tde-mirror-01.inet-design.com/trinity/deb/trinity-r14.1.x bookworm InRelease
  14. Reading package lists...
  15. W: http://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
  16. Reading package lists...
  17. Building dependency tree...
  18. Reading state information...
  19. The following packages were automatically installed and are no longer required:
  20. libdecor-0-0 libdecor-0-plugin-1-cairo
  21. Use 'sudo apt autoremove' to remove them.
  22. The following additional packages will be installed:
  23. libphysfs1
  24. Suggested packages:
  25. scons-doc
  26. The following NEW packages will be installed:
  27. libphysfs-dev libphysfs1 scons
  28. 0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
  29. Need to get 815 kB of archives.
  30. After this operation, 3,203 kB of additional disk space will be used.
  31. Get:1 http://mirror.umd.edu/raspbian/raspbian bookworm/main armhf libphysfs1 armhf 3.0.2-6 [59.8 kB]
  32. Get:2 http://mirror.umd.edu/raspbian/raspbian bookworm/main armhf libphysfs-dev armhf 3.0.2-6 [92.3 kB]
  33. Get:3 http://raspbian.raspberrypi.com/raspbian bookworm/main armhf scons all 4.4.0+dfsg-1 [663 kB]
  34. Fetched 815 kB in 2s (517 kB/s)
  35. Selecting previously unselected package libphysfs1:armhf.
  36. (Reading database ...
  37. (Reading database ... 5%
  38. (Reading database ... 10%
  39. (Reading database ... 15%
  40. (Reading database ... 20%
  41. (Reading database ... 25%
  42. (Reading database ... 30%
  43. (Reading database ... 35%
  44. (Reading database ... 40%
  45. (Reading database ... 45%
  46. (Reading database ... 50%
  47. (Reading database ... 55%
  48. (Reading database ... 60%
  49. (Reading database ... 65%
  50. (Reading database ... 70%
  51. (Reading database ... 75%
  52. (Reading database ... 80%
  53. (Reading database ... 85%
  54. (Reading database ... 90%
  55. (Reading database ... 95%
  56. (Reading database ... 100%
  57. (Reading database ... 241044 files and directories currently installed.)
  58. Preparing to unpack .../libphysfs1_3.0.2-6_armhf.deb ...
  59. Unpacking libphysfs1:armhf (3.0.2-6) ...
  60. Selecting previously unselected package libphysfs-dev.
  61. Preparing to unpack .../libphysfs-dev_3.0.2-6_armhf.deb ...
  62. Unpacking libphysfs-dev (3.0.2-6) ...
  63. Selecting previously unselected package scons.
  64. Preparing to unpack .../scons_4.4.0+dfsg-1_all.deb ...
  65. Unpacking scons (4.4.0+dfsg-1) ...
  66. Setting up libphysfs1:armhf (3.0.2-6) ...
  67. Setting up scons (4.4.0+dfsg-1) ...
  68. Setting up libphysfs-dev (3.0.2-6) ...
  69. Processing triggers for man-db (2.11.2-2) ...
  70. Processing triggers for libc-bin (2.36-9+rpt2+deb12u3) ...
  71. /home/pi/RetroPie-Setup/tmp/build/dxx-rebirth /home/pi/RetroPie-Setup
  72.  
  73. = = = = = = = = = = = = = = = = = = = = =
  74. Getting sources for 'dxx-rebirth' : DXX-Rebirth (Descent & Descent 2) source port
  75. = = = = = = = = = = = = = = = = = = = = =
  76.  
  77. git clone --recursive --branch master "https://github.com/dxx-rebirth/dxx-rebirth" "/home/pi/RetroPie-Setup/tmp/build/dxx-rebirth"
  78. Cloning into '/home/pi/RetroPie-Setup/tmp/build/dxx-rebirth'...
  79. Winding back https://github.com/dxx-rebirth/dxx-rebirth->master to commit: #15bd145d
  80. Switched to a new branch '15bd145d'
  81. HEAD is now in branch '15bd145d' at commit '15bd145daf7993ed0a0c7c270501f0310cfe6a9f'
  82. /home/pi/RetroPie-Setup
  83. /home/pi/RetroPie-Setup/tmp/build/dxx-rebirth /home/pi/RetroPie-Setup
  84.  
  85. = = = = = = = = = = = = = = = = = = = = =
  86. Building 'dxx-rebirth' : DXX-Rebirth (Descent & Descent 2) source port
  87. = = = = = = = = = = = = = = = = = = = = =
  88.  
  89. scons: Reading SConscript files ...
  90. ===== D1X-Rebirth v0.61.0 0.60.0-beta2-1265-g15bd145daf79 15bd145daf7993ed0a0c7c270501f0310cfe6a9f =====
  91. ===== D2X-Rebirth v0.61.0 0.60.0-beta2-1265-g15bd145daf79 15bd145daf7993ed0a0c7c270501f0310cfe6a9f =====
  92. DXX-Archive.3: compiling on 'linux'/'aarch64' for 'linux' into .
  93. DXX-Archive.3: CHOST: None
  94. DXX-Archive.3: CXX: 'g++'
  95. DXX-Archive.3: CPPDEFINES: [('PHYSFS_DEPRECATED', '')]
  96. DXX-Archive.3: CPPPATH: ['common/include', 'common/main', '.']
  97. DXX-Archive.3: CPPFLAGS: ['-Wno-sign-compare']
  98. DXX-Archive.3: CXXFLAGS: ['-g', '-O2', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=vla', '-pthread', '-funsigned-char', '-mcpu=cortex-a72', '-mfpu=neon-fp-armv8', '-O2']
  99. DXX-Archive.3: LIBS: None
  100. DXX-Archive.3: LINKFLAGS: []
  101. DXX-Archive.3: $CCACHE_PREFIX: None
  102. DXX-Archive.3: $DISTCC_HOSTS: None
  103. D1X-Rebirth.1: compiling on 'linux'/'aarch64' for 'linux' into . with prefix list ('d1x', '')
  104. D1X-Rebirth.1: default sharepath is '/usr/local/share/games/d1x-rebirth/'
  105. D1X-Rebirth.1: CHOST: None
  106. D1X-Rebirth.1: CXX: 'g++'
  107. D1X-Rebirth.1: CPPDEFINES: [('PHYSFS_DEPRECATED', ''), ('DXX_BUILD_DESCENT_I',), ('__STDC_FORMAT_MACROS',), ('DXX_USE_SHAREPATH', 1)]
  108. D1X-Rebirth.1: CPPPATH: ['common/include', 'common/main', '.', 'd1x-rebirth/main']
  109. D1X-Rebirth.1: CPPFLAGS: ['-Wno-sign-compare']
  110. D1X-Rebirth.1: CXXFLAGS: ['-g', '-O2', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=vla', '-pthread', '-funsigned-char', '-mcpu=cortex-a72', '-mfpu=neon-fp-armv8', '-O2']
  111. D1X-Rebirth.1: LIBS: ['m', 'GL', 'GLU']
  112. D1X-Rebirth.1: LINKFLAGS: []
  113. D1X-Rebirth.1: $CCACHE_PREFIX: None
  114. D1X-Rebirth.1: $DISTCC_HOSTS: None
  115. D2X-Rebirth.2: compiling on 'linux'/'aarch64' for 'linux' into . with prefix list ('d2x', '')
  116. D2X-Rebirth.2: default sharepath is '/usr/local/share/games/d2x-rebirth/'
  117. D2X-Rebirth.2: CHOST: None
  118. D2X-Rebirth.2: CXX: 'g++'
  119. D2X-Rebirth.2: CPPDEFINES: [('PHYSFS_DEPRECATED', ''), ('DXX_BUILD_DESCENT_II',), ('__STDC_FORMAT_MACROS',), ('DXX_USE_SHAREPATH', 1)]
  120. D2X-Rebirth.2: CPPPATH: ['common/include', 'common/main', '.', 'd2x-rebirth/main']
  121. D2X-Rebirth.2: CPPFLAGS: ['-Wno-sign-compare']
  122. D2X-Rebirth.2: CXXFLAGS: ['-g', '-O2', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=vla', '-pthread', '-funsigned-char', '-mcpu=cortex-a72', '-mfpu=neon-fp-armv8', '-O2']
  123. D2X-Rebirth.2: LIBS: ['m', 'GL', 'GLU']
  124. D2X-Rebirth.2: LINKFLAGS: []
  125. D2X-Rebirth.2: $CCACHE_PREFIX: None
  126. D2X-Rebirth.2: $DISTCC_HOSTS: None
  127. scons: done reading SConscript files.
  128. scons: Cleaning targets ...
  129. scons: done cleaning targets.
  130. scons: Reading SConscript files ...
  131. ===== D1X-Rebirth v0.61.0 0.60.0-beta2-1265-g15bd145daf79 15bd145daf7993ed0a0c7c270501f0310cfe6a9f =====
  132. ===== D2X-Rebirth v0.61.0 0.60.0-beta2-1265-g15bd145daf79 15bd145daf7993ed0a0c7c270501f0310cfe6a9f =====
  133. DXX-Archive.3: compiling on 'linux'/'aarch64' for 'linux' into .
  134. DXX-Archive.3: checking version of C++ compiler 'g++' ... 'g++ (Raspbian 12.2.0-14+rpi1) 12.2.0'
  135. DXX-Archive.3: checking path to assembler ... b'as'
  136. DXX-Archive.3: checking version of assembler b'as' ... 'GNU assembler (GNU Binutils for Raspbian) 2.40'
  137. DXX-Archive.3: checking path to linker ... b'ld'
  138. DXX-Archive.3: checking version of linker b'ld' ... 'GNU ld (GNU Binutils for Raspbian) 2.40'
  139. DXX-Archive.3: CHOST: None
  140. DXX-Archive.3: CXX: 'g++'
  141. DXX-Archive.3: CPPDEFINES: [('PHYSFS_DEPRECATED', '')]
  142. DXX-Archive.3: CPPPATH: ['common/include', 'common/main', '.']
  143. DXX-Archive.3: CPPFLAGS: ['-Wno-sign-compare']
  144. DXX-Archive.3: CXXFLAGS: ['-g', '-O2', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=vla', '-pthread', '-funsigned-char', '-mcpu=cortex-a72', '-mfpu=neon-fp-armv8', '-O2']
  145. DXX-Archive.3: LIBS: None
  146. DXX-Archive.3: LINKFLAGS: []
  147. DXX-Archive.3: $CCACHE_PREFIX: None
  148. DXX-Archive.3: $DISTCC_HOSTS: None
  149. DXX-Archive.3: checking whether C++ compiler and linker work...yes
  150. DXX-Archive.3: checking whether C++ compiler accepts -std=gnu++17...yes
  151. DXX-Archive.3: checking endian to use...little
  152. DXX-Archive.3: checking whether to enable word alignment fixups...yes
  153. DXX-Archive.3: building with OpenGL
  154. DXX-Archive.3: checking whether to enable release options...yes
  155. DXX-Archive.3: checking whether to enable memory allocation tracking...no
  156. DXX-Archive.3: checking whether to enable level editor...no
  157. DXX-Archive.3: checking whether to enable IPv6 support...no
  158. DXX-Archive.3: checking whether to enable multiplayer over UDP...yes
  159. DXX-Archive.3: checking whether to enable UDP game tracker...yes
  160. DXX-Archive.3: checking how to handle ADL MIDI...disabled
  161. DXX-Archive.3: checking how to format screenshots...png
  162. DXX-Archive.3: checking libpng pkg-config libpng
  163. DXX-Archive.3: using pkg-config at discovered path /usr/bin/pkg-config
  164. DXX-Archive.3: reading libpng version from ('/usr/bin/pkg-config', '--modversion', 'libpng')
  165. DXX-Archive.3: libpng version: b'1.6.39'
  166. DXX-Archive.3: reading libpng settings from ('/usr/bin/pkg-config', '--cflags', '--libs', 'libpng')
  167. DXX-Archive.3: libpng settings: {'CPPPATH': ['/usr/include/libpng16'], 'LIBS': ['png16']}
  168. DXX-Archive.3: checking for usable library png...yes
  169. DXX-Archive.3: checking for usable library physfs...yes
  170. DXX-Archive.3: checking for usable library ['GL', 'GLU']...yes
  171. DXX-Archive.3: checking SDL2 pkg-config sdl2
  172. DXX-Archive.3: reading sdl2 version from ('/usr/bin/pkg-config', '--modversion', 'sdl2')
  173. DXX-Archive.3: SDL2 version: b'2.26.3'
  174. DXX-Archive.3: reading SDL2 settings from ('/usr/bin/pkg-config', '--cflags', '--libs', 'sdl2')
  175. DXX-Archive.3: SDL2 settings: {'CPPDEFINES': ['_REENTRANT'], 'CPPPATH': ['/usr/include/SDL2'], 'LIBS': ['SDL2']}
  176. DXX-Archive.3: checking whether to enable joystick support...yes
  177. DXX-Archive.3: checking for usable library SDL2 with OpenGL...yes
  178. DXX-Archive.3: checking whether to use SDL2_image...yes
  179. DXX-Archive.3: checking SDL2_image pkg-config SDL2_image
  180. DXX-Archive.3: reading SDL2_image version from ('/usr/bin/pkg-config', '--modversion', 'SDL2_image')
  181. DXX-Archive.3: SDL2_image version: b'2.6.3'
  182. DXX-Archive.3: reading SDL2_image settings from ('/usr/bin/pkg-config', '--cflags', '--libs', 'SDL2_image')
  183. DXX-Archive.3: SDL2_image settings: {'CPPDEFINES': ['_REENTRANT'], 'CPPPATH': ['/usr/include/SDL2', '/usr/include/libpng16', '/usr/include/arm-linux-gnueabihf'], 'LIBS': ['SDL2_image', 'SDL2']}
  184. DXX-Archive.3: checking for usable library SDL2_image...yes
  185. DXX-Archive.3: checking whether to use SDL2_mixer...yes
  186. DXX-Archive.3: checking SDL2_mixer pkg-config SDL2_mixer
  187. DXX-Archive.3: reading SDL2_mixer version from ('/usr/bin/pkg-config', '--modversion', 'SDL2_mixer')
  188. DXX-Archive.3: SDL2_mixer version: b'2.6.2'
  189. DXX-Archive.3: reading SDL2_mixer settings from ('/usr/bin/pkg-config', '--cflags', '--libs', 'SDL2_mixer')
  190. DXX-Archive.3: SDL2_mixer settings: {'CCFLAGS': ['-pthread'], 'CPPDEFINES': ['_REENTRANT', '_DEFAULT_SOURCE', ['_XOPEN_SOURCE', '600']], 'CPPPATH': ['/usr/include/SDL2', '/usr/include/glib-2.0', '/usr/lib/arm-linux-gnueabihf/glib-2.0/include', '/usr/include/opus', '/usr/include/arm-linux-gnueabihf', '/usr/include/dbus-1.0', '/usr/lib/arm-linux-gnueabihf/dbus-1.0/include', '/usr/include/libinstpatch-2'], 'LIBS': ['SDL2_mixer', 'SDL2'], 'LINKFLAGS': ['-pthread']}
  191. DXX-Archive.3: checking for usable library SDL2_mixer...yes
  192. DXX-Archive.3: checking whether C++ compiler accepts {} initialization...yes
  193. DXX-Archive.3: checking whether compiler optimizes function __attribute__((__error__))...yes
  194. DXX-Archive.3: checking whether compiler implements __builtin_bswap{16,32,64} functions...yes
  195. DXX-Archive.3: checking whether compiler optimizes __builtin_constant_p...yes
  196. DXX-Archive.3: checking whether compiler accepts __builtin_expect...yes
  197. DXX-Archive.3: checking whether compiler accepts __builtin_FILE, __builtin_LINE...yes
  198. DXX-Archive.3: checking whether compiler optimizes __builtin_object_size...yes
  199. DXX-Archive.3: checking whether compiler understands embedded compound statements...yes
  200. DXX-Archive.3: checking whether compiler allows dead calls to undefined functions in the anonymous namespace...no
  201. DXX-Archive.3: checking for function __attribute__((always_inline))...yes
  202. DXX-Archive.3: checking for function __attribute__((alloc_size))...yes
  203. DXX-Archive.3: checking for function __attribute__((cold))...yes
  204. DXX-Archive.3: checking for function __attribute__((format_arg))...yes
  205. DXX-Archive.3: checking for function __attribute__((format(printf)))...yes
  206. DXX-Archive.3: checking for function __attribute__((malloc))...yes
  207. DXX-Archive.3: checking for function __attribute__((nonnull))...yes
  208. DXX-Archive.3: checking for function __attribute__((noreturn))...yes
  209. DXX-Archive.3: checking for function __attribute__((used))...yes
  210. DXX-Archive.3: checking for function __attribute__((unused))...yes
  211. DXX-Archive.3: checking for function __attribute__((warn_unused_result))...yes
  212. DXX-Archive.3: checking whether compiler optimizes function __attribute__((__warning__))...yes
  213. DXX-Archive.3: checking for C++11 intrinsic static_assert when true...yes
  214. DXX-Archive.3: checking for C++11 intrinsic static_assert when false...yes
  215. DXX-Archive.3: checking whether compiler handles classes from "using namespace"...yes
  216. DXX-Archive.3: checking for required C++11, C++14, C++17 standard features...yes
  217. DXX-Archive.3: checking when to pre-compile own headers...never
  218. DXX-Archive.3: checking when to pre-compile system headers...never
  219. DXX-Archive.3: checking for explicitly deleted functions with named parameters...yes
  220. DXX-Archive.3: checking for C++11 inherited constructors with good unique_ptr<T[]> support...yes
  221. DXX-Archive.3: checking whether compiler handles 20-element tuples...yes
  222. DXX-Archive.3: checking whether to use overwrite poisoning...(cached) no
  223. DXX-Archive.3: checking whether to use Valgrind poisoning...(cached) no
  224. DXX-Archive.3: checking whether to format std::size_t with "%zu"...yes
  225. DXX-Archive.3: checking whether compiler argument -Wuseless-cast works with SDL and with constructor inheritance...yes
  226. DXX-Archive.3: checking whether to cast operator-(T*,T*) to int...no
  227. DXX-Archive.3: checking for strcasecmp...yes
  228. DXX-Archive.3: checking for getaddrinfo...yes
  229. DXX-Archive.3: checking for struct timespec...yes
  230. DXX-Archive.3: checking for Boost.Config...yes
  231. DXX-Archive.3: checking for -Wimplicit-fallthrough=5...yes
  232. DXX-Archive.3: checking whether compiler allows lambda capture of local references...yes
  233. DXX-Archive.3: checking whether compiler accepts string literal operator templates...yes
  234. DXX-Archive.3: checking whether compiler accepts preferred options...yes
  235. DXX-Archive.3: checking whether to build runtime tests...no
  236. DXX-Archive.3: CHOST: None
  237. DXX-Archive.3: CXX: 'g++'
  238. DXX-Archive.3: CPPDEFINES: [('PHYSFS_DEPRECATED', ''), ('NDEBUG',), ('RELEASE',), '_REENTRANT']
  239. DXX-Archive.3: CPPPATH: ['common/include', 'common/main', '.', '/usr/include/libpng16', '/usr/include/SDL2', '/usr/include/arm-linux-gnueabihf', '/usr/include/glib-2.0', '/usr/lib/arm-linux-gnueabihf/glib-2.0/include', '/usr/include/opus', '/usr/include/dbus-1.0', '/usr/lib/arm-linux-gnueabihf/dbus-1.0/include', '/usr/include/libinstpatch-2']
  240. DXX-Archive.3: CPPFLAGS: ['-Wno-sign-compare']
  241. DXX-Archive.3: CXXFLAGS: ['-g', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=vla', '-pthread', '-funsigned-char', '-mcpu=cortex-a72', '-mfpu=neon-fp-armv8', '-O2', ('-fvisibility=hidden', '-Wduplicated-branches', '-Wduplicated-cond', '-Wsuggest-attribute=noreturn', '-Wlogical-op', '-Wold-style-cast', '-Wredundant-decls'), '-std=gnu++17', '-Werror=unused', '-Werror=useless-cast', '-Wimplicit-fallthrough=5', '-fvisibility=hidden', '-Wduplicated-branches', '-Wduplicated-cond', '-Wsuggest-attribute=noreturn', '-Wlogical-op', '-Wold-style-cast', '-Wredundant-decls']
  242. DXX-Archive.3: LIBS: ['png16', 'physfs', 'SDL2_image', 'SDL2_mixer', 'SDL2']
  243. DXX-Archive.3: LINKFLAGS: ['-pthread']
  244. DXX-Archive.3: $CCACHE_PREFIX: None
  245. DXX-Archive.3: $DISTCC_HOSTS: None
  246. D1X-Rebirth.1: compiling on 'linux'/'aarch64' for 'linux' into . with prefix list ('d1x', '')
  247. D1X-Rebirth.1: default sharepath is '/usr/local/share/games/d1x-rebirth/'
  248. D1X-Rebirth.1: CHOST: None
  249. D1X-Rebirth.1: CXX: 'g++'
  250. D1X-Rebirth.1: CPPDEFINES: [('PHYSFS_DEPRECATED', ''), ('NDEBUG',), ('RELEASE',), '_REENTRANT', ('DXX_BUILD_DESCENT_I',), ('__STDC_FORMAT_MACROS',), ('DXX_USE_SHAREPATH', 1)]
  251. D1X-Rebirth.1: CPPPATH: ['common/include', 'common/main', '.', '/usr/include/libpng16', '/usr/include/SDL2', '/usr/include/arm-linux-gnueabihf', '/usr/include/glib-2.0', '/usr/lib/arm-linux-gnueabihf/glib-2.0/include', '/usr/include/opus', '/usr/include/dbus-1.0', '/usr/lib/arm-linux-gnueabihf/dbus-1.0/include', '/usr/include/libinstpatch-2', 'd1x-rebirth/main']
  252. D1X-Rebirth.1: CPPFLAGS: ['-Wno-sign-compare']
  253. D1X-Rebirth.1: CXXFLAGS: ['-g', '-O2', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=vla', '-pthread', '-funsigned-char', '-mcpu=cortex-a72', '-mfpu=neon-fp-armv8', '-O2', '-std=gnu++17', '-Werror=unused', '-Werror=useless-cast', '-Wimplicit-fallthrough=5', '-fvisibility=hidden', '-Wduplicated-branches', '-Wduplicated-cond', '-Wsuggest-attribute=noreturn', '-Wlogical-op', '-Wold-style-cast', '-Wredundant-decls']
  254. D1X-Rebirth.1: LIBS: ['png16', 'physfs', 'SDL2_image', 'SDL2_mixer', 'SDL2', 'm', 'GL', 'GLU']
  255. D1X-Rebirth.1: LINKFLAGS: ['-pthread']
  256. D1X-Rebirth.1: $CCACHE_PREFIX: None
  257. D1X-Rebirth.1: $DISTCC_HOSTS: None
  258. D2X-Rebirth.2: compiling on 'linux'/'aarch64' for 'linux' into . with prefix list ('d2x', '')
  259. D2X-Rebirth.2: default sharepath is '/usr/local/share/games/d2x-rebirth/'
  260. D2X-Rebirth.2: CHOST: None
  261. D2X-Rebirth.2: CXX: 'g++'
  262. D2X-Rebirth.2: CPPDEFINES: [('PHYSFS_DEPRECATED', ''), ('NDEBUG',), ('RELEASE',), '_REENTRANT', ('DXX_BUILD_DESCENT_II',), ('__STDC_FORMAT_MACROS',), ('DXX_USE_SHAREPATH', 1)]
  263. D2X-Rebirth.2: CPPPATH: ['common/include', 'common/main', '.', '/usr/include/libpng16', '/usr/include/SDL2', '/usr/include/arm-linux-gnueabihf', '/usr/include/glib-2.0', '/usr/lib/arm-linux-gnueabihf/glib-2.0/include', '/usr/include/opus', '/usr/include/dbus-1.0', '/usr/lib/arm-linux-gnueabihf/dbus-1.0/include', '/usr/include/libinstpatch-2', 'd2x-rebirth/main']
  264. D2X-Rebirth.2: CPPFLAGS: ['-Wno-sign-compare']
  265. D2X-Rebirth.2: CXXFLAGS: ['-g', '-O2', '-ftabstop=4', '-Wall', '-Werror=extra', '-Werror=format=2', '-Werror=missing-braces', '-Werror=missing-include-dirs', '-Werror=uninitialized', '-Werror=undef', '-Werror=pointer-arith', '-Werror=cast-qual', '-Werror=missing-declarations', '-Werror=vla', '-pthread', '-funsigned-char', '-mcpu=cortex-a72', '-mfpu=neon-fp-armv8', '-O2', '-std=gnu++17', '-Werror=unused', '-Werror=useless-cast', '-Wimplicit-fallthrough=5', '-fvisibility=hidden', '-Wduplicated-branches', '-Wduplicated-cond', '-Wsuggest-attribute=noreturn', '-Wlogical-op', '-Wold-style-cast', '-Wredundant-decls']
  266. D2X-Rebirth.2: LIBS: ['png16', 'physfs', 'SDL2_image', 'SDL2_mixer', 'SDL2', 'm', 'GL', 'GLU']
  267. D2X-Rebirth.2: LINKFLAGS: ['-pthread']
  268. D2X-Rebirth.2: $CCACHE_PREFIX: None
  269. D2X-Rebirth.2: $DISTCC_HOSTS: None
  270. scons: done reading SConscript files.
  271. scons: Building targets ...
  272. scons: Configure: creating dxxsconf.h
  273. g++ -c -g -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -std=gnu++17 -Werror=unused -Werror=useless-cast -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -Icommon/include -Icommon/main -I. -I/usr/include/libpng16 -I/usr/include/SDL2 -I/usr/include/arm-linux-gnueabihf -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/opus -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/libinstpatch-2 common/misc/hash.cpp -o common/misc/hash.o
  274. g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -std=gnu++17 -Werror=unused -Werror=useless-cast -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_II -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -I/usr/include/libpng16 -I/usr/include/SDL2 -I/usr/include/arm-linux-gnueabihf -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/opus -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/libinstpatch-2 -Id2x-rebirth/main similar/main/gauges.cpp -o similar/main/.d2x-rebirth.gauges.o
  275. g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -std=gnu++17 -Werror=unused -Werror=useless-cast -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_II -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -I/usr/include/libpng16 -I/usr/include/SDL2 -I/usr/include/arm-linux-gnueabihf -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/opus -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/libinstpatch-2 -Id2x-rebirth/main similar/main/polyobj.cpp -o similar/main/.d2x-rebirth.polyobj.o
  276. g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -std=gnu++17 -Werror=unused -Werror=useless-cast -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_I -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -I/usr/include/libpng16 -I/usr/include/SDL2 -I/usr/include/arm-linux-gnueabihf -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/opus -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/libinstpatch-2 -Id1x-rebirth/main similar/main/object.cpp -o similar/main/.d1x-rebirth.object.o
  277. g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -std=gnu++17 -Werror=unused -Werror=useless-cast -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_I -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -I/usr/include/libpng16 -I/usr/include/SDL2 -I/usr/include/arm-linux-gnueabihf -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/opus -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/libinstpatch-2 -Id1x-rebirth/main similar/main/ai.cpp -o similar/main/.d1x-rebirth.ai.o
  278. In file included from common/main/inferno.h:28,
  279. from similar/main/polyobj.cpp:31:
  280. ./dxxsconf.h:28: warning: "_DEFAULT_SOURCE" redefined
  281. 28 | #define _DEFAULT_SOURCE
  282. |
  283. In file included from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
  284. from /usr/include/stdio.h:27,
  285. from similar/main/polyobj.cpp:27:
  286. /usr/include/features.h:236: note: this is the location of the previous definition
  287. 236 | # define _DEFAULT_SOURCE 1
  288. |
  289. ./dxxsconf.h:29: warning: "_XOPEN_SOURCE" redefined
  290. 29 | #define _XOPEN_SOURCE 600
  291. |
  292. /usr/include/features.h:214: note: this is the location of the previous definition
  293. 214 | # define _XOPEN_SOURCE 700
  294. |
  295. In file included from common/main/inferno.h:28,
  296. from similar/main/object.cpp:30:
  297. ./dxxsconf.h:28: warning: "_DEFAULT_SOURCE" redefined
  298. 28 | #define _DEFAULT_SOURCE
  299. |
  300. In file included from /usr/include/arm-linux-gnueabihf/c++/12/bits/os_defines.h:39,
  301. from /usr/include/arm-linux-gnueabihf/c++/12/bits/c++config.h:655,
  302. from /usr/include/c++/12/bits/stl_algobase.h:59,
  303. from /usr/include/c++/12/algorithm:60,
  304. from similar/main/object.cpp:26:
  305. /usr/include/features.h:236: note: this is the location of the previous definition
  306. 236 | # define _DEFAULT_SOURCE 1
  307. |
  308. ./dxxsconf.h:29: warning: "_XOPEN_SOURCE" redefined
  309. 29 | #define _XOPEN_SOURCE 600
  310. |
  311. /usr/include/features.h:214: note: this is the location of the previous definition
  312. 214 | # define _XOPEN_SOURCE 700
  313. |
  314. In file included from common/main/inferno.h:28,
  315. from similar/main/ai.cpp:31:
  316. ./dxxsconf.h:28: warning: "_DEFAULT_SOURCE" redefined
  317. 28 | #define _DEFAULT_SOURCE
  318. |
  319. In file included from /usr/include/arm-linux-gnueabihf/c++/12/bits/os_defines.h:39,
  320. from /usr/include/arm-linux-gnueabihf/c++/12/bits/c++config.h:655,
  321. from /usr/include/c++/12/bits/stl_algobase.h:59,
  322. from /usr/include/c++/12/algorithm:60,
  323. from similar/main/ai.cpp:26:
  324. /usr/include/features.h:236: note: this is the location of the previous definition
  325. 236 | # define _DEFAULT_SOURCE 1
  326. |
  327. ./dxxsconf.h:29: warning: "_XOPEN_SOURCE" redefined
  328. 29 | #define _XOPEN_SOURCE 600
  329. |
  330. /usr/include/features.h:214: note: this is the location of the previous definition
  331. 214 | # define _XOPEN_SOURCE 700
  332. |
  333. In file included from common/main/hudmsg.h:11,
  334. from similar/main/gauges.cpp:33:
  335. ./dxxsconf.h:28: warning: "_DEFAULT_SOURCE" redefined
  336. 28 | #define _DEFAULT_SOURCE
  337. |
  338. In file included from /usr/include/arm-linux-gnueabihf/c++/12/bits/os_defines.h:39,
  339. from /usr/include/arm-linux-gnueabihf/c++/12/bits/c++config.h:655,
  340. from /usr/include/c++/12/bits/stl_algobase.h:59,
  341. from /usr/include/c++/12/algorithm:60,
  342. from similar/main/gauges.cpp:26:
  343. /usr/include/features.h:236: note: this is the location of the previous definition
  344. 236 | # define _DEFAULT_SOURCE 1
  345. |
  346. ./dxxsconf.h:29: warning: "_XOPEN_SOURCE" redefined
  347. 29 | #define _XOPEN_SOURCE 600
  348. |
  349. /usr/include/features.h:214: note: this is the location of the previous definition
  350. 214 | # define _XOPEN_SOURCE 700
  351. |
  352. common/include/physfsx.h: In function ‘PHYSFS_sint64 dcx::PHYSFSX_check_read(PHYSFS_File*, std::array<_Tp, _Nm>&, PHYSFS_uint32, PHYSFS_uint32)’:
  353. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  354. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  355. | ^~~~~~~~~~~~~~~~~~~~~~
  356. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  357. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  358. | ^
  359. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  360. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  361. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  362. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  363. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  364. | ^~~~~~~~~~~~~~~~~~~~~~
  365. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  366. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  367. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  368. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  369. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  370. | ^~~~~~~~~~~~~~~~~~~~~~
  371. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  372. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  373. | ^
  374. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  375. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  376. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  377. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  378. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  379. | ^~~~~~~~~~~~~~~~~~~~~~
  380. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  381. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  382. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  383. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  384. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  385. | ^~~~~~~~~~~~~~~~~~~~~~
  386. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  387. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  388. | ^
  389. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  390. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  391. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  392. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  393. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  394. | ^~~~~~~~~~~~~~~~~~~~~~
  395. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  396. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  397. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  398. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  399. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  400. | ^~~~~~~~~~~~~~~~~~~~~~
  401. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  402. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  403. | ^
  404. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  405. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  406. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  407. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  408. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  409. | ^~~~~~~~~~~~~~~~~~~~~~
  410. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  411. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  412. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  413. common/include/physfsx.h: In function ‘PHYSFS_sint64 dcx::PHYSFSX_check_write(PHYSFS_File*, const std::array<_Tp, _Nm>&, PHYSFS_uint32, PHYSFS_uint32)’:
  414. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  415. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  416. | ^~~~~~~~~~~~~~~~~~~~~~
  417. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  418. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  419. | ^
  420. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  421. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  422. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  423. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  424. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  425. | ^~~~~~~~~~~~~~~~~~~~~~
  426. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  427. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  428. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  429. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  430. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  431. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  432. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  433. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  434. | ^~~~~~~~~~~~~~~~~~~~~~
  435. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  436. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  437. | ^
  438. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  439. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  440. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  441. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  442. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  443. | ^~~~~~~~~~~~~~~~~~~~~~
  444. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  445. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  446. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  447. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  448. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  449. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  450. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  451. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  452. | ^~~~~~~~~~~~~~~~~~~~~~
  453. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  454. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  455. | ^
  456. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  457. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  458. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  459. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  460. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  461. | ^~~~~~~~~~~~~~~~~~~~~~
  462. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  463. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  464. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  465. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  466. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  467. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  468. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  469. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  470. | ^~~~~~~~~~~~~~~~~~~~~~
  471. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  472. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  473. | ^
  474. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  475. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  476. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  477. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  478. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  479. | ^~~~~~~~~~~~~~~~~~~~~~
  480. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  481. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  482. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  483. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  484. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  485. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  486. common/include/physfsx.h: In function ‘PHYSFS_sint64 dcx::PHYSFSX_check_read(PHYSFS_File*, std::array<_Tp, _Nm>&, PHYSFS_uint32, PHYSFS_uint32)’:
  487. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  488. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  489. | ^~~~~~~~~~~~~~~~~~~~~~
  490. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  491. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  492. | ^
  493. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  494. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  495. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  496. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  497. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  498. | ^~~~~~~~~~~~~~~~~~~~~~
  499. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  500. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  501. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  502. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  503. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  504. | ^~~~~~~~~~~~~~~~~~~~~~
  505. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  506. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  507. | ^
  508. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  509. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  510. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  511. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  512. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  513. | ^~~~~~~~~~~~~~~~~~~~~~
  514. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  515. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  516. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  517. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  518. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  519. | ^~~~~~~~~~~~~~~~~~~~~~
  520. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  521. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  522. | ^
  523. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  524. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  525. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  526. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  527. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  528. | ^~~~~~~~~~~~~~~~~~~~~~
  529. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  530. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  531. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  532. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  533. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  534. | ^~~~~~~~~~~~~~~~~~~~~~
  535. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  536. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  537. | ^
  538. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  539. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  540. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  541. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  542. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  543. | ^~~~~~~~~~~~~~~~~~~~~~
  544. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  545. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  546. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  547. common/include/physfsx.h: In function ‘PHYSFS_sint64 dcx::PHYSFSX_check_write(PHYSFS_File*, const std::array<_Tp, _Nm>&, PHYSFS_uint32, PHYSFS_uint32)’:
  548. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  549. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  550. | ^~~~~~~~~~~~~~~~~~~~~~
  551. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  552. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  553. | ^
  554. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  555. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  556. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  557. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  558. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  559. | ^~~~~~~~~~~~~~~~~~~~~~
  560. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  561. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  562. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  563. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  564. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  565. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  566. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  567. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  568. | ^~~~~~~~~~~~~~~~~~~~~~
  569. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  570. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  571. | ^
  572. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  573. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  574. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  575. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  576. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  577. | ^~~~~~~~~~~~~~~~~~~~~~
  578. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  579. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  580. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  581. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  582. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  583. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  584. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  585. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  586. | ^~~~~~~~~~~~~~~~~~~~~~
  587. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  588. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  589. | ^
  590. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  591. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  592. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  593. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  594. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  595. | ^~~~~~~~~~~~~~~~~~~~~~
  596. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  597. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  598. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  599. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  600. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  601. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  602. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  603. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  604. | ^~~~~~~~~~~~~~~~~~~~~~
  605. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  606. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  607. | ^
  608. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  609. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  610. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  611. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  612. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  613. | ^~~~~~~~~~~~~~~~~~~~~~
  614. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  615. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  616. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  617. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  618. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  619. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  620. common/include/physfsx.h: In function ‘PHYSFS_sint64 dcx::PHYSFSX_check_read(PHYSFS_File*, std::array<_Tp, _Nm>&, PHYSFS_uint32, PHYSFS_uint32)’:
  621. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  622. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  623. | ^~~~~~~~~~~~~~~~~~~~~~
  624. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  625. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  626. | ^
  627. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  628. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  629. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  630. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  631. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  632. | ^~~~~~~~~~~~~~~~~~~~~~
  633. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  634. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  635. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  636. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  637. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  638. | ^~~~~~~~~~~~~~~~~~~~~~
  639. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  640. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  641. | ^
  642. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  643. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  644. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  645. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  646. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  647. | ^~~~~~~~~~~~~~~~~~~~~~
  648. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  649. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  650. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  651. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  652. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  653. | ^~~~~~~~~~~~~~~~~~~~~~
  654. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  655. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  656. | ^
  657. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  658. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  659. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  660. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  661. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  662. | ^~~~~~~~~~~~~~~~~~~~~~
  663. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  664. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  665. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  666. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  667. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  668. | ^~~~~~~~~~~~~~~~~~~~~~
  669. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  670. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  671. | ^
  672. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  673. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  674. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  675. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  676. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  677. | ^~~~~~~~~~~~~~~~~~~~~~
  678. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  679. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  680. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  681. common/include/physfsx.h: In function ‘PHYSFS_sint64 dcx::PHYSFSX_check_write(PHYSFS_File*, const std::array<_Tp, _Nm>&, PHYSFS_uint32, PHYSFS_uint32)’:
  682. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  683. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  684. | ^~~~~~~~~~~~~~~~~~~~~~
  685. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  686. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  687. | ^
  688. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  689. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  690. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  691. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  692. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  693. | ^~~~~~~~~~~~~~~~~~~~~~
  694. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  695. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  696. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  697. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  698. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  699. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  700. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  701. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  702. | ^~~~~~~~~~~~~~~~~~~~~~
  703. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  704. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  705. | ^
  706. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  707. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  708. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  709. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  710. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  711. | ^~~~~~~~~~~~~~~~~~~~~~
  712. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  713. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  714. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  715. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  716. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  717. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  718. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  719. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  720. | ^~~~~~~~~~~~~~~~~~~~~~
  721. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  722. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  723. | ^
  724. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  725. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  726. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  727. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  728. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  729. | ^~~~~~~~~~~~~~~~~~~~~~
  730. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  731. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  732. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  733. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  734. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  735. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  736. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  737. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  738. | ^~~~~~~~~~~~~~~~~~~~~~
  739. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  740. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  741. | ^
  742. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  743. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  744. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  745. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  746. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  747. | ^~~~~~~~~~~~~~~~~~~~~~
  748. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  749. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  750. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  751. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  752. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  753. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  754. common/include/physfsx.h: In function ‘PHYSFS_sint64 dcx::PHYSFSX_check_read(PHYSFS_File*, std::array<_Tp, _Nm>&, PHYSFS_uint32, PHYSFS_uint32)’:
  755. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  756. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  757. | ^~~~~~~~~~~~~~~~~~~~~~
  758. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  759. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  760. | ^
  761. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  762. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  763. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  764. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  765. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  766. | ^~~~~~~~~~~~~~~~~~~~~~
  767. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  768. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  769. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  770. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  771. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  772. | ^~~~~~~~~~~~~~~~~~~~~~
  773. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  774. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  775. | ^
  776. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  777. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  778. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  779. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  780. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  781. | ^~~~~~~~~~~~~~~~~~~~~~
  782. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  783. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  784. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  785. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  786. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  787. | ^~~~~~~~~~~~~~~~~~~~~~
  788. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  789. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  790. | ^
  791. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  792. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  793. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  794. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  795. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  796. | ^~~~~~~~~~~~~~~~~~~~~~
  797. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  798. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  799. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  800. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  801. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  802. | ^~~~~~~~~~~~~~~~~~~~~~
  803. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  804. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  805. | ^
  806. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  807. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  808. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  809. common/include/physfsx.h:52:12: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  810. 52 | (void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && (DXX_ALWAYS_ERROR_FUNCTION(dxx_trap_overwrite, "read size exceeds array size"), 0))
  811. | ^~~~~~~~~~~~~~~~~~~~~~
  812. common/include/physfsx.h:92:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE’
  813. 92 | DXX_PHYSFS_CHECK_READ_SIZE_ARRAY_SIZE(S, C);
  814. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  815. common/include/physfsx.h: In function ‘PHYSFS_sint64 dcx::PHYSFSX_check_write(PHYSFS_File*, const std::array<_Tp, _Nm>&, PHYSFS_uint32, PHYSFS_uint32)’:
  816. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  817. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  818. | ^~~~~~~~~~~~~~~~~~~~~~
  819. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  820. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  821. | ^
  822. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  823. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  824. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  825. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  826. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  827. | ^~~~~~~~~~~~~~~~~~~~~~
  828. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  829. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  830. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  831. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  832. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  833. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  834. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  835. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  836. | ^~~~~~~~~~~~~~~~~~~~~~
  837. ./dxxsconf.h:35:53: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  838. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  839. | ^
  840. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  841. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  842. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  843. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  844. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  845. | ^~~~~~~~~~~~~~~~~~~~~~
  846. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  847. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  848. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  849. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  850. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  851. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  852. common/include/physfsx.h:48:73: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  853. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  854. | ^~~~~~~~~~~~~~~~~~~~~~
  855. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  856. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  857. | ^
  858. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  859. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  860. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  861. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  862. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  863. | ^~~~~~~~~~~~~~~~~~~~~~
  864. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  865. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  866. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  867. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  868. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  869. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  870. common/include/physfsx.h:48:98: error: useless cast to type ‘size_t’ {aka ‘unsigned int’} [-Werror=useless-cast]
  871. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  872. | ^~~~~~~~~~~~~~~~~~~~~~
  873. ./dxxsconf.h:35:61: note: in definition of macro ‘DXX_CONSTANT_TRUE’
  874. 35 | #define DXX_CONSTANT_TRUE(E) (__builtin_constant_p((E)) && (E))
  875. | ^
  876. common/include/physfsx.h:48:41: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE_CONSTANT’
  877. 48 | #define _DXX_PHYSFS_CHECK_SIZE(S,C,v) _DXX_PHYSFS_CHECK_SIZE_CONSTANT(static_cast<size_t>(S) * static_cast<size_t>(C), v)
  878. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  879. common/include/physfsx.h:59:13: note: in expansion of macro ‘_DXX_PHYSFS_CHECK_SIZE’
  880. 59 | ((void)(_DXX_PHYSFS_CHECK_SIZE(S,C,sizeof(v)) && \
  881. | ^~~~~~~~~~~~~~~~~~~~~~
  882. common/include/physfsx.h:71:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE’
  883. 71 | DXX_PHYSFS_CHECK_WRITE_SIZE_ARRAY_SIZE(S,C), 0)) \
  884. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  885. common/include/physfsx.h:123:5: note: in expansion of macro ‘DXX_PHYSFS_CHECK_WRITE_CONSTANTS’
  886. 123 | DXX_PHYSFS_CHECK_WRITE_CONSTANTS(S,C);
  887. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  888. cc1plus: some warnings being treated as errors
  889. scons: *** [similar/main/.d2x-rebirth.polyobj.o] Error 1
  890. cc1plus: some warnings being treated as errors
  891. scons: *** [similar/main/.d1x-rebirth.object.o] Error 1
  892. cc1plus: some warnings being treated as errors
  893. scons: *** [similar/main/.d1x-rebirth.ai.o] Error 1
  894. cc1plus: some warnings being treated as errors
  895. scons: *** [similar/main/.d2x-rebirth.gauges.o] Error 1
  896. scons: building terminated because of errors.
  897. Failed target count: total=4; targets with enable_build_failure_summary=1: 4
  898. Failed node list:
  899. similar/main/.d2x-rebirth.polyobj.o
  900. similar/main/.d1x-rebirth.object.o
  901. similar/main/.d1x-rebirth.ai.o
  902. similar/main/.d2x-rebirth.gauges.o
  903. Failed command list:
  904. g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -std=gnu++17 -Werror=unused -Werror=useless-cast -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_II -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -I/usr/include/libpng16 -I/usr/include/SDL2 -I/usr/include/arm-linux-gnueabihf -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/opus -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/libinstpatch-2 -Id2x-rebirth/main "similar/main/polyobj.cpp" -o "similar/main/.d2x-rebirth.polyobj.o"
  905. g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -std=gnu++17 -Werror=unused -Werror=useless-cast -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_I -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -I/usr/include/libpng16 -I/usr/include/SDL2 -I/usr/include/arm-linux-gnueabihf -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/opus -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/libinstpatch-2 -Id1x-rebirth/main "similar/main/object.cpp" -o "similar/main/.d1x-rebirth.object.o"
  906. g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -std=gnu++17 -Werror=unused -Werror=useless-cast -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_I -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -I/usr/include/libpng16 -I/usr/include/SDL2 -I/usr/include/arm-linux-gnueabihf -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/opus -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/libinstpatch-2 -Id1x-rebirth/main "similar/main/ai.cpp" -o "similar/main/.d1x-rebirth.ai.o"
  907. g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2 -std=gnu++17 -Werror=unused -Werror=useless-cast -Wimplicit-fallthrough=5 -fvisibility=hidden -Wduplicated-branches -Wduplicated-cond -Wsuggest-attribute=noreturn -Wlogical-op -Wold-style-cast -Wredundant-decls -Wno-sign-compare -DPHYSFS_DEPRECATED= -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_II -D__STDC_FORMAT_MACROS -DDXX_USE_SHAREPATH=1 -Icommon/include -Icommon/main -I. -I/usr/include/libpng16 -I/usr/include/SDL2 -I/usr/include/arm-linux-gnueabihf -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/opus -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/libinstpatch-2 -Id2x-rebirth/main "similar/main/gauges.cpp" -o "similar/main/.d2x-rebirth.gauges.o"
  908. Could not successfully build dxx-rebirth - DXX-Rebirth (Descent & Descent 2) source port (/home/pi/RetroPie-Setup/tmp/build/dxx-rebirth/d1x-rebirth/d1x-rebirth not found).
  909. /home/pi/RetroPie-Setup
  910.  
  911. Log ended at: Sat Oct 14 03:14:50 AM EDT 2023
  912. Total running time: 0 hours, 1 mins, 38 secs
  913.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement