Advertisement
Guest User

Pi3b+ xash3d-fgws zerojay

a guest
Mar 25th, 2021
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 423.54 KB | None | 0 0
  1. Log started at: Thu 25 Mar 20:46:44 GMT 2021
  2.  
  3. RetroPie-Setup version: 4.7.11 (88bf48ba)
  4. System: rpi3 (armv7l) - Raspbian GNU/Linux 10 (buster) - Linux retropie 5.10.11-v7+ #1399 SMP Thu Jan 28 12:06:05 GMT 2021 armv7l GNU/Linux
  5.  
  6. = = = = = = = = = = = = = = = = = = = = =
  7. Installing dependencies for 'xash3d-fwgs' : xash3d-fwgs - Half-Life Engine Port
  8. = = = = = = = = = = = = = = = = = = = = =
  9.  
  10. /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs /home/pi/RetroPie-Setup
  11.  
  12. = = = = = = = = = = = = = = = = = = = = =
  13. Getting sources for 'xash3d-fwgs' : xash3d-fwgs - Half-Life Engine Port
  14. = = = = = = = = = = = = = = = = = = = = =
  15.  
  16. git clone --recursive --depth 1 --branch master "https://github.com/FWGS/xash3d-fwgs.git" "/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs"
  17. Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs'...
  18. Submodule 'mainui' (https://github.com/FWGS/mainui_cpp) registered for path 'mainui'
  19. Submodule 'ref_gl/gl-wes-v2' (https://github.com/FWGS/gl-wes-v2) registered for path 'ref_gl/gl-wes-v2'
  20. Submodule 'ref_gl/gl4es' (https://github.com/ptitSeb/gl4es) registered for path 'ref_gl/gl4es'
  21. Submodule 'ref_gl/nanogl' (https://github.com/FWGS/nanogl) registered for path 'ref_gl/nanogl'
  22. Submodule 'vgui-dev' (https://github.com/FWGS/vgui-dev) registered for path 'vgui-dev'
  23. Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/mainui'...
  24. Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/ref_gl/nanogl'...
  25. Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/ref_gl/gl-wes-v2'...
  26. Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/ref_gl/gl4es'...
  27. Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/vgui-dev'...
  28. Submodule path 'mainui': checked out 'd9e5b5ba14b04c9f290cca970ad79f48b91ebdd4'
  29. Submodule 'miniutl' (https://github.com/FWGS/miniutl) registered for path 'mainui/miniutl'
  30. Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/mainui/miniutl'...
  31. Submodule path 'mainui/miniutl': checked out 'b2741298ceef8893ad75b8b96386075abdf5ca0c'
  32. Submodule path 'ref_gl/gl-wes-v2': checked out '11384d5cf6de22de3a9a47f97f2e1a4f069d4cd4'
  33. Submodule path 'ref_gl/gl4es': checked out '69f911dcaf7e30de89675d8d8e22fe54748b9012'
  34. Submodule path 'ref_gl/nanogl': checked out '5a22eab53433dcd0d27110166ae33b91d188e342'
  35. Submodule path 'vgui-dev': checked out '93573075afe885618ea15831e72d44bdacd65bfb'
  36. HEAD is now in branch 'master' at commit 'bfa01f5b3bd32ee05d79751e7d3bfadf7016f97d'
  37. git clone --recursive --depth 1 --branch master "https://github.com/FWGS/hlsdk-xash3d.git" "/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk"
  38. Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk'...
  39. HEAD is now in branch 'master' at commit 'a7103c1c142b5417604e1bd5383a4f40a9765e2a'
  40. /home/pi/RetroPie-Setup
  41. /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs /home/pi/RetroPie-Setup
  42.  
  43. = = = = = = = = = = = = = = = = = = = = =
  44. Building 'xash3d-fwgs' : xash3d-fwgs - Half-Life Engine Port
  45. = = = = = = = = = = = = = = = = = = = = =
  46.  
  47. Setting top to : /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs
  48. Setting out to : /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build
  49. Build type : release
  50. LTO build : no
  51. PolyOpt build : no
  52. Checking for 'gcc' (C compiler) : /usr/bin/gcc
  53. Target OS : linux
  54. Target CPU : arm
  55. Target binfmt : elf
  56. Checking for 'g++' (C++ compiler) : /usr/bin/g++
  57. Target OS : linux
  58. Target CPU : arm
  59. Target binfmt : elf
  60. Checking for program 'git' : /usr/bin/git
  61. Checking git hash : bfa01f5
  62. Checking for program 'strip' : /usr/bin/strip
  63. Checking for program 'objcopy' : /usr/bin/objcopy
  64. Checking if 'gcc' can target 32-bit : yes
  65. Checking for required C flags : yes
  66. Checking for required C++ flags : yes
  67. Checking supported flags for g++ in parallel : started
  68. ... -Winit-self : yes
  69. ... -Werror=duplicated-branches : yes
  70. ... -fdiagnostics-color=always : yes
  71. ... -Werror=implicit-fallthrough=2 : yes
  72. ... -Werror=packed : yes
  73. ... -Werror=bool-operation : yes
  74. ... -Wcast-align : yes
  75. ... -Werror=cast-align=strict : yes
  76. ... -Werror=tautological-compare : yes
  77. ... -Wstrict-aliasing : yes
  78. ... -Werror=vla : yes
  79. ... -Werror=packed-not-aligned : yes
  80. ... -Werror=duplicated-cond : yes
  81. ... -Werror=return-type : yes
  82. ... -Wuninitialized : yes
  83. ... -Werror=parentheses : yes
  84. ... -Werror=bool-compare : yes
  85. -> processing test results : all ok
  86. Checking supported flags for gcc in parallel : started
  87. ... -Werror=old-style-definition : yes
  88. ... -Winit-self : yes
  89. ... -fdiagnostics-color=always : yes
  90. ... -Werror=duplicated-branches : yes
  91. ... -Werror=bool-compare : yes
  92. ... -Werror=implicit-fallthrough=2 : yes
  93. ... -Werror=implicit-int : yes
  94. ... -Werror=tautological-compare : yes
  95. ... -fnonconst-initializers : no
  96. ... -Werror=declaration-after-statement : yes
  97. ... -Werror=bool-operation : yes
  98. ... -Wstrict-aliasing : yes
  99. ... -Werror=cast-align=strict : yes
  100. ... -Werror=old-style-declaration : yes
  101. ... -Werror=implicit-function-declaration : yes
  102. ... -Wuninitialized : yes
  103. ... -Werror=incompatible-pointer-types : yes
  104. ... -Werror=packed-not-aligned : yes
  105. ... -Werror=vla : yes
  106. ... -Werror=int-conversion : yes
  107. ... -Werror=strict-prototypes : yes
  108. ... -Wcast-align : yes
  109. ... -Werror=packed : yes
  110. ... -Werror=enum-conversion : no
  111. ... -Werror=return-type : yes
  112. ... -Werror=parentheses : yes
  113. ... -Werror=duplicated-cond : yes
  114. -> processing test results : 2 test failed
  115. Checking for header stdint.h : yes
  116. Checking for library dl : yes
  117. Checking for library m : yes
  118. Checking for header tgmath.h : yes
  119. Checking if tgmath.h is usable : yes
  120. --> public : in progress
  121. <-- public : done
  122. --> game_launch : in progress
  123. <-- game_launch : done
  124. --> ref_gl : in progress
  125. <-- ref_gl : done
  126. --> ref_soft : in progress
  127. <-- ref_soft : done
  128. --> mainui : in progress
  129. Checking if 'g++' supports C++11 : yes
  130. Checking for program 'pkg-config' : /usr/bin/pkg-config
  131. Checking for 'freetype2' : yes
  132. Checking for 'freetype2' sanity : yes
  133. Checking for 'fontconfig' : yes
  134. Checking for 'fontconfig' sanity : yes
  135. Checking for library rt : yes
  136. <-- mainui : done
  137. --> vgui_support : in progress
  138. Does this architecture support VGUI? : no
  139. vgui is not supported on this CPU: arm
  140. <-- vgui_support : done
  141. --> engine : in progress
  142. Checking for library SDL2 : yes
  143. Checking for library SDL2 sanity : yes
  144. Checking if a pthread flag is necessary for compiling : None
  145. Checking if a pthread flag is necessary for linking : no
  146. -> Trying pthread link flag -lpthreads : no
  147. -> Trying pthread link flag -Kthread : no
  148. -> Trying pthread link flag -kthread : no
  149. -> Trying pthread link flag -llthread : no
  150. -> Trying pthread link flag -pthread : needs -pthread
  151. <-- engine : done
  152. 'configure' finished successfully (25.588s)
  153. Build commands will be stored in build/compile_commands.json
  154. Waf: Entering directory `/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build'
  155. [ 1/258] Compiling public/matrixlib.c
  156. [ 2/258] Compiling public/crclib.c
  157. [ 3/258] Compiling public/xash3d_mathlib.c
  158. [ 4/258] Compiling public/crtlib.c
  159. [ 5/258] Compiling game_launch/game.cpp
  160. [ 6/258] Compiling ref_gl/gl_image.c
  161. ../public/xash3d_mathlib.c: In function ‘FloatToHalf’:
  162. ../public/xash3d_mathlib.c:76:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  163. unsigned int i = *((unsigned int *)&v);
  164. ~^~~~~~~~~~~~~~~~~~~
  165. ../public/xash3d_mathlib.c: In function ‘HalfToFloat’:
  166. ../public/xash3d_mathlib.c:118:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  167. return *((float *)&f);
  168. ~^~~~~~~~~~~~
  169. ../public/xash3d_mathlib.c: In function ‘rsqrt’:
  170. ../public/xash3d_mathlib.c:299:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  171. i = *(int *)&number; // evil floating point bit level hacking
  172. ^~~~~~~~~~~~~~
  173. ../public/xash3d_mathlib.c:301:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  174. y = *(float *)&i;
  175. ^~~~~~~~~~~
  176.  
  177. [ 7/258] Linking build/game_launch/xash3d
  178. [ 8/258] Compiling ref_gl/gl_vgui.c
  179. [ 9/258] Compiling ref_gl/gl_cull.c
  180. [ 10/258] Compiling ref_gl/gl_rmisc.c
  181. [ 11/258] Compiling ref_gl/gl_triapi.c
  182. [ 12/258] Compiling ref_gl/gl_rmath.c
  183. [ 13/258] Compiling ref_gl/gl_context.c
  184. [ 14/258] Linking build/public/libpublic.a
  185. [ 15/258] Compiling ref_gl/gl_rlight.c
  186. [ 16/258] Compiling ref_gl/gl_beams.c
  187. [ 17/258] Compiling ref_gl/gl_opengl.c
  188. [ 18/258] Compiling ref_gl/gl_warp.c
  189. [ 19/258] Compiling ref_gl/gl_rpart.c
  190. [ 20/258] Compiling ref_gl/gl_alias.c
  191. [ 21/258] Compiling ref_gl/gl_rsurf.c
  192. ../ref_gl/gl_warp.c: In function ‘R_InitSkyClouds’:
  193. ../ref_gl/gl_warp.c:697:11: warning: cast increases required alignment of target type [-Wcast-align]
  194. rgba = (uint *)r_sky->palette + p;
  195. ^
  196. ../ref_gl/gl_warp.c:735:12: warning: cast increases required alignment of target type [-Wcast-align]
  197. rgba = (uint *)r_sky->palette + p;
  198. ^
  199.  
  200. [ 22/258] Compiling ref_gl/gl_dbghulls.c
  201. ../ref_gl/gl_image.c: In function ‘GL_ResampleTexture’:
  202. ../ref_gl/gl_image.c:759:14: warning: cast increases required alignment of target type [-Wcast-align]
  203. uint *in = (uint *)source;
  204. ^
  205. ../ref_gl/gl_image.c:771:8: warning: cast increases required alignment of target type [-Wcast-align]
  206. out = (uint *)scaledImage;
  207. ^
  208. ../ref_gl/gl_image.c: In function ‘GL_CreateInternalTextures’:
  209. ../ref_gl/gl_image.c:1960:6: warning: cast increases required alignment of target type [-Wcast-align]
  210. ((uint *)pic->buffer)[y*16+x] = 0xFFFF00FF;
  211. ^
  212. ../ref_gl/gl_image.c:1961:10: warning: cast increases required alignment of target type [-Wcast-align]
  213. else ((uint *)pic->buffer)[y*16+x] = 0xFF000000;
  214. ^
  215. ../ref_gl/gl_image.c:1988:4: warning: cast increases required alignment of target type [-Wcast-align]
  216. ((uint *)pic->buffer)[x] = 0xFFFFFFFF;
  217. ^
  218. ../ref_gl/gl_image.c:1994:4: warning: cast increases required alignment of target type [-Wcast-align]
  219. ((uint *)pic->buffer)[x] = 0xFF7F7F7F;
  220. ^
  221. ../ref_gl/gl_image.c:2000:4: warning: cast increases required alignment of target type [-Wcast-align]
  222. ((uint *)pic->buffer)[x] = 0xFF000000;
  223. ^
  224.  
  225. [ 23/258] Compiling ref_gl/gl_rmain.c
  226. ../ref_gl/gl_dbghulls.c: In function ‘R_DrawWorldHull’:
  227. ../ref_gl/gl_dbghulls.c:20:3: warning: cast increases required alignment of target type [-Wcast-align]
  228. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  229. ^
  230. ../ref_gl/gl_dbghulls.c:24:13: note: in expansion of macro ‘list_entry’
  231. for( pos = list_entry( (head)->next, winding_t, member ); \
  232. ^~~~~~~~~~
  233. ../ref_gl/gl_dbghulls.c:46:2: note: in expansion of macro ‘list_for_each_entry’
  234. list_for_each_entry( poly, &hull->polys, chain )
  235. ^~~~~~~~~~~~~~~~~~~
  236. ../ref_gl/gl_dbghulls.c:20:3: warning: cast increases required alignment of target type [-Wcast-align]
  237. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  238. ^
  239. ../ref_gl/gl_dbghulls.c:26:13: note: in expansion of macro ‘list_entry’
  240. pos = list_entry( pos->member.next, winding_t, member ))
  241. ^~~~~~~~~~
  242. ../ref_gl/gl_dbghulls.c:46:2: note: in expansion of macro ‘list_for_each_entry’
  243. list_for_each_entry( poly, &hull->polys, chain )
  244. ^~~~~~~~~~~~~~~~~~~
  245. ../ref_gl/gl_dbghulls.c: In function ‘R_DrawModelHull’:
  246. ../ref_gl/gl_dbghulls.c:20:3: warning: cast increases required alignment of target type [-Wcast-align]
  247. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  248. ^
  249. ../ref_gl/gl_dbghulls.c:24:13: note: in expansion of macro ‘list_entry’
  250. for( pos = list_entry( (head)->next, winding_t, member ); \
  251. ^~~~~~~~~~
  252. ../ref_gl/gl_dbghulls.c:79:2: note: in expansion of macro ‘list_for_each_entry’
  253. list_for_each_entry( poly, &hull->polys, chain )
  254. ^~~~~~~~~~~~~~~~~~~
  255. ../ref_gl/gl_dbghulls.c:20:3: warning: cast increases required alignment of target type [-Wcast-align]
  256. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  257. ^
  258. ../ref_gl/gl_dbghulls.c:26:13: note: in expansion of macro ‘list_entry’
  259. pos = list_entry( pos->member.next, winding_t, member ))
  260. ^~~~~~~~~~
  261. ../ref_gl/gl_dbghulls.c:79:2: note: in expansion of macro ‘list_for_each_entry’
  262. list_for_each_entry( poly, &hull->polys, chain )
  263. ^~~~~~~~~~~~~~~~~~~
  264.  
  265. [ 24/258] Compiling ref_gl/gl_draw.c
  266. [ 25/258] Compiling ref_gl/gl_sprite.c
  267. [ 26/258] Compiling ref_gl/gl_studio.c
  268. ../ref_gl/gl_alias.c: In function ‘BuildTris’:
  269. ../ref_gl/gl_alias.c:295:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  270. *(float *)&g_commands[g_numcommands++] = s;
  271. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  272. ../ref_gl/gl_alias.c:296:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  273. *(float *)&g_commands[g_numcommands++] = t;
  274. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  275. ../ref_gl/gl_alias.c: In function ‘Mod_LoadGroupSkin’:
  276. ../ref_gl/gl_alias.c:541:15: warning: cast increases required alignment of target type [-Wcast-align]
  277. pskintype = (daliasskintype_t *)((byte *)(pskintype) + size);
  278. ^
  279.  
  280. [ 27/258] Compiling ref_gl/gl_frustum.c
  281. ../ref_gl/gl_sprite.c: In function ‘R_SpriteLoadFrame’:
  282. ../ref_gl/gl_sprite.c:90:9: warning: cast increases required alignment of target type [-Wcast-align]
  283. return ( const dframetype_t* )(( const byte* )pin + sizeof( dspriteframe_t ) + pinframe.width * pinframe.height * bytes );
  284. ^
  285.  
  286. [ 28/258] Compiling ref_gl/gl_decals.c
  287. [ 29/258] Compiling ref_gl/gl_backend.c
  288. [ 30/258] Compiling ref_soft/r_context.c
  289. [ 31/258] Compiling ref_soft/r_beams.c
  290. [ 32/258] Compiling ref_soft/r_sprite.c
  291. ../ref_soft/r_sprite.c: In function ‘R_SpriteLoadFrame’:
  292. ../ref_soft/r_sprite.c:90:9: warning: cast increases required alignment of target type [-Wcast-align]
  293. return ( const dframetype_t* )(( const byte* )pin + sizeof( dspriteframe_t ) + pinframe.width * pinframe.height * bytes );
  294. ^
  295. ../ref_soft/r_sprite.c: In function ‘Mod_LoadSpriteModel’:
  296. ../ref_soft/r_sprite.c:160:10: warning: cast increases required alignment of target type [-Wcast-align]
  297. numi = (const short *)((const byte*)buffer + sizeof( dsprite_hl_t ));
  298. ^
  299. ../ref_soft/r_sprite.c:172:16: warning: cast increases required alignment of target type [-Wcast-align]
  300. pframetype = (const dframetype_t *)((const byte*)buffer + sizeof( dsprite_q1_t )); // pinq1 + 1
  301. ^
  302. ../ref_soft/r_sprite.c:194:16: warning: cast increases required alignment of target type [-Wcast-align]
  303. pframetype = (const dframetype_t *)(src + 768);
  304. ^
  305.  
  306. [ 33/258] Compiling ref_soft/r_misc.c
  307. [ 34/258] Compiling ref_soft/r_math.c
  308. [ 35/258] Compiling ref_soft/r_main.c
  309. [ 36/258] Compiling ref_soft/r_light.c
  310. [ 37/258] Compiling ref_soft/r_glblit.c
  311. [ 38/258] Compiling ref_soft/r_image.c
  312. [ 39/258] Compiling ref_soft/r_edge.c
  313. ../ref_gl/gl_studio.c: In function ‘R_StudioComputeBBox’:
  314. ../ref_gl/gl_studio.c:248:13: warning: cast increases required alignment of target type [-Wcast-align]
  315. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
  316. ^
  317. ../ref_gl/gl_studio.c: In function ‘CL_GetSequenceDuration’:
  318. ../ref_gl/gl_studio.c:702:15: warning: cast increases required alignment of target type [-Wcast-align]
  319. pseqdesc = (mstudioseqdesc_t *)((byte *)pstudiohdr + pstudiohdr->seqindex) + sequence;
  320. ^
  321. ../ref_gl/gl_studio.c: In function ‘R_StudioCalcBoneAdj’:
  322. ../ref_gl/gl_studio.c:769:20: warning: cast increases required alignment of target type [-Wcast-align]
  323. pbonecontroller = (mstudiobonecontroller_t *)((byte *)m_pStudioHeader + m_pStudioHeader->bonecontrollerindex);
  324. ^
  325. ../ref_gl/gl_studio.c: In function ‘R_StudioCalcRotations’:
  326. ../ref_gl/gl_studio.c:854:10: warning: cast increases required alignment of target type [-Wcast-align]
  327. pbone = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
  328. ^
  329. ../ref_gl/gl_studio.c: In function ‘R_StudioMergeBones’:
  330. ../ref_gl/gl_studio.c:889:13: warning: cast increases required alignment of target type [-Wcast-align]
  331. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
  332. ^
  333. ../ref_gl/gl_studio.c:895:11: warning: cast increases required alignment of target type [-Wcast-align]
  334. pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
  335. ^
  336. ../ref_gl/gl_studio.c: In function ‘R_StudioSetupBones’:
  337. ../ref_gl/gl_studio.c:955:13: warning: cast increases required alignment of target type [-Wcast-align]
  338. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
  339. ^
  340. ../ref_gl/gl_studio.c:998:14: warning: cast increases required alignment of target type [-Wcast-align]
  341. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->latched.prevsequence;
  342. ^
  343. ../ref_gl/gl_studio.c:1037:11: warning: cast increases required alignment of target type [-Wcast-align]
  344. pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
  345. ^
  346. ../ref_gl/gl_studio.c:1047:14: warning: cast increases required alignment of target type [-Wcast-align]
  347. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + m_pPlayerInfo->gaitsequence;
  348. ^
  349. ../ref_gl/gl_studio.c: In function ‘R_StudioSaveBones’:
  350. ../ref_gl/gl_studio.c:1097:11: warning: cast increases required alignment of target type [-Wcast-align]
  351. pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
  352. ^
  353. ../ref_gl/gl_studio.c: In function ‘R_StudioBuildNormalTable’:
  354. ../ref_gl/gl_studio.c:1134:11: warning: cast increases required alignment of target type [-Wcast-align]
  355. pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + j;
  356. ^
  357. ../ref_gl/gl_studio.c:1135:14: warning: cast increases required alignment of target type [-Wcast-align]
  358. ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
  359. ^
  360. ../ref_gl/gl_studio.c: In function ‘R_StudioGenerateNormals’:
  361. ../ref_gl/gl_studio.c:1182:11: warning: cast increases required alignment of target type [-Wcast-align]
  362. pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + j;
  363. ^
  364. ../ref_gl/gl_studio.c:1183:14: warning: cast increases required alignment of target type [-Wcast-align]
  365. ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
  366. ^
  367. ../ref_gl/gl_studio.c: In function ‘R_StudioCalcAttachments’:
  368. ../ref_gl/gl_studio.c:1310:9: warning: cast increases required alignment of target type [-Wcast-align]
  369. pAtt = (mstudioattachment_t *)((byte *)m_pStudioHeader + m_pStudioHeader->attachmentindex);
  370. ^
  371. ../ref_gl/gl_studio.c: In function ‘R_StudioSetupModel’:
  372. ../ref_gl/gl_studio.c:1331:16: warning: cast increases required alignment of target type [-Wcast-align]
  373. m_pBodyPart = (mstudiobodyparts_t *)((byte *)m_pStudioHeader + m_pStudioHeader->bodypartindex) + bodypart;
  374. ^
  375. ../ref_gl/gl_studio.c:1336:16: warning: cast increases required alignment of target type [-Wcast-align]
  376. m_pSubModel = (mstudiomodel_t *)((byte *)m_pStudioHeader + m_pBodyPart->modelindex) + index;
  377. ^
  378. ../ref_gl/gl_studio.c: In function ‘R_StudioSetupSkin’:
  379. ../ref_gl/gl_studio.c:1847:29: warning: cast increases required alignment of target type [-Wcast-align]
  380. if( !ptexture ) ptexture = (mstudiotexture_t *)((byte *)ptexturehdr + ptexturehdr->textureindex); // fallback
  381. ^
  382. ../ref_gl/gl_studio.c: In function ‘R_StudioGetTexture’:
  383. ../ref_gl/gl_studio.c:1873:18: warning: cast increases required alignment of target type [-Wcast-align]
  384. else ptexture = (mstudiotexture_t *)((byte *)thdr + thdr->textureindex);
  385. ^
  386. ../ref_gl/gl_studio.c: In function ‘R_StudioDrawPoints’:
  387. ../ref_gl/gl_studio.c:2305:13: warning: cast increases required alignment of target type [-Wcast-align]
  388. ptexture = (mstudiotexture_t *)((byte *)m_pStudioHeader + m_pStudioHeader->textureindex);
  389. ^
  390. ../ref_gl/gl_studio.c:2309:10: warning: cast increases required alignment of target type [-Wcast-align]
  391. pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex);
  392. ^
  393. ../ref_gl/gl_studio.c:2310:17: warning: cast increases required alignment of target type [-Wcast-align]
  394. pstudioverts = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->vertindex);
  395. ^
  396. ../ref_gl/gl_studio.c:2311:17: warning: cast increases required alignment of target type [-Wcast-align]
  397. pstudionorms = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->normindex);
  398. ^
  399. ../ref_gl/gl_studio.c:2313:13: warning: cast increases required alignment of target type [-Wcast-align]
  400. pskinref = (short *)((byte *)m_pStudioHeader + m_pStudioHeader->skinindex);
  401. ^
  402. ../ref_gl/gl_studio.c:2395:17: warning: cast increases required alignment of target type [-Wcast-align]
  403. pstudionorms = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->normindex);
  404. ^
  405. ../ref_gl/gl_studio.c:2406:14: warning: cast increases required alignment of target type [-Wcast-align]
  406. ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
  407. ^
  408. ../ref_gl/gl_studio.c: In function ‘R_StudioDrawHulls’:
  409. ../ref_gl/gl_studio.c:2491:26: warning: cast increases required alignment of target type [-Wcast-align]
  410. mstudiobbox_t *pbbox = (mstudiobbox_t *)((byte *)m_pStudioHeader + m_pStudioHeader->hitboxindex);
  411. ^
  412. ../ref_gl/gl_studio.c: In function ‘R_StudioDrawBones’:
  413. ../ref_gl/gl_studio.c:2572:26: warning: cast increases required alignment of target type [-Wcast-align]
  414. mstudiobone_t *pbones = (mstudiobone_t *) ((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
  415. ^
  416. ../ref_gl/gl_studio.c: In function ‘R_StudioDrawAttachments’:
  417. ../ref_gl/gl_studio.c:2632:18: warning: cast increases required alignment of target type [-Wcast-align]
  418. pattachments = (mstudioattachment_t *)((byte *)m_pStudioHeader + m_pStudioHeader->attachmentindex);
  419. ^
  420. ../ref_gl/gl_studio.c: In function ‘R_GetEntityRenderMode’:
  421. ../ref_gl/gl_studio.c:2762:13: warning: cast increases required alignment of target type [-Wcast-align]
  422. ptexture = (mstudiotexture_t *)((byte *)phdr + phdr->textureindex);
  423. ^
  424. ../ref_gl/gl_studio.c: In function ‘R_StudioClientEvents’:
  425. ../ref_gl/gl_studio.c:2819:13: warning: cast increases required alignment of target type [-Wcast-align]
  426. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + sequence;
  427. ^
  428. ../ref_gl/gl_studio.c:2827:11: warning: cast increases required alignment of target type [-Wcast-align]
  429. pevent = (mstudioevent_t *)((byte *)m_pStudioHeader + pseqdesc->eventindex);
  430. ^
  431. ../ref_gl/gl_studio.c: In function ‘R_StudioSetupRenderer’:
  432. ../ref_gl/gl_studio.c:2913:33: warning: cast increases required alignment of target type [-Wcast-align]
  433. mstudioboneinfo_t *boneinfo = (mstudioboneinfo_t *)((byte *)phdr + phdr->boneindex + phdr->numbones * sizeof( mstudiobone_t ));
  434. ^
  435. ../ref_gl/gl_studio.c: In function ‘R_StudioDrawPointsShadow’:
  436. ../ref_gl/gl_studio.c:2987:11: warning: cast increases required alignment of target type [-Wcast-align]
  437. pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + k;
  438. ^
  439. ../ref_gl/gl_studio.c:2988:14: warning: cast increases required alignment of target type [-Wcast-align]
  440. ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
  441. ^
  442. ../ref_gl/gl_studio.c: In function ‘R_StudioProcessGait’:
  443. ../ref_gl/gl_studio.c:3279:13: warning: cast increases required alignment of target type [-Wcast-align]
  444. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + RI.currententity->curstate.sequence;
  445. ^
  446. ../ref_gl/gl_studio.c:3325:13: warning: cast increases required alignment of target type [-Wcast-align]
  447. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + pplayer->gaitsequence;
  448. ^
  449. ../ref_gl/gl_studio.c: In function ‘Mod_StudioLoadTextures’:
  450. ../ref_gl/gl_studio.c:3856:13: warning: cast increases required alignment of target type [-Wcast-align]
  451. ptexture = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
  452. ^
  453. ../ref_gl/gl_studio.c: In function ‘Mod_StudioUnloadTextures’:
  454. ../ref_gl/gl_studio.c:3878:13: warning: cast increases required alignment of target type [-Wcast-align]
  455. ptexture = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
  456. ^
  457.  
  458. [ 40/258] Compiling ref_soft/r_bsp.c
  459. [ 41/258] Compiling ref_soft/r_draw.c
  460. [ 42/258] Linking build/ref_gl/libref_gl.so
  461. [ 43/258] Compiling ref_soft/r_aclip.c
  462. [ 44/258] Compiling ref_soft/r_triapi.c
  463. ../ref_soft/r_image.c: In function ‘GL_ResampleTexture’:
  464. ../ref_soft/r_image.c:274:14: warning: cast increases required alignment of target type [-Wcast-align]
  465. uint *in = (uint *)source;
  466. ^
  467. ../ref_soft/r_image.c:286:8: warning: cast increases required alignment of target type [-Wcast-align]
  468. out = (uint *)scaledImage;
  469. ^
  470. ../ref_soft/r_image.c: In function ‘GL_CreateInternalTextures’:
  471. ../ref_soft/r_image.c:1283:6: warning: cast increases required alignment of target type [-Wcast-align]
  472. ((uint *)pic->buffer)[y*16+x] = 0xFFFF00FF;
  473. ^
  474. ../ref_soft/r_image.c:1284:10: warning: cast increases required alignment of target type [-Wcast-align]
  475. else ((uint *)pic->buffer)[y*16+x] = 0xFF000000;
  476. ^
  477. ../ref_soft/r_image.c:1311:4: warning: cast increases required alignment of target type [-Wcast-align]
  478. ((uint *)pic->buffer)[x] = 0xFFFFFFFF;
  479. ^
  480. ../ref_soft/r_image.c:1317:4: warning: cast increases required alignment of target type [-Wcast-align]
  481. ((uint *)pic->buffer)[x] = 0xFF7F7F7F;
  482. ^
  483. ../ref_soft/r_image.c:1323:4: warning: cast increases required alignment of target type [-Wcast-align]
  484. ((uint *)pic->buffer)[x] = 0xFF000000;
  485. ^
  486.  
  487. [ 45/258] Compiling ref_soft/r_vgui.c
  488. ../ref_soft/r_edge.c: In function ‘D_AlphaSurf’:
  489. ../ref_soft/r_edge.c:1096:16: warning: cast increases required alignment of target type [-Wcast-align]
  490. cacheblock = (pixel_t *)pcurrentcache->data;
  491. ^
  492. ../ref_soft/r_edge.c: In function ‘D_SolidSurf’:
  493. ../ref_soft/r_edge.c:1205:15: warning: cast increases required alignment of target type [-Wcast-align]
  494. cacheblock = (pixel_t *)pcurrentcache->data;
  495. ^
  496.  
  497. [ 46/258] Compiling ref_soft/r_rast.c
  498. [ 47/258] Compiling ref_soft/r_decals.c
  499. [ 48/258] Compiling ref_soft/r_trialias.c
  500. [ 49/258] Compiling ref_soft/r_part.c
  501. [ 50/258] Compiling ref_soft/r_studio.c
  502. [ 51/258] Compiling ref_soft/r_surf.c
  503. [ 52/258] Compiling ref_soft/r_polyse.c
  504. [ 53/258] Compiling ref_soft/r_scan.c
  505. [ 54/258] Compiling mainui/controls/BaseItem.cpp
  506. ../ref_soft/r_surf.c: In function ‘D_SCAlloc’:
  507. ../ref_soft/r_surf.c:1080:14: warning: cast increases required alignment of target type [-Wcast-align]
  508. sc_rover = (surfcache_t *)( (byte *)new + size);
  509. ^
  510. ../ref_soft/r_surf.c: In function ‘D_CacheSurface’:
  511. ../ref_soft/r_surf.c:1403:23: warning: cast increases required alignment of target type [-Wcast-align]
  512. r_drawsurf.surfdat = (pixel_t *)cache->data;
  513. ^
  514.  
  515. [ 55/258] Compiling mainui/controls/BaseClientWindow.cpp
  516. [ 56/258] Compiling mainui/miniutl/utlbuffer.cpp
  517. [ 57/258] Compiling mainui/menus/Zoo.cpp
  518. ../ref_soft/r_scan.c: In function ‘D_DrawZSpans’:
  519. ../ref_soft/r_scan.c:1408:6: warning: cast increases required alignment of target type [-Wcast-align]
  520. *(int *)pdest = ltemp;
  521. ^
  522.  
  523. [ 58/258] Compiling mainui/Scissor.cpp
  524. [ 59/258] Compiling mainui/menus/VideoModes.cpp
  525. [ 60/258] Compiling mainui/MenuStrings.cpp
  526. ../ref_soft/r_studio.c: In function ‘R_StudioComputeBBox’:
  527. ../ref_soft/r_studio.c:245:13: warning: cast increases required alignment of target type [-Wcast-align]
  528. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
  529. ^
  530. ../ref_soft/r_studio.c: In function ‘CL_GetSequenceDuration’:
  531. ../ref_soft/r_studio.c:699:15: warning: cast increases required alignment of target type [-Wcast-align]
  532. pseqdesc = (mstudioseqdesc_t *)((byte *)pstudiohdr + pstudiohdr->seqindex) + sequence;
  533. ^
  534. ../ref_soft/r_studio.c: In function ‘R_StudioCalcBoneAdj’:
  535. ../ref_soft/r_studio.c:766:20: warning: cast increases required alignment of target type [-Wcast-align]
  536. pbonecontroller = (mstudiobonecontroller_t *)((byte *)m_pStudioHeader + m_pStudioHeader->bonecontrollerindex);
  537. ^
  538. ../ref_soft/r_studio.c: In function ‘R_StudioCalcRotations’:
  539. ../ref_soft/r_studio.c:851:10: warning: cast increases required alignment of target type [-Wcast-align]
  540. pbone = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
  541. ^
  542. ../ref_soft/r_studio.c: In function ‘R_StudioMergeBones’:
  543. ../ref_soft/r_studio.c:886:13: warning: cast increases required alignment of target type [-Wcast-align]
  544. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
  545. ^
  546. ../ref_soft/r_studio.c:892:11: warning: cast increases required alignment of target type [-Wcast-align]
  547. pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
  548. ^
  549. ../ref_soft/r_studio.c: In function ‘R_StudioSetupBones’:
  550. ../ref_soft/r_studio.c:952:13: warning: cast increases required alignment of target type [-Wcast-align]
  551. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
  552. ^
  553. ../ref_soft/r_studio.c:995:14: warning: cast increases required alignment of target type [-Wcast-align]
  554. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->latched.prevsequence;
  555. ^
  556. ../ref_soft/r_studio.c:1034:11: warning: cast increases required alignment of target type [-Wcast-align]
  557. pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
  558. ^
  559. ../ref_soft/r_studio.c:1044:14: warning: cast increases required alignment of target type [-Wcast-align]
  560. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + m_pPlayerInfo->gaitsequence;
  561. ^
  562. ../ref_soft/r_studio.c: In function ‘R_StudioSaveBones’:
  563. ../ref_soft/r_studio.c:1094:11: warning: cast increases required alignment of target type [-Wcast-align]
  564. pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
  565. ^
  566. ../ref_soft/r_studio.c: In function ‘R_StudioBuildNormalTable’:
  567. ../ref_soft/r_studio.c:1131:11: warning: cast increases required alignment of target type [-Wcast-align]
  568. pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + j;
  569. ^
  570. ../ref_soft/r_studio.c:1132:14: warning: cast increases required alignment of target type [-Wcast-align]
  571. ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
  572. ^
  573. ../ref_soft/r_studio.c: In function ‘R_StudioGenerateNormals’:
  574. ../ref_soft/r_studio.c:1179:11: warning: cast increases required alignment of target type [-Wcast-align]
  575. pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + j;
  576. ^
  577. ../ref_soft/r_studio.c:1180:14: warning: cast increases required alignment of target type [-Wcast-align]
  578. ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
  579. ^
  580. ../ref_soft/r_studio.c: In function ‘R_StudioCalcAttachments’:
  581. ../ref_soft/r_studio.c:1309:9: warning: cast increases required alignment of target type [-Wcast-align]
  582. pAtt = (mstudioattachment_t *)((byte *)m_pStudioHeader + m_pStudioHeader->attachmentindex);
  583. ^
  584. ../ref_soft/r_studio.c: In function ‘R_StudioSetupModel’:
  585. ../ref_soft/r_studio.c:1335:16: warning: cast increases required alignment of target type [-Wcast-align]
  586. m_pBodyPart = (mstudiobodyparts_t *)((byte *)m_pStudioHeader + m_pStudioHeader->bodypartindex) + bodypart;
  587. ^
  588. ../ref_soft/r_studio.c:1340:16: warning: cast increases required alignment of target type [-Wcast-align]
  589. m_pSubModel = (mstudiomodel_t *)((byte *)m_pStudioHeader + m_pBodyPart->modelindex) + index;
  590. ^
  591. ../ref_soft/r_studio.c: In function ‘R_StudioSetupSkin’:
  592. ../ref_soft/r_studio.c:1836:29: warning: cast increases required alignment of target type [-Wcast-align]
  593. if( !ptexture ) ptexture = (mstudiotexture_t *)((byte *)ptexturehdr + ptexturehdr->textureindex); // fallback
  594. ^
  595. ../ref_soft/r_studio.c: In function ‘R_StudioGetTexture’:
  596. ../ref_soft/r_studio.c:1862:18: warning: cast increases required alignment of target type [-Wcast-align]
  597. else ptexture = (mstudiotexture_t *)((byte *)thdr + thdr->textureindex);
  598. ^
  599. ../ref_soft/r_studio.c: In function ‘R_StudioDrawPoints’:
  600. ../ref_soft/r_studio.c:2078:13: warning: cast increases required alignment of target type [-Wcast-align]
  601. ptexture = (mstudiotexture_t *)((byte *)m_pStudioHeader + m_pStudioHeader->textureindex);
  602. ^
  603. ../ref_soft/r_studio.c:2082:10: warning: cast increases required alignment of target type [-Wcast-align]
  604. pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex);
  605. ^
  606. ../ref_soft/r_studio.c:2083:17: warning: cast increases required alignment of target type [-Wcast-align]
  607. pstudioverts = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->vertindex);
  608. ^
  609. ../ref_soft/r_studio.c:2084:17: warning: cast increases required alignment of target type [-Wcast-align]
  610. pstudionorms = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->normindex);
  611. ^
  612. ../ref_soft/r_studio.c:2086:13: warning: cast increases required alignment of target type [-Wcast-align]
  613. pskinref = (short *)((byte *)m_pStudioHeader + m_pStudioHeader->skinindex);
  614. ^
  615. ../ref_soft/r_studio.c:2168:17: warning: cast increases required alignment of target type [-Wcast-align]
  616. pstudionorms = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->normindex);
  617. ^
  618. ../ref_soft/r_studio.c:2177:14: warning: cast increases required alignment of target type [-Wcast-align]
  619. ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
  620. ^
  621. ../ref_soft/r_studio.c: In function ‘R_StudioDrawBones’:
  622. ../ref_soft/r_studio.c:2334:26: warning: cast increases required alignment of target type [-Wcast-align]
  623. mstudiobone_t *pbones = (mstudiobone_t *) ((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
  624. ^
  625. ../ref_soft/r_studio.c: In function ‘R_GetEntityRenderMode’:
  626. ../ref_soft/r_studio.c:2526:13: warning: cast increases required alignment of target type [-Wcast-align]
  627. ptexture = (mstudiotexture_t *)((byte *)phdr + phdr->textureindex);
  628. ^
  629. ../ref_soft/r_studio.c: In function ‘R_StudioClientEvents’:
  630. ../ref_soft/r_studio.c:2583:13: warning: cast increases required alignment of target type [-Wcast-align]
  631. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + sequence;
  632. ^
  633. ../ref_soft/r_studio.c:2591:11: warning: cast increases required alignment of target type [-Wcast-align]
  634. pevent = (mstudioevent_t *)((byte *)m_pStudioHeader + pseqdesc->eventindex);
  635. ^
  636. ../ref_soft/r_studio.c: In function ‘R_StudioSetupRenderer’:
  637. ../ref_soft/r_studio.c:2677:33: warning: cast increases required alignment of target type [-Wcast-align]
  638. mstudioboneinfo_t *boneinfo = (mstudioboneinfo_t *)((byte *)phdr + phdr->boneindex + phdr->numbones * sizeof( mstudiobone_t ));
  639. ^
  640. ../ref_soft/r_studio.c: In function ‘R_StudioDrawPointsShadow’:
  641. ../ref_soft/r_studio.c:2751:11: warning: cast increases required alignment of target type [-Wcast-align]
  642. pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + k;
  643. ^
  644. ../ref_soft/r_studio.c:2752:14: warning: cast increases required alignment of target type [-Wcast-align]
  645. ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
  646. ^
  647. ../ref_soft/r_studio.c: In function ‘R_StudioProcessGait’:
  648. ../ref_soft/r_studio.c:3049:13: warning: cast increases required alignment of target type [-Wcast-align]
  649. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + RI.currententity->curstate.sequence;
  650. ^
  651. ../ref_soft/r_studio.c:3095:13: warning: cast increases required alignment of target type [-Wcast-align]
  652. pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + pplayer->gaitsequence;
  653. ^
  654. ../ref_soft/r_studio.c: In function ‘Mod_StudioLoadTextures’:
  655. ../ref_soft/r_studio.c:3628:13: warning: cast increases required alignment of target type [-Wcast-align]
  656. ptexture = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
  657. ^
  658. ../ref_soft/r_studio.c: In function ‘Mod_StudioUnloadTextures’:
  659. ../ref_soft/r_studio.c:3650:13: warning: cast increases required alignment of target type [-Wcast-align]
  660. ptexture = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
  661. ^
  662.  
  663. [ 61/258] Compiling mainui/menus/VideoOptions.cpp
  664. [ 62/258] Compiling mainui/menus/Video.cpp
  665. [ 63/258] Linking build/ref_soft/libref_soft.so
  666. [ 64/258] Compiling mainui/controls/BackgroundBitmap.cpp
  667. [ 65/258] Compiling mainui/EventSystem.cpp
  668. [ 66/258] Compiling mainui/menus/TouchButtons.cpp
  669. [ 67/258] Compiling mainui/miniutl/bitstring.cpp
  670. [ 68/258] Compiling mainui/unicode_strtools.cpp
  671. [ 69/258] Compiling mainui/menus/ServerBrowser.cpp
  672. [ 70/258] Compiling mainui/menus/SaveLoad.cpp
  673. [ 71/258] Compiling mainui/CFGScript.cpp
  674. [ 72/258] Compiling mainui/menus/PlayerSetup.cpp
  675. [ 73/258] Compiling mainui/menus/PlayerIntroduceDialog.cpp
  676. [ 74/258] Compiling mainui/Btns.cpp
  677. [ 75/258] Compiling mainui/menus/NewGame.cpp
  678. [ 76/258] Compiling mainui/menus/TouchEdit.cpp
  679. [ 77/258] Compiling mainui/BaseMenu.cpp
  680. [ 78/258] Compiling mainui/menus/Main.cpp
  681. [ 79/258] Compiling mainui/menus/LoadGame.cpp
  682. [ 80/258] Compiling mainui/menus/InputDevices.cpp
  683. [ 81/258] Compiling mainui/menus/Multiplayer.cpp
  684. [ 82/258] Compiling mainui/menus/Gamepad.cpp
  685. [ 83/258] Compiling mainui/menus/GameOptions.cpp
  686. [ 84/258] Compiling mainui/menus/FileDialog.cpp
  687. [ 85/258] Compiling mainui/menus/CustomGame.cpp
  688. [ 86/258] Compiling mainui/menus/Touch.cpp
  689. [ 87/258] Compiling mainui/menus/Credits.cpp
  690. [ 88/258] Compiling mainui/EngineCallback.cpp
  691. [ 89/258] Compiling mainui/menus/ConnectionWarning.cpp
  692. [ 90/258] Compiling mainui/menus/Controls.cpp
  693. [ 91/258] Compiling mainui/menus/Configuration.cpp
  694. [ 92/258] Compiling mainui/menus/ConnectionProgress.cpp
  695. [ 93/258] Compiling mainui/menus/Audio.cpp
  696. [ 94/258] Compiling mainui/font/WinAPIFont.cpp
  697. [ 95/258] Compiling mainui/menus/AdvancedControls.cpp
  698. [ 96/258] Compiling mainui/font/StbFont.cpp
  699. [ 97/258] Compiling mainui/font/FreeTypeFont.cpp
  700. [ 98/258] Compiling mainui/font/FontManager.cpp
  701. [ 99/258] Compiling mainui/font/BitmapFont.cpp
  702. [100/258] Compiling mainui/font/BaseFontBackend.cpp
  703. [101/258] Compiling mainui/controls/YesNoMessageBox.cpp
  704. ../mainui/font/FreeTypeFont.cpp: In member function ‘virtual void CFreeTypeFont::GetCharRGBA(int, Point, Size, unsigned char*, Size&)’:
  705. ../mainui/font/FreeTypeFont.cpp:212:70: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Wcast-align]
  706. uint32_t *xdst = (uint32_t*)(dst + 4 * ( m_iBlur + m_iOutlineSize ));
  707. ^
  708. In file included from ../mainui/font/BaseFontBackend.h:21,
  709. from ../mainui/font/FreeTypeFont.h:21,
  710. from ../mainui/font/FreeTypeFont.cpp:20:
  711. ../mainui/miniutl/utlrbtree.h: In instantiation of ‘const CUtlRBTreeInternal::Links_t<I>& CUtlRBTreeBase<I, E>::_Links(I, size_t, void*) const [with I = int; E = CDefRBTreeBalanceListener<int>; size_t = unsigned int]’:
  712. ../mainui/miniutl/utlrbtree.h:753:42: required from ‘I CUtlRBTreeBase<I, E>::_LeftChild(I, size_t, void*) const [with I = int; E = CDefRBTreeBalanceListener<int>; size_t = unsigned int]’
  713. ../mainui/miniutl/utlrbtree.h:747:43: required from ‘I CUtlRBTree<T, I, L, E>::LeftChild(I) const [with T = abc_t; I = int; L = bool (*)(const abc_t&, const abc_t&); E = CDefRBTreeBalanceListener<int>]’
  714. ../mainui/miniutl/utlrbtree.h:1893:14: required from ‘I CUtlRBTree<T, I, L, E>::Find(const T&) const [with T = abc_t; I = int; L = bool (*)(const abc_t&, const abc_t&); E = CDefRBTreeBalanceListener<int>]’
  715. ../mainui/font/FreeTypeFont.cpp:242:43: required from here
  716. ../mainui/miniutl/utlrbtree.h:887:39: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘CUtlRBTreeInternal::Links_t<int>*’ increases required alignment of target type [-Wcast-align]
  717. return (i != INVALID_RBTREE_IDX ) ? *(CUtlRBTreeInternal::Links_t<I> *)( (byte*)pMemBase + (unNodeSize*i) ) : m_Sentinel;
  718. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  719. ../mainui/miniutl/utlrbtree.h: In instantiation of ‘CUtlRBTreeInternal::Links_t<I>& CUtlRBTreeBase<I, E>::_Links(I, size_t, void*) [with I = int; E = CDefRBTreeBalanceListener<int>; size_t = unsigned int]’:
  720. ../mainui/miniutl/utlrbtree.h:877:38: required from ‘void CUtlRBTreeBase<I, E>::_SetRightChild(I, I, size_t, void*) [with I = int; E = CDefRBTreeBalanceListener<int>; size_t = unsigned int]’
  721. ../mainui/miniutl/utlrbtree.h:509:48: required from ‘void CUtlRBTree<T, I, L, E>::SetRightChild(I, I) [with T = abc_t; I = int; L = bool (*)(const abc_t&, const abc_t&); E = CDefRBTreeBalanceListener<int>]’
  722. ../mainui/miniutl/utlrbtree.h:1398:3: required from ‘void CUtlRBTree<T, I, L, E>::RemoveAll() [with T = abc_t; I = int; L = bool (*)(const abc_t&, const abc_t&); E = CDefRBTreeBalanceListener<int>]’
  723. ../mainui/miniutl/utlrbtree.h:591:2: required from ‘CUtlRBTree<T, I, L, E>::~CUtlRBTree() [with T = abc_t; I = int; L = bool (*)(const abc_t&, const abc_t&); E = CDefRBTreeBalanceListener<int>]’
  724. ../mainui/font/FreeTypeFont.cpp:30:45: required from here
  725. ../mainui/miniutl/utlrbtree.h:894:10: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘CUtlRBTreeInternal::Links_t<int>*’ increases required alignment of target type [-Wcast-align]
  726. return *(CUtlRBTreeInternal::Links_t<I> *)( (byte*)pMemBase + (unNodeSize*i) );
  727. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  728.  
  729. [102/258] Compiling mainui/controls/Table.cpp
  730. [103/258] Compiling mainui/controls/TabView.cpp
  731. [104/258] Compiling mainui/controls/Switch.cpp
  732. [105/258] Compiling mainui/controls/SpinControl.cpp
  733. In file included from ../mainui/font/BaseFontBackend.h:21,
  734. from ../mainui/font/BaseFontBackend.cpp:15:
  735. ../mainui/miniutl/utlrbtree.h: In instantiation of ‘const CUtlRBTreeInternal::Links_t<I>& CUtlRBTreeBase<I, E>::_Links(I, size_t, void*) const [with I = int; E = CDefRBTreeBalanceListener<int>; size_t = unsigned int]’:
  736. ../mainui/miniutl/utlrbtree.h:753:42: required from ‘I CUtlRBTreeBase<I, E>::_LeftChild(I, size_t, void*) const [with I = int; E = CDefRBTreeBalanceListener<int>; size_t = unsigned int]’
  737. ../mainui/miniutl/utlrbtree.h:1434:9: required from ‘I CUtlRBTreeBase<I, E>::_FirstInorder(size_t, void*) const [with I = int; E = CDefRBTreeBalanceListener<int>; size_t = unsigned int]’
  738. ../mainui/miniutl/utlrbtree.h:1427:43: required from ‘I CUtlRBTree<T, I, L, E>::FirstInorder() const [with T = CBaseFont::glyph_t; I = int; L = bool (*)(const CBaseFont::glyph_t&, const CBaseFont::glyph_t&); E = CDefRBTreeBalanceListener<int>]’
  739. ../mainui/font/BaseFontBackend.cpp:213:37: required from here
  740. ../mainui/miniutl/utlrbtree.h:887:39: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘CUtlRBTreeInternal::Links_t<int>*’ increases required alignment of target type [-Wcast-align]
  741. return (i != INVALID_RBTREE_IDX ) ? *(CUtlRBTreeInternal::Links_t<I> *)( (byte*)pMemBase + (unNodeSize*i) ) : m_Sentinel;
  742. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  743. ../mainui/miniutl/utlrbtree.h: In instantiation of ‘CUtlRBTreeInternal::Links_t<I>& CUtlRBTreeBase<I, E>::_Links(I, size_t, void*) [with I = int; E = CDefRBTreeBalanceListener<int>; size_t = unsigned int]’:
  744. ../mainui/miniutl/utlrbtree.h:877:38: required from ‘void CUtlRBTreeBase<I, E>::_SetRightChild(I, I, size_t, void*) [with I = int; E = CDefRBTreeBalanceListener<int>; size_t = unsigned int]’
  745. ../mainui/miniutl/utlrbtree.h:509:48: required from ‘void CUtlRBTree<T, I, L, E>::SetRightChild(I, I) [with T = CBaseFont::glyph_t; I = int; L = bool (*)(const CBaseFont::glyph_t&, const CBaseFont::glyph_t&); E = CDefRBTreeBalanceListener<int>]’
  746. ../mainui/miniutl/utlrbtree.h:1398:3: required from ‘void CUtlRBTree<T, I, L, E>::RemoveAll() [with T = CBaseFont::glyph_t; I = int; L = bool (*)(const CBaseFont::glyph_t&, const CBaseFont::glyph_t&); E = CDefRBTreeBalanceListener<int>]’
  747. ../mainui/miniutl/utlrbtree.h:591:2: required from ‘CUtlRBTree<T, I, L, E>::~CUtlRBTree() [with T = CBaseFont::glyph_t; I = int; L = bool (*)(const CBaseFont::glyph_t&, const CBaseFont::glyph_t&); E = CDefRBTreeBalanceListener<int>]’
  748. ../mainui/font/BaseFontBackend.cpp:25:15: required from here
  749. ../mainui/miniutl/utlrbtree.h:894:10: warning: cast from ‘byte*’ {aka ‘unsigned char*’} to ‘CUtlRBTreeInternal::Links_t<int>*’ increases required alignment of target type [-Wcast-align]
  750. return *(CUtlRBTreeInternal::Links_t<I> *)( (byte*)pMemBase + (unNodeSize*i) );
  751. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  752.  
  753. [106/258] Compiling mainui/controls/Slider.cpp
  754. [107/258] Compiling mainui/controls/ScrollView.cpp
  755. [108/258] Compiling mainui/controls/ProgressBar.cpp
  756. [109/258] Compiling mainui/controls/PlayerModelView.cpp
  757. [110/258] Compiling mainui/controls/PicButton.cpp
  758. [111/258] Compiling mainui/controls/MessageBox.cpp
  759. [112/258] Compiling mainui/controls/ItemsHolder.cpp
  760. [113/258] Compiling mainui/controls/Framework.cpp
  761. [114/258] Compiling mainui/controls/Field.cpp
  762. [115/258] Compiling mainui/controls/Editable.cpp
  763. [116/258] Compiling mainui/controls/CheckBox.cpp
  764. [117/258] Compiling mainui/controls/Bitmap.cpp
  765. [118/258] Compiling mainui/controls/BaseWindow.cpp
  766. [119/258] Compiling mainui/menus/CreateGame.cpp
  767. [120/258] Compiling mainui/udll_int.cpp
  768. [121/258] Compiling mainui/miniutl/utlmemory.cpp
  769. [122/258] Compiling mainui/miniutl/utlstring.cpp
  770. [123/258] Compiling mainui/menus/TouchOptions.cpp
  771. [124/258] Compiling mainui/miniutl/generichash.cpp
  772. [125/258] Compiling mainui/Utils.cpp
  773. [126/258] Compiling mainui/miniutl/strtools.cpp
  774. ../mainui/miniutl/generichash.cpp: In function ‘uint32 MurmurHash3_32(const void*, size_t, uint32, bool)’:
  775. ../mainui/miniutl/generichash.cpp:56:59: warning: cast from ‘const uint8*’ {aka ‘const unsigned char*’} to ‘const uint32*’ {aka ‘const unsigned int*’} increases required alignment of target type [-Wcast-align]
  776. const uint32 * blocks = (const uint32 *)(data + nblocks*4);
  777. ^
  778. ../mainui/miniutl/generichash.cpp: In function ‘void MurmurHash3_128(const void*, int, uint32, void*)’:
  779. ../mainui/miniutl/generichash.cpp:130:51: warning: cast from ‘const uint8*’ {aka ‘const unsigned char*’} to ‘const uint64*’ {aka ‘const long long unsigned int*’} increases required alignment of target type [-Wcast-align]
  780. const uint64 * blocks = ( const uint64 * )( data );
  781. ^
  782.  
  783. [127/258] Compiling mainui/controls/Action.cpp
  784. [128/258] Compiling mainui/menus/dynamic/ScriptMenu.cpp
  785. [129/258] Compiling mainui/WindowSystem.cpp
  786. [130/258] Compiling engine/common/build.c
  787. [131/258] Compiling engine/client/s_load.c
  788. In file included from /usr/include/SDL2/SDL.h:36,
  789. from ../common/port.h:151,
  790. from ../engine/common/common.h:39,
  791. from ../engine/common/build.c:16:
  792. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  793. int needed; /**< Set to 1 if conversion possible */
  794. ^~~~~~
  795. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  796. SDL_AudioFormat src_format; /**< Source audio format */
  797. ^~~~~~~~~~
  798. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  799. SDL_AudioFormat dst_format; /**< Target audio format */
  800. ^~~~~~~~~~
  801. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  802. double rate_incr; /**< Rate conversion increment */
  803. ^~~~~~~~~
  804. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  805. Uint8 *buf; /**< Buffer to hold entire audio data */
  806. ^~~
  807. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  808. int len; /**< Length of original audio buffer */
  809. ^~~
  810. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  811. int len_cvt; /**< Length of converted audio buffer */
  812. ^~~~~~~
  813. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  814. int len_mult; /**< buffer must be len*len_mult big */
  815. ^~~~~~~~
  816. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  817. double len_ratio; /**< Given len, final size is len*len_ratio */
  818. ^~~~~~~~~
  819. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  820. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  821. ^~~~~~~
  822. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  823. int filter_index; /**< Current audio conversion function */
  824. ^~~~~~~~~~~~
  825.  
  826. [132/258] Compiling engine/client/s_dsp.c
  827. In file included from /usr/include/SDL2/SDL.h:36,
  828. from ../common/port.h:151,
  829. from ../engine/common/common.h:39,
  830. from ../engine/client/s_load.c:16:
  831. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  832. int needed; /**< Set to 1 if conversion possible */
  833. ^~~~~~
  834. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  835. SDL_AudioFormat src_format; /**< Source audio format */
  836. ^~~~~~~~~~
  837. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  838. SDL_AudioFormat dst_format; /**< Target audio format */
  839. ^~~~~~~~~~
  840. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  841. double rate_incr; /**< Rate conversion increment */
  842. ^~~~~~~~~
  843. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  844. Uint8 *buf; /**< Buffer to hold entire audio data */
  845. ^~~
  846. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  847. int len; /**< Length of original audio buffer */
  848. ^~~
  849. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  850. int len_cvt; /**< Length of converted audio buffer */
  851. ^~~~~~~
  852. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  853. int len_mult; /**< buffer must be len*len_mult big */
  854. ^~~~~~~~
  855. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  856. double len_ratio; /**< Given len, final size is len*len_ratio */
  857. ^~~~~~~~~
  858. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  859. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  860. ^~~~~~~
  861. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  862. int filter_index; /**< Current audio conversion function */
  863. ^~~~~~~~~~~~
  864.  
  865. [133/258] Compiling engine/client/cl_cmds.c
  866. [134/258] Compiling engine/common/base_cmd.c
  867. In file included from /usr/include/SDL2/SDL.h:36,
  868. from ../common/port.h:151,
  869. from ../engine/common/common.h:39,
  870. from ../engine/common/base_cmd.c:16:
  871. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  872. int needed; /**< Set to 1 if conversion possible */
  873. ^~~~~~
  874. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  875. SDL_AudioFormat src_format; /**< Source audio format */
  876. ^~~~~~~~~~
  877. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  878. SDL_AudioFormat dst_format; /**< Target audio format */
  879. ^~~~~~~~~~
  880. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  881. double rate_incr; /**< Rate conversion increment */
  882. ^~~~~~~~~
  883. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  884. Uint8 *buf; /**< Buffer to hold entire audio data */
  885. ^~~
  886. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  887. int len; /**< Length of original audio buffer */
  888. ^~~
  889. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  890. int len_cvt; /**< Length of converted audio buffer */
  891. ^~~~~~~
  892. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  893. int len_mult; /**< buffer must be len*len_mult big */
  894. ^~~~~~~~
  895. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  896. double len_ratio; /**< Given len, final size is len*len_ratio */
  897. ^~~~~~~~~
  898. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  899. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  900. ^~~~~~~
  901. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  902. int filter_index; /**< Current audio conversion function */
  903. ^~~~~~~~~~~~
  904.  
  905. [135/258] Compiling engine/server/sv_log.c
  906. In file included from /usr/include/SDL2/SDL.h:36,
  907. from ../common/port.h:151,
  908. from ../engine/common/common.h:39,
  909. from ../engine/client/cl_cmds.c:16:
  910. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  911. int needed; /**< Set to 1 if conversion possible */
  912. ^~~~~~
  913. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  914. SDL_AudioFormat src_format; /**< Source audio format */
  915. ^~~~~~~~~~
  916. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  917. SDL_AudioFormat dst_format; /**< Target audio format */
  918. ^~~~~~~~~~
  919. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  920. double rate_incr; /**< Rate conversion increment */
  921. ^~~~~~~~~
  922. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  923. Uint8 *buf; /**< Buffer to hold entire audio data */
  924. ^~~
  925. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  926. int len; /**< Length of original audio buffer */
  927. ^~~
  928. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  929. int len_cvt; /**< Length of converted audio buffer */
  930. ^~~~~~~
  931. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  932. int len_mult; /**< buffer must be len*len_mult big */
  933. ^~~~~~~~
  934. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  935. double len_ratio; /**< Given len, final size is len*len_ratio */
  936. ^~~~~~~~~
  937. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  938. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  939. ^~~~~~~
  940. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  941. int filter_index; /**< Current audio conversion function */
  942. ^~~~~~~~~~~~
  943.  
  944. [136/258] Compiling engine/server/sv_main.c
  945. In file included from /usr/include/SDL2/SDL.h:36,
  946. from ../common/port.h:151,
  947. from ../engine/common/common.h:39,
  948. from ../engine/client/s_dsp.c:16:
  949. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  950. int needed; /**< Set to 1 if conversion possible */
  951. ^~~~~~
  952. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  953. SDL_AudioFormat src_format; /**< Source audio format */
  954. ^~~~~~~~~~
  955. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  956. SDL_AudioFormat dst_format; /**< Target audio format */
  957. ^~~~~~~~~~
  958. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  959. double rate_incr; /**< Rate conversion increment */
  960. ^~~~~~~~~
  961. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  962. Uint8 *buf; /**< Buffer to hold entire audio data */
  963. ^~~
  964. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  965. int len; /**< Length of original audio buffer */
  966. ^~~
  967. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  968. int len_cvt; /**< Length of converted audio buffer */
  969. ^~~~~~~
  970. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  971. int len_mult; /**< buffer must be len*len_mult big */
  972. ^~~~~~~~
  973. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  974. double len_ratio; /**< Given len, final size is len*len_ratio */
  975. ^~~~~~~~~
  976. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  977. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  978. ^~~~~~~
  979. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  980. int filter_index; /**< Current audio conversion function */
  981. ^~~~~~~~~~~~
  982.  
  983. [137/258] Compiling engine/server/sv_client.c
  984. [138/258] Compiling engine/client/cl_efx.c
  985. In file included from /usr/include/SDL2/SDL.h:36,
  986. from ../common/port.h:151,
  987. from ../engine/common/common.h:39,
  988. from ../engine/server/sv_log.c:16:
  989. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  990. int needed; /**< Set to 1 if conversion possible */
  991. ^~~~~~
  992. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  993. SDL_AudioFormat src_format; /**< Source audio format */
  994. ^~~~~~~~~~
  995. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  996. SDL_AudioFormat dst_format; /**< Target audio format */
  997. ^~~~~~~~~~
  998. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  999. double rate_incr; /**< Rate conversion increment */
  1000. ^~~~~~~~~
  1001. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1002. Uint8 *buf; /**< Buffer to hold entire audio data */
  1003. ^~~
  1004. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1005. int len; /**< Length of original audio buffer */
  1006. ^~~
  1007. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1008. int len_cvt; /**< Length of converted audio buffer */
  1009. ^~~~~~~
  1010. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1011. int len_mult; /**< buffer must be len*len_mult big */
  1012. ^~~~~~~~
  1013. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1014. double len_ratio; /**< Given len, final size is len*len_ratio */
  1015. ^~~~~~~~~
  1016. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1017. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1018. ^~~~~~~
  1019. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1020. int filter_index; /**< Current audio conversion function */
  1021. ^~~~~~~~~~~~
  1022.  
  1023. [139/258] Compiling engine/platform/linux/sys_linux.c
  1024. In file included from /usr/include/SDL2/SDL.h:36,
  1025. from ../common/port.h:151,
  1026. from ../engine/common/common.h:39,
  1027. from ../engine/platform/platform.h:20,
  1028. from ../engine/platform/linux/sys_linux.c:19:
  1029. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1030. int needed; /**< Set to 1 if conversion possible */
  1031. ^~~~~~
  1032. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1033. SDL_AudioFormat src_format; /**< Source audio format */
  1034. ^~~~~~~~~~
  1035. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1036. SDL_AudioFormat dst_format; /**< Target audio format */
  1037. ^~~~~~~~~~
  1038. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1039. double rate_incr; /**< Rate conversion increment */
  1040. ^~~~~~~~~
  1041. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1042. Uint8 *buf; /**< Buffer to hold entire audio data */
  1043. ^~~
  1044. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1045. int len; /**< Length of original audio buffer */
  1046. ^~~
  1047. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1048. int len_cvt; /**< Length of converted audio buffer */
  1049. ^~~~~~~
  1050. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1051. int len_mult; /**< buffer must be len*len_mult big */
  1052. ^~~~~~~~
  1053. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1054. double len_ratio; /**< Given len, final size is len*len_ratio */
  1055. ^~~~~~~~~
  1056. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1057. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1058. ^~~~~~~
  1059. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1060. int filter_index; /**< Current audio conversion function */
  1061. ^~~~~~~~~~~~
  1062.  
  1063. [140/258] Linking build/mainui/libmenu.so
  1064. In file included from /usr/include/SDL2/SDL.h:36,
  1065. from ../common/port.h:151,
  1066. from ../engine/common/common.h:39,
  1067. from ../engine/server/sv_main.c:16:
  1068. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1069. int needed; /**< Set to 1 if conversion possible */
  1070. ^~~~~~
  1071. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1072. SDL_AudioFormat src_format; /**< Source audio format */
  1073. ^~~~~~~~~~
  1074. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1075. SDL_AudioFormat dst_format; /**< Target audio format */
  1076. ^~~~~~~~~~
  1077. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1078. double rate_incr; /**< Rate conversion increment */
  1079. ^~~~~~~~~
  1080. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1081. Uint8 *buf; /**< Buffer to hold entire audio data */
  1082. ^~~
  1083. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1084. int len; /**< Length of original audio buffer */
  1085. ^~~
  1086. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1087. int len_cvt; /**< Length of converted audio buffer */
  1088. ^~~~~~~
  1089. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1090. int len_mult; /**< buffer must be len*len_mult big */
  1091. ^~~~~~~~
  1092. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1093. double len_ratio; /**< Given len, final size is len*len_ratio */
  1094. ^~~~~~~~~
  1095. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1096. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1097. ^~~~~~~
  1098. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1099. int filter_index; /**< Current audio conversion function */
  1100. ^~~~~~~~~~~~
  1101. ../engine/server/sv_main.c: In function ‘SV_ReadPackets’:
  1102. ../engine/server/sv_main.c:361:48: warning: cast increases required alignment of target type [-Wcast-align]
  1103. if( MSG_GetMaxBytes( &net_message ) >= 4 && *(int *)net_message.pData == -1 )
  1104. ^
  1105.  
  1106. [141/258] Compiling engine/client/cl_demo.c
  1107. [142/258] Compiling engine/client/cl_game.c
  1108. In file included from /usr/include/SDL2/SDL.h:36,
  1109. from ../common/port.h:151,
  1110. from ../engine/common/common.h:39,
  1111. from ../engine/client/cl_efx.c:3:
  1112. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1113. int needed; /**< Set to 1 if conversion possible */
  1114. ^~~~~~
  1115. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1116. SDL_AudioFormat src_format; /**< Source audio format */
  1117. ^~~~~~~~~~
  1118. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1119. SDL_AudioFormat dst_format; /**< Target audio format */
  1120. ^~~~~~~~~~
  1121. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1122. double rate_incr; /**< Rate conversion increment */
  1123. ^~~~~~~~~
  1124. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1125. Uint8 *buf; /**< Buffer to hold entire audio data */
  1126. ^~~
  1127. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1128. int len; /**< Length of original audio buffer */
  1129. ^~~
  1130. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1131. int len_cvt; /**< Length of converted audio buffer */
  1132. ^~~~~~~
  1133. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1134. int len_mult; /**< buffer must be len*len_mult big */
  1135. ^~~~~~~~
  1136. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1137. double len_ratio; /**< Given len, final size is len*len_ratio */
  1138. ^~~~~~~~~
  1139. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1140. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1141. ^~~~~~~
  1142. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1143. int filter_index; /**< Current audio conversion function */
  1144. ^~~~~~~~~~~~
  1145.  
  1146. [143/258] Compiling engine/client/cl_events.c
  1147. In file included from /usr/include/SDL2/SDL.h:36,
  1148. from ../common/port.h:151,
  1149. from ../engine/common/common.h:39,
  1150. from ../engine/server/sv_client.c:16:
  1151. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1152. int needed; /**< Set to 1 if conversion possible */
  1153. ^~~~~~
  1154. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1155. SDL_AudioFormat src_format; /**< Source audio format */
  1156. ^~~~~~~~~~
  1157. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1158. SDL_AudioFormat dst_format; /**< Target audio format */
  1159. ^~~~~~~~~~
  1160. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1161. double rate_incr; /**< Rate conversion increment */
  1162. ^~~~~~~~~
  1163. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1164. Uint8 *buf; /**< Buffer to hold entire audio data */
  1165. ^~~
  1166. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1167. int len; /**< Length of original audio buffer */
  1168. ^~~
  1169. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1170. int len_cvt; /**< Length of converted audio buffer */
  1171. ^~~~~~~
  1172. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1173. int len_mult; /**< buffer must be len*len_mult big */
  1174. ^~~~~~~~
  1175. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1176. double len_ratio; /**< Given len, final size is len*len_ratio */
  1177. ^~~~~~~~~
  1178. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1179. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1180. ^~~~~~~
  1181. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1182. int filter_index; /**< Current audio conversion function */
  1183. ^~~~~~~~~~~~
  1184. ../engine/server/sv_client.c: In function ‘SV_TestBandWidth’:
  1185. ../engine/server/sv_client.c:773:3: warning: cast increases required alignment of target type [-Wcast-align]
  1186. *(uint *)&send.pData[crcpos] = crcValue;
  1187. ^
  1188.  
  1189. [144/258] Compiling engine/platform/linux/in_evdev.c
  1190. In file included from /usr/include/SDL2/SDL.h:36,
  1191. from ../common/port.h:151,
  1192. from ../engine/common/common.h:39,
  1193. from ../engine/client/cl_demo.c:16:
  1194. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1195. int needed; /**< Set to 1 if conversion possible */
  1196. ^~~~~~
  1197. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1198. SDL_AudioFormat src_format; /**< Source audio format */
  1199. ^~~~~~~~~~
  1200. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1201. SDL_AudioFormat dst_format; /**< Target audio format */
  1202. ^~~~~~~~~~
  1203. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1204. double rate_incr; /**< Rate conversion increment */
  1205. ^~~~~~~~~
  1206. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1207. Uint8 *buf; /**< Buffer to hold entire audio data */
  1208. ^~~
  1209. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1210. int len; /**< Length of original audio buffer */
  1211. ^~~
  1212. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1213. int len_cvt; /**< Length of converted audio buffer */
  1214. ^~~~~~~
  1215. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1216. int len_mult; /**< buffer must be len*len_mult big */
  1217. ^~~~~~~~
  1218. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1219. double len_ratio; /**< Given len, final size is len*len_ratio */
  1220. ^~~~~~~~~
  1221. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1222. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1223. ^~~~~~~
  1224. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1225. int filter_index; /**< Current audio conversion function */
  1226. ^~~~~~~~~~~~
  1227.  
  1228. [145/258] Compiling engine/common/sys_con.c
  1229. In file included from /usr/include/SDL2/SDL.h:36,
  1230. from ../common/port.h:151,
  1231. from ../engine/common/common.h:39,
  1232. from ../engine/platform/platform.h:20,
  1233. from ../engine/platform/linux/in_evdev.c:15:
  1234. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1235. int needed; /**< Set to 1 if conversion possible */
  1236. ^~~~~~
  1237. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1238. SDL_AudioFormat src_format; /**< Source audio format */
  1239. ^~~~~~~~~~
  1240. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1241. SDL_AudioFormat dst_format; /**< Target audio format */
  1242. ^~~~~~~~~~
  1243. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1244. double rate_incr; /**< Rate conversion increment */
  1245. ^~~~~~~~~
  1246. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1247. Uint8 *buf; /**< Buffer to hold entire audio data */
  1248. ^~~
  1249. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1250. int len; /**< Length of original audio buffer */
  1251. ^~~
  1252. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1253. int len_cvt; /**< Length of converted audio buffer */
  1254. ^~~~~~~
  1255. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1256. int len_mult; /**< buffer must be len*len_mult big */
  1257. ^~~~~~~~
  1258. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1259. double len_ratio; /**< Given len, final size is len*len_ratio */
  1260. ^~~~~~~~~
  1261. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1262. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1263. ^~~~~~~
  1264. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1265. int filter_index; /**< Current audio conversion function */
  1266. ^~~~~~~~~~~~
  1267.  
  1268. [146/258] Compiling engine/client/cl_pmove.c
  1269. In file included from /usr/include/SDL2/SDL.h:36,
  1270. from ../common/port.h:151,
  1271. from ../engine/common/common.h:39,
  1272. from ../engine/common/sys_con.c:16:
  1273. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1274. int needed; /**< Set to 1 if conversion possible */
  1275. ^~~~~~
  1276. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1277. SDL_AudioFormat src_format; /**< Source audio format */
  1278. ^~~~~~~~~~
  1279. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1280. SDL_AudioFormat dst_format; /**< Target audio format */
  1281. ^~~~~~~~~~
  1282. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1283. double rate_incr; /**< Rate conversion increment */
  1284. ^~~~~~~~~
  1285. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1286. Uint8 *buf; /**< Buffer to hold entire audio data */
  1287. ^~~
  1288. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1289. int len; /**< Length of original audio buffer */
  1290. ^~~
  1291. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1292. int len_cvt; /**< Length of converted audio buffer */
  1293. ^~~~~~~
  1294. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1295. int len_mult; /**< buffer must be len*len_mult big */
  1296. ^~~~~~~~
  1297. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1298. double len_ratio; /**< Given len, final size is len*len_ratio */
  1299. ^~~~~~~~~
  1300. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1301. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1302. ^~~~~~~
  1303. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1304. int filter_index; /**< Current audio conversion function */
  1305. ^~~~~~~~~~~~
  1306.  
  1307. [147/258] Compiling engine/common/soundlib/libmpg/synth.c
  1308. In file included from /usr/include/SDL2/SDL.h:36,
  1309. from ../common/port.h:151,
  1310. from ../engine/common/common.h:39,
  1311. from ../engine/client/cl_events.c:16:
  1312. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1313. int needed; /**< Set to 1 if conversion possible */
  1314. ^~~~~~
  1315. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1316. SDL_AudioFormat src_format; /**< Source audio format */
  1317. ^~~~~~~~~~
  1318. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1319. SDL_AudioFormat dst_format; /**< Target audio format */
  1320. ^~~~~~~~~~
  1321. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1322. double rate_incr; /**< Rate conversion increment */
  1323. ^~~~~~~~~
  1324. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1325. Uint8 *buf; /**< Buffer to hold entire audio data */
  1326. ^~~
  1327. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1328. int len; /**< Length of original audio buffer */
  1329. ^~~
  1330. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1331. int len_cvt; /**< Length of converted audio buffer */
  1332. ^~~~~~~
  1333. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1334. int len_mult; /**< buffer must be len*len_mult big */
  1335. ^~~~~~~~
  1336. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1337. double len_ratio; /**< Given len, final size is len*len_ratio */
  1338. ^~~~~~~~~
  1339. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1340. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1341. ^~~~~~~
  1342. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1343. int filter_index; /**< Current audio conversion function */
  1344. ^~~~~~~~~~~~
  1345.  
  1346. [148/258] Compiling engine/common/soundlib/libmpg/tabinit.c
  1347. ../engine/common/soundlib/libmpg/synth.c: In function ‘synth_1to1’:
  1348. ../engine/common/soundlib/libmpg/synth.c:31:20: warning: cast increases required alignment of target type [-Wcast-align]
  1349. short *samples = (short *) (fr->buffer.data + fr->buffer.fill);
  1350. ^
  1351. ../engine/common/soundlib/libmpg/synth.c: In function ‘synth_1to1_m2s’:
  1352. ../engine/common/soundlib/libmpg/synth.c:160:4: warning: cast increases required alignment of target type [-Wcast-align]
  1353. ((short *)samples)[1] = ((short *)samples)[0];
  1354. ^
  1355. ../engine/common/soundlib/libmpg/synth.c:160:28: warning: cast increases required alignment of target type [-Wcast-align]
  1356. ((short *)samples)[1] = ((short *)samples)[0];
  1357. ^
  1358. ../engine/common/soundlib/libmpg/synth.c: In function ‘synth_1to1_mono’:
  1359. ../engine/common/soundlib/libmpg/synth.c:188:5: warning: cast increases required alignment of target type [-Wcast-align]
  1360. *((short *)samples) = *tmp1;
  1361. ^
  1362.  
  1363. [149/258] Compiling engine/common/pm_trace.c
  1364. [150/258] Compiling engine/common/soundlib/libmpg/index.c
  1365. [151/258] Compiling engine/platform/linux/vid_fbdev.c
  1366. In file included from /usr/include/SDL2/SDL.h:36,
  1367. from ../common/port.h:151,
  1368. from ../engine/common/common.h:39,
  1369. from ../engine/platform/platform.h:20,
  1370. from ../engine/platform/linux/vid_fbdev.c:1:
  1371. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1372. int needed; /**< Set to 1 if conversion possible */
  1373. ^~~~~~
  1374. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1375. SDL_AudioFormat src_format; /**< Source audio format */
  1376. ^~~~~~~~~~
  1377. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1378. SDL_AudioFormat dst_format; /**< Target audio format */
  1379. ^~~~~~~~~~
  1380. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1381. double rate_incr; /**< Rate conversion increment */
  1382. ^~~~~~~~~
  1383. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1384. Uint8 *buf; /**< Buffer to hold entire audio data */
  1385. ^~~
  1386. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1387. int len; /**< Length of original audio buffer */
  1388. ^~~
  1389. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1390. int len_cvt; /**< Length of converted audio buffer */
  1391. ^~~~~~~
  1392. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1393. int len_mult; /**< buffer must be len*len_mult big */
  1394. ^~~~~~~~
  1395. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1396. double len_ratio; /**< Given len, final size is len*len_ratio */
  1397. ^~~~~~~~~
  1398. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1399. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1400. ^~~~~~~
  1401. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1402. int filter_index; /**< Current audio conversion function */
  1403. ^~~~~~~~~~~~
  1404.  
  1405. [152/258] Compiling engine/client/console.c
  1406. In file included from /usr/include/SDL2/SDL.h:36,
  1407. from ../common/port.h:151,
  1408. from ../engine/common/common.h:39,
  1409. from ../engine/client/cl_game.c:16:
  1410. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1411. int needed; /**< Set to 1 if conversion possible */
  1412. ^~~~~~
  1413. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1414. SDL_AudioFormat src_format; /**< Source audio format */
  1415. ^~~~~~~~~~
  1416. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1417. SDL_AudioFormat dst_format; /**< Target audio format */
  1418. ^~~~~~~~~~
  1419. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1420. double rate_incr; /**< Rate conversion increment */
  1421. ^~~~~~~~~
  1422. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1423. Uint8 *buf; /**< Buffer to hold entire audio data */
  1424. ^~~
  1425. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1426. int len; /**< Length of original audio buffer */
  1427. ^~~
  1428. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1429. int len_cvt; /**< Length of converted audio buffer */
  1430. ^~~~~~~
  1431. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1432. int len_mult; /**< buffer must be len*len_mult big */
  1433. ^~~~~~~~
  1434. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1435. double len_ratio; /**< Given len, final size is len*len_ratio */
  1436. ^~~~~~~~~
  1437. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1438. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1439. ^~~~~~~
  1440. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1441. int filter_index; /**< Current audio conversion function */
  1442. ^~~~~~~~~~~~
  1443.  
  1444. [153/258] Compiling engine/common/soundlib/libmpg/libmpg.c
  1445. [154/258] Compiling engine/client/s_mix.c
  1446. In file included from /usr/include/SDL2/SDL.h:36,
  1447. from ../common/port.h:151,
  1448. from ../engine/common/common.h:39,
  1449. from ../engine/common/pm_trace.c:16:
  1450. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1451. int needed; /**< Set to 1 if conversion possible */
  1452. ^~~~~~
  1453. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1454. SDL_AudioFormat src_format; /**< Source audio format */
  1455. ^~~~~~~~~~
  1456. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1457. SDL_AudioFormat dst_format; /**< Target audio format */
  1458. ^~~~~~~~~~
  1459. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1460. double rate_incr; /**< Rate conversion increment */
  1461. ^~~~~~~~~
  1462. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1463. Uint8 *buf; /**< Buffer to hold entire audio data */
  1464. ^~~
  1465. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1466. int len; /**< Length of original audio buffer */
  1467. ^~~
  1468. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1469. int len_cvt; /**< Length of converted audio buffer */
  1470. ^~~~~~~
  1471. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1472. int len_mult; /**< buffer must be len*len_mult big */
  1473. ^~~~~~~~
  1474. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1475. double len_ratio; /**< Given len, final size is len*len_ratio */
  1476. ^~~~~~~~~
  1477. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1478. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1479. ^~~~~~~
  1480. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1481. int filter_index; /**< Current audio conversion function */
  1482. ^~~~~~~~~~~~
  1483.  
  1484. [155/258] Compiling engine/common/soundlib/libmpg/dct36.c
  1485. [156/258] Compiling engine/server/sv_pmove.c
  1486. In file included from /usr/include/SDL2/SDL.h:36,
  1487. from ../common/port.h:151,
  1488. from ../engine/common/common.h:39,
  1489. from ../engine/client/cl_pmove.c:16:
  1490. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1491. int needed; /**< Set to 1 if conversion possible */
  1492. ^~~~~~
  1493. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1494. SDL_AudioFormat src_format; /**< Source audio format */
  1495. ^~~~~~~~~~
  1496. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1497. SDL_AudioFormat dst_format; /**< Target audio format */
  1498. ^~~~~~~~~~
  1499. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1500. double rate_incr; /**< Rate conversion increment */
  1501. ^~~~~~~~~
  1502. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1503. Uint8 *buf; /**< Buffer to hold entire audio data */
  1504. ^~~
  1505. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1506. int len; /**< Length of original audio buffer */
  1507. ^~~
  1508. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1509. int len_cvt; /**< Length of converted audio buffer */
  1510. ^~~~~~~
  1511. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1512. int len_mult; /**< buffer must be len*len_mult big */
  1513. ^~~~~~~~
  1514. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1515. double len_ratio; /**< Given len, final size is len*len_ratio */
  1516. ^~~~~~~~~
  1517. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1518. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1519. ^~~~~~~
  1520. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1521. int filter_index; /**< Current audio conversion function */
  1522. ^~~~~~~~~~~~
  1523.  
  1524. [157/258] Compiling engine/client/in_joy.c
  1525. In file included from /usr/include/SDL2/SDL.h:36,
  1526. from ../common/port.h:151,
  1527. from ../engine/common/common.h:39,
  1528. from ../engine/client/in_joy.c:17:
  1529. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1530. int needed; /**< Set to 1 if conversion possible */
  1531. ^~~~~~
  1532. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1533. SDL_AudioFormat src_format; /**< Source audio format */
  1534. ^~~~~~~~~~
  1535. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1536. SDL_AudioFormat dst_format; /**< Target audio format */
  1537. ^~~~~~~~~~
  1538. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1539. double rate_incr; /**< Rate conversion increment */
  1540. ^~~~~~~~~
  1541. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1542. Uint8 *buf; /**< Buffer to hold entire audio data */
  1543. ^~~
  1544. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1545. int len; /**< Length of original audio buffer */
  1546. ^~~
  1547. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1548. int len_cvt; /**< Length of converted audio buffer */
  1549. ^~~~~~~
  1550. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1551. int len_mult; /**< buffer must be len*len_mult big */
  1552. ^~~~~~~~
  1553. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1554. double len_ratio; /**< Given len, final size is len*len_ratio */
  1555. ^~~~~~~~~
  1556. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1557. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1558. ^~~~~~~
  1559. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1560. int filter_index; /**< Current audio conversion function */
  1561. ^~~~~~~~~~~~
  1562.  
  1563. [158/258] Compiling engine/client/cl_render.c
  1564. In file included from /usr/include/SDL2/SDL.h:36,
  1565. from ../common/port.h:151,
  1566. from ../engine/common/common.h:39,
  1567. from ../engine/client/s_mix.c:16:
  1568. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1569. int needed; /**< Set to 1 if conversion possible */
  1570. ^~~~~~
  1571. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1572. SDL_AudioFormat src_format; /**< Source audio format */
  1573. ^~~~~~~~~~
  1574. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1575. SDL_AudioFormat dst_format; /**< Target audio format */
  1576. ^~~~~~~~~~
  1577. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1578. double rate_incr; /**< Rate conversion increment */
  1579. ^~~~~~~~~
  1580. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1581. Uint8 *buf; /**< Buffer to hold entire audio data */
  1582. ^~~
  1583. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1584. int len; /**< Length of original audio buffer */
  1585. ^~~
  1586. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1587. int len_cvt; /**< Length of converted audio buffer */
  1588. ^~~~~~~
  1589. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1590. int len_mult; /**< buffer must be len*len_mult big */
  1591. ^~~~~~~~
  1592. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1593. double len_ratio; /**< Given len, final size is len*len_ratio */
  1594. ^~~~~~~~~
  1595. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1596. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1597. ^~~~~~~
  1598. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1599. int filter_index; /**< Current audio conversion function */
  1600. ^~~~~~~~~~~~
  1601. ../engine/client/s_mix.c: In function ‘S_TransferPaintBuffer’:
  1602. ../engine/client/s_mix.c:69:9: warning: cast increases required alignment of target type [-Wcast-align]
  1603. pbuf = (dword *)dma.buffer;
  1604. ^
  1605. ../engine/client/s_mix.c: In function ‘S_PaintStereoFrom8’:
  1606. ../engine/client/s_mix.c:242:9: warning: cast increases required alignment of target type [-Wcast-align]
  1607. data = (word *)pData;
  1608. ^
  1609. ../engine/client/s_mix.c: In function ‘S_PaintStereoFrom16’:
  1610. ../engine/client/s_mix.c:274:9: warning: cast increases required alignment of target type [-Wcast-align]
  1611. data = (uint *)pData;
  1612. ^
  1613.  
  1614. [159/258] Compiling engine/server/sv_filter.c
  1615. In file included from /usr/include/SDL2/SDL.h:36,
  1616. from ../common/port.h:151,
  1617. from ../engine/common/common.h:39,
  1618. from ../engine/server/sv_pmove.c:16:
  1619. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1620. int needed; /**< Set to 1 if conversion possible */
  1621. ^~~~~~
  1622. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1623. SDL_AudioFormat src_format; /**< Source audio format */
  1624. ^~~~~~~~~~
  1625. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1626. SDL_AudioFormat dst_format; /**< Target audio format */
  1627. ^~~~~~~~~~
  1628. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1629. double rate_incr; /**< Rate conversion increment */
  1630. ^~~~~~~~~
  1631. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1632. Uint8 *buf; /**< Buffer to hold entire audio data */
  1633. ^~~
  1634. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1635. int len; /**< Length of original audio buffer */
  1636. ^~~
  1637. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1638. int len_cvt; /**< Length of converted audio buffer */
  1639. ^~~~~~~
  1640. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1641. int len_mult; /**< buffer must be len*len_mult big */
  1642. ^~~~~~~~
  1643. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1644. double len_ratio; /**< Given len, final size is len*len_ratio */
  1645. ^~~~~~~~~
  1646. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1647. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1648. ^~~~~~~
  1649. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1650. int filter_index; /**< Current audio conversion function */
  1651. ^~~~~~~~~~~~
  1652. In file included from ../engine/server/server.h:22,
  1653. from ../engine/server/sv_pmove.c:17:
  1654. ../engine/server/sv_pmove.c: In function ‘SV_AddLinksToPmove’:
  1655. ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
  1656. #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
  1657. ^
  1658. ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
  1659. #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
  1660. ^~~~~~~~~~~~~~~~
  1661. ../engine/server/sv_pmove.c:224:11: note: in expansion of macro ‘EDICT_FROM_AREA’
  1662. check = EDICT_FROM_AREA( l );
  1663. ^~~~~~~~~~~~~~~
  1664. ../engine/server/sv_pmove.c: In function ‘SV_AddLaddersToPmove’:
  1665. ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
  1666. #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
  1667. ^
  1668. ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
  1669. #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
  1670. ^~~~~~~~~~~~~~~~
  1671. ../engine/server/sv_pmove.c:313:11: note: in expansion of macro ‘EDICT_FROM_AREA’
  1672. check = EDICT_FROM_AREA( l );
  1673. ^~~~~~~~~~~~~~~
  1674.  
  1675. [160/258] Compiling engine/client/input.c
  1676. In file included from /usr/include/SDL2/SDL.h:36,
  1677. from ../common/port.h:151,
  1678. from ../engine/common/common.h:39,
  1679. from ../engine/client/console.c:16:
  1680. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1681. int needed; /**< Set to 1 if conversion possible */
  1682. ^~~~~~
  1683. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1684. SDL_AudioFormat src_format; /**< Source audio format */
  1685. ^~~~~~~~~~
  1686. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1687. SDL_AudioFormat dst_format; /**< Target audio format */
  1688. ^~~~~~~~~~
  1689. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1690. double rate_incr; /**< Rate conversion increment */
  1691. ^~~~~~~~~
  1692. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1693. Uint8 *buf; /**< Buffer to hold entire audio data */
  1694. ^~~
  1695. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1696. int len; /**< Length of original audio buffer */
  1697. ^~~
  1698. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1699. int len_cvt; /**< Length of converted audio buffer */
  1700. ^~~~~~~
  1701. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1702. int len_mult; /**< buffer must be len*len_mult big */
  1703. ^~~~~~~~
  1704. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1705. double len_ratio; /**< Given len, final size is len*len_ratio */
  1706. ^~~~~~~~~
  1707. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1708. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1709. ^~~~~~~
  1710. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1711. int filter_index; /**< Current audio conversion function */
  1712. ^~~~~~~~~~~~
  1713. ../engine/client/console.c: In function ‘Con_LoadVariableWidthFont’:
  1714. ../engine/client/console.c:602:10: warning: cast increases required alignment of target type [-Wcast-align]
  1715. src = (qfont_t *)buffer;
  1716. ^
  1717. ../engine/client/console.c: In function ‘Con_DrawGenericString’:
  1718. ../engine/client/console.c:1051:3: warning: cast increases required alignment of target type [-Wcast-align]
  1719. *(uint *)color = *(uint *)setColor;
  1720. ^
  1721. ../engine/client/console.c:1051:20: warning: cast increases required alignment of target type [-Wcast-align]
  1722. *(uint *)color = *(uint *)setColor;
  1723. ^
  1724. ../engine/client/console.c: In function ‘Con_VidInit’:
  1725. ../engine/client/console.c:2427:16: warning: cast increases required alignment of target type [-Wcast-align]
  1726. lmp_t *cb = (lmp_t *)FS_LoadFile( "gfx/conback.lmp", &length, false );
  1727. ^
  1728.  
  1729. [161/258] Compiling engine/common/zone.c
  1730. In file included from /usr/include/SDL2/SDL.h:36,
  1731. from ../common/port.h:151,
  1732. from ../engine/common/common.h:39,
  1733. from ../engine/client/cl_render.c:16:
  1734. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1735. int needed; /**< Set to 1 if conversion possible */
  1736. ^~~~~~
  1737. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1738. SDL_AudioFormat src_format; /**< Source audio format */
  1739. ^~~~~~~~~~
  1740. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1741. SDL_AudioFormat dst_format; /**< Target audio format */
  1742. ^~~~~~~~~~
  1743. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1744. double rate_incr; /**< Rate conversion increment */
  1745. ^~~~~~~~~
  1746. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1747. Uint8 *buf; /**< Buffer to hold entire audio data */
  1748. ^~~
  1749. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1750. int len; /**< Length of original audio buffer */
  1751. ^~~
  1752. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1753. int len_cvt; /**< Length of converted audio buffer */
  1754. ^~~~~~~
  1755. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1756. int len_mult; /**< buffer must be len*len_mult big */
  1757. ^~~~~~~~
  1758. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1759. double len_ratio; /**< Given len, final size is len*len_ratio */
  1760. ^~~~~~~~~
  1761. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1762. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1763. ^~~~~~~
  1764. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1765. int filter_index; /**< Current audio conversion function */
  1766. ^~~~~~~~~~~~
  1767. ../engine/client/cl_render.c: In function ‘CL_RenderGetParm’:
  1768. ../engine/client/cl_render.c:164:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  1769. return *(int *)&world.deluxedata;
  1770. ^~~~~~~~~~~~~~~~~~~~~~~~
  1771. ../engine/client/cl_render.c:166:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  1772. return *(int *)&world.shadowdata;
  1773. ^~~~~~~~~~~~~~~~~~~~~~~~
  1774.  
  1775. [162/258] Compiling engine/common/mod_studio.c
  1776. In file included from /usr/include/SDL2/SDL.h:36,
  1777. from ../common/port.h:151,
  1778. from ../engine/common/common.h:39,
  1779. from ../engine/server/sv_filter.c:16:
  1780. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1781. int needed; /**< Set to 1 if conversion possible */
  1782. ^~~~~~
  1783. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1784. SDL_AudioFormat src_format; /**< Source audio format */
  1785. ^~~~~~~~~~
  1786. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1787. SDL_AudioFormat dst_format; /**< Target audio format */
  1788. ^~~~~~~~~~
  1789. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1790. double rate_incr; /**< Rate conversion increment */
  1791. ^~~~~~~~~
  1792. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1793. Uint8 *buf; /**< Buffer to hold entire audio data */
  1794. ^~~
  1795. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1796. int len; /**< Length of original audio buffer */
  1797. ^~~
  1798. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1799. int len_cvt; /**< Length of converted audio buffer */
  1800. ^~~~~~~
  1801. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1802. int len_mult; /**< buffer must be len*len_mult big */
  1803. ^~~~~~~~
  1804. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1805. double len_ratio; /**< Given len, final size is len*len_ratio */
  1806. ^~~~~~~~~
  1807. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1808. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1809. ^~~~~~~
  1810. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1811. int filter_index; /**< Current audio conversion function */
  1812. ^~~~~~~~~~~~
  1813.  
  1814. [163/258] Compiling engine/common/soundlib/snd_wav.c
  1815. In file included from /usr/include/SDL2/SDL.h:36,
  1816. from ../common/port.h:151,
  1817. from ../engine/common/common.h:39,
  1818. from ../engine/common/zone.c:16:
  1819. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1820. int needed; /**< Set to 1 if conversion possible */
  1821. ^~~~~~
  1822. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1823. SDL_AudioFormat src_format; /**< Source audio format */
  1824. ^~~~~~~~~~
  1825. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1826. SDL_AudioFormat dst_format; /**< Target audio format */
  1827. ^~~~~~~~~~
  1828. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1829. double rate_incr; /**< Rate conversion increment */
  1830. ^~~~~~~~~
  1831. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1832. Uint8 *buf; /**< Buffer to hold entire audio data */
  1833. ^~~
  1834. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1835. int len; /**< Length of original audio buffer */
  1836. ^~~
  1837. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1838. int len_cvt; /**< Length of converted audio buffer */
  1839. ^~~~~~~
  1840. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1841. int len_mult; /**< buffer must be len*len_mult big */
  1842. ^~~~~~~~
  1843. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1844. double len_ratio; /**< Given len, final size is len*len_ratio */
  1845. ^~~~~~~~~
  1846. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1847. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1848. ^~~~~~~
  1849. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1850. int filter_index; /**< Current audio conversion function */
  1851. ^~~~~~~~~~~~
  1852. ../engine/common/zone.c: In function ‘_Mem_Alloc’:
  1853. ../engine/common/zone.c:62:21: warning: cast increases required alignment of target type [-Wcast-align]
  1854. mempool_t *pool = (mempool_t *)poolptr;
  1855. ^
  1856. ../engine/common/zone.c: In function ‘_Mem_Free’:
  1857. ../engine/common/zone.c:147:16: warning: cast increases required alignment of target type [-Wcast-align]
  1858. Mem_FreeBlock((memheader_t *)((byte *)data - sizeof( memheader_t )), filename, fileline );
  1859. ^
  1860. ../engine/common/zone.c: In function ‘_Mem_Realloc’:
  1861. ../engine/common/zone.c:159:12: warning: cast increases required alignment of target type [-Wcast-align]
  1862. memhdr = (memheader_t *)((byte *)memptr - sizeof( memheader_t ));
  1863. ^
  1864. ../engine/common/zone.c: In function ‘_Mem_FreePool’:
  1865. ../engine/common/zone.c:200:20: warning: cast increases required alignment of target type [-Wcast-align]
  1866. mempool_t *pool = (mempool_t *)*poolptr;
  1867. ^
  1868. ../engine/common/zone.c: In function ‘_Mem_EmptyPool’:
  1869. ../engine/common/zone.c:223:20: warning: cast increases required alignment of target type [-Wcast-align]
  1870. mempool_t *pool = (mempool_t *)poolptr;
  1871. ^
  1872. ../engine/common/zone.c: In function ‘Mem_CheckAlloc’:
  1873. ../engine/common/zone.c:240:12: warning: cast increases required alignment of target type [-Wcast-align]
  1874. target = (memheader_t *)((byte *)data - sizeof( memheader_t ));
  1875. ^
  1876. ../engine/common/zone.c: In function ‘Mem_IsAllocatedExt’:
  1877. ../engine/common/zone.c:262:23: warning: cast increases required alignment of target type [-Wcast-align]
  1878. if( poolptr ) pool = (mempool_t *)poolptr;
  1879. ^
  1880. ../engine/common/zone.c: In function ‘Mem_CheckHeaderSentinels’:
  1881. ../engine/common/zone.c:274:8: warning: cast increases required alignment of target type [-Wcast-align]
  1882. mem = (memheader_t *)((byte *) data - sizeof(memheader_t));
  1883. ^
  1884.  
  1885. [164/258] Compiling engine/client/cl_qparse.c
  1886. In file included from /usr/include/SDL2/SDL.h:36,
  1887. from ../common/port.h:151,
  1888. from ../engine/common/common.h:39,
  1889. from ../engine/client/input.c:16:
  1890. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1891. int needed; /**< Set to 1 if conversion possible */
  1892. ^~~~~~
  1893. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1894. SDL_AudioFormat src_format; /**< Source audio format */
  1895. ^~~~~~~~~~
  1896. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1897. SDL_AudioFormat dst_format; /**< Target audio format */
  1898. ^~~~~~~~~~
  1899. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1900. double rate_incr; /**< Rate conversion increment */
  1901. ^~~~~~~~~
  1902. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1903. Uint8 *buf; /**< Buffer to hold entire audio data */
  1904. ^~~
  1905. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1906. int len; /**< Length of original audio buffer */
  1907. ^~~
  1908. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1909. int len_cvt; /**< Length of converted audio buffer */
  1910. ^~~~~~~
  1911. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1912. int len_mult; /**< buffer must be len*len_mult big */
  1913. ^~~~~~~~
  1914. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1915. double len_ratio; /**< Given len, final size is len*len_ratio */
  1916. ^~~~~~~~~
  1917. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1918. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1919. ^~~~~~~
  1920. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1921. int filter_index; /**< Current audio conversion function */
  1922. ^~~~~~~~~~~~
  1923.  
  1924. [165/258] Compiling engine/server/sv_custom.c
  1925. In file included from /usr/include/SDL2/SDL.h:36,
  1926. from ../common/port.h:151,
  1927. from ../engine/common/common.h:39,
  1928. from ../engine/common/soundlib/soundlib.h:19,
  1929. from ../engine/common/soundlib/snd_wav.c:16:
  1930. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1931. int needed; /**< Set to 1 if conversion possible */
  1932. ^~~~~~
  1933. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1934. SDL_AudioFormat src_format; /**< Source audio format */
  1935. ^~~~~~~~~~
  1936. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1937. SDL_AudioFormat dst_format; /**< Target audio format */
  1938. ^~~~~~~~~~
  1939. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1940. double rate_incr; /**< Rate conversion increment */
  1941. ^~~~~~~~~
  1942. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1943. Uint8 *buf; /**< Buffer to hold entire audio data */
  1944. ^~~
  1945. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1946. int len; /**< Length of original audio buffer */
  1947. ^~~
  1948. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1949. int len_cvt; /**< Length of converted audio buffer */
  1950. ^~~~~~~
  1951. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1952. int len_mult; /**< buffer must be len*len_mult big */
  1953. ^~~~~~~~
  1954. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1955. double len_ratio; /**< Given len, final size is len*len_ratio */
  1956. ^~~~~~~~~
  1957. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1958. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1959. ^~~~~~~
  1960. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  1961. int filter_index; /**< Current audio conversion function */
  1962. ^~~~~~~~~~~~
  1963.  
  1964. [166/258] Compiling engine/client/avi/avi_win.c
  1965. [167/258] Compiling engine/common/soundlib/libmpg/mpg123.c
  1966. In file included from /usr/include/SDL2/SDL.h:36,
  1967. from ../common/port.h:151,
  1968. from ../engine/common/common.h:39,
  1969. from ../engine/common/mod_studio.c:16:
  1970. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  1971. int needed; /**< Set to 1 if conversion possible */
  1972. ^~~~~~
  1973. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  1974. SDL_AudioFormat src_format; /**< Source audio format */
  1975. ^~~~~~~~~~
  1976. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  1977. SDL_AudioFormat dst_format; /**< Target audio format */
  1978. ^~~~~~~~~~
  1979. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  1980. double rate_incr; /**< Rate conversion increment */
  1981. ^~~~~~~~~
  1982. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  1983. Uint8 *buf; /**< Buffer to hold entire audio data */
  1984. ^~~
  1985. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  1986. int len; /**< Length of original audio buffer */
  1987. ^~~
  1988. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  1989. int len_cvt; /**< Length of converted audio buffer */
  1990. ^~~~~~~
  1991. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  1992. int len_mult; /**< buffer must be len*len_mult big */
  1993. ^~~~~~~~
  1994. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  1995. double len_ratio; /**< Given len, final size is len*len_ratio */
  1996. ^~~~~~~~~
  1997. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  1998. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  1999. ^~~~~~~
  2000. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2001. int filter_index; /**< Current audio conversion function */
  2002. ^~~~~~~~~~~~
  2003. ../engine/common/mod_studio.c: In function ‘Mod_HullForStudio’:
  2004. ../engine/common/mod_studio.c:266:12: warning: cast increases required alignment of target type [-Wcast-align]
  2005. phitbox = (mstudiobbox_t *)((byte *)mod_studiohdr + mod_studiohdr->hitboxindex);
  2006. ^
  2007. ../engine/common/mod_studio.c: In function ‘Mod_StudioCalcBoneAdj’:
  2008. ../engine/common/mod_studio.c:314:20: warning: cast increases required alignment of target type [-Wcast-align]
  2009. pbonecontroller = (mstudiobonecontroller_t *)((byte *)mod_studiohdr + mod_studiohdr->bonecontrollerindex);
  2010. ^
  2011. ../engine/common/mod_studio.c: In function ‘Mod_StudioCalcRotations’:
  2012. ../engine/common/mod_studio.c:384:10: warning: cast increases required alignment of target type [-Wcast-align]
  2013. pbone = (mstudiobone_t *)((byte *)mod_studiohdr + mod_studiohdr->boneindex);
  2014. ^
  2015. ../engine/common/mod_studio.c: In function ‘R_StudioCalcBoneQuaternion’:
  2016. ../engine/common/mod_studio.c:420:37: warning: cast increases required alignment of target type [-Wcast-align]
  2017. mstudioanimvalue_t *panimvalue = (mstudioanimvalue_t *)((byte *)panim + panim->offset[j+3]);
  2018. ^
  2019. ../engine/common/mod_studio.c: In function ‘R_StudioCalcBonePosition’:
  2020. ../engine/common/mod_studio.c:508:37: warning: cast increases required alignment of target type [-Wcast-align]
  2021. mstudioanimvalue_t *panimvalue = (mstudioanimvalue_t *)((byte *)panim + panim->offset[j]);
  2022. ^
  2023. ../engine/common/mod_studio.c: In function ‘R_StudioGetAnim’:
  2024. ../engine/common/mod_studio.c:604:14: warning: cast increases required alignment of target type [-Wcast-align]
  2025. pseqgroup = (mstudioseqgroup_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqgroupindex) + pseqdesc->seqgroup;
  2026. ^
  2027. ../engine/common/mod_studio.c:629:26: warning: cast increases required alignment of target type [-Wcast-align]
  2028. if( IDSEQGRPHEADER != *(uint *)buf ) Host_Error( "StudioGetAnim: %s is corrupted\n", filepath );
  2029. ^
  2030. ../engine/common/mod_studio.c: In function ‘SV_StudioSetupBones’:
  2031. ../engine/common/mod_studio.c:678:13: warning: cast increases required alignment of target type [-Wcast-align]
  2032. pseqdesc = (mstudioseqdesc_t *)((byte *)mod_studiohdr + mod_studiohdr->seqindex) + sequence;
  2033. ^
  2034. ../engine/common/mod_studio.c:679:11: warning: cast increases required alignment of target type [-Wcast-align]
  2035. pbones = (mstudiobone_t *)((byte *)mod_studiohdr + mod_studiohdr->boneindex);
  2036. ^
  2037. ../engine/common/mod_studio.c: In function ‘Mod_StudioGetAttachment’:
  2038. ../engine/common/mod_studio.c:772:9: warning: cast increases required alignment of target type [-Wcast-align]
  2039. pAtt = (mstudioattachment_t *)((byte *)mod_studiohdr + mod_studiohdr->attachmentindex) + iAtt;
  2040. ^
  2041. ../engine/common/mod_studio.c: In function ‘Mod_StudioComputeBounds’:
  2042. ../engine/common/mod_studio.c:888:14: warning: cast increases required alignment of target type [-Wcast-align]
  2043. pbodypart = (mstudiobodyparts_t *)((byte *)pstudiohdr + pstudiohdr->bodypartindex);
  2044. ^
  2045. ../engine/common/mod_studio.c:901:12: warning: cast increases required alignment of target type [-Wcast-align]
  2046. pverts = (vec3_t *)((byte *)pstudiohdr + m_pSubModel[i].vertindex);
  2047. ^
  2048. ../engine/common/mod_studio.c:907:11: warning: cast increases required alignment of target type [-Wcast-align]
  2049. pbones = (mstudiobone_t *)((byte *)pstudiohdr + pstudiohdr->boneindex);
  2050. ^
  2051. ../engine/common/mod_studio.c:912:14: warning: cast increases required alignment of target type [-Wcast-align]
  2052. pseqdesc = (mstudioseqdesc_t *)((byte *)pstudiohdr + pstudiohdr->seqindex) + i;
  2053. ^
  2054. ../engine/common/mod_studio.c:913:15: warning: cast increases required alignment of target type [-Wcast-align]
  2055. pseqgroup = (mstudioseqgroup_t *)((byte *)pstudiohdr + pstudiohdr->seqgroupindex) + pseqdesc->seqgroup;
  2056. ^
  2057. ../engine/common/mod_studio.c:916:12: warning: cast increases required alignment of target type [-Wcast-align]
  2058. panim = (mstudioanim_t *)((byte *)pstudiohdr + pseqdesc->animindex);
  2059. ^
  2060. ../engine/common/mod_studio.c: In function ‘Mod_GetStudioBounds’:
  2061. ../engine/common/mod_studio.c:951:7: warning: cast increases required alignment of target type [-Wcast-align]
  2062. if( *(uint *)f == IDSTUDIOHEADER )
  2063. ^
  2064. ../engine/common/mod_studio.c: In function ‘Mod_StudioBodyVariations’:
  2065. ../engine/common/mod_studio.c:997:14: warning: cast increases required alignment of target type [-Wcast-align]
  2066. pbodypart = (mstudiobodyparts_t *)((byte *)pstudiohdr + pstudiohdr->bodypartindex);
  2067. ^
  2068. ../engine/common/mod_studio.c: In function ‘R_StudioLoadHeader’:
  2069. ../engine/common/mod_studio.c:1021:9: warning: cast increases required alignment of target type [-Wcast-align]
  2070. phdr = (studiohdr_t *)pin;
  2071. ^
  2072.  
  2073. [168/258] Compiling engine/client/cl_gameui.c
  2074. [169/258] Compiling engine/common/mod_bmodel.c
  2075. In file included from /usr/include/SDL2/SDL.h:36,
  2076. from ../common/port.h:151,
  2077. from ../engine/common/common.h:39,
  2078. from ../engine/server/sv_custom.c:16:
  2079. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2080. int needed; /**< Set to 1 if conversion possible */
  2081. ^~~~~~
  2082. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2083. SDL_AudioFormat src_format; /**< Source audio format */
  2084. ^~~~~~~~~~
  2085. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2086. SDL_AudioFormat dst_format; /**< Target audio format */
  2087. ^~~~~~~~~~
  2088. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2089. double rate_incr; /**< Rate conversion increment */
  2090. ^~~~~~~~~
  2091. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2092. Uint8 *buf; /**< Buffer to hold entire audio data */
  2093. ^~~
  2094. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2095. int len; /**< Length of original audio buffer */
  2096. ^~~
  2097. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2098. int len_cvt; /**< Length of converted audio buffer */
  2099. ^~~~~~~
  2100. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2101. int len_mult; /**< buffer must be len*len_mult big */
  2102. ^~~~~~~~
  2103. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2104. double len_ratio; /**< Given len, final size is len*len_ratio */
  2105. ^~~~~~~~~
  2106. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2107. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2108. ^~~~~~~
  2109. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2110. int filter_index; /**< Current audio conversion function */
  2111. ^~~~~~~~~~~~
  2112. ../engine/server/sv_custom.c: In function ‘SV_ParseConsistencyResponse’:
  2113. ../engine/server/sv_custom.c:125:18: warning: cast increases required alignment of target type [-Wcast-align]
  2114. if( value != *(int *)r->rgucMD5_hash )
  2115. ^
  2116.  
  2117. [170/258] Compiling engine/common/imagelib/img_utils.c
  2118. In file included from /usr/include/SDL2/SDL.h:36,
  2119. from ../common/port.h:151,
  2120. from ../engine/common/common.h:39,
  2121. from ../engine/client/cl_qparse.c:16:
  2122. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2123. int needed; /**< Set to 1 if conversion possible */
  2124. ^~~~~~
  2125. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2126. SDL_AudioFormat src_format; /**< Source audio format */
  2127. ^~~~~~~~~~
  2128. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2129. SDL_AudioFormat dst_format; /**< Target audio format */
  2130. ^~~~~~~~~~
  2131. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2132. double rate_incr; /**< Rate conversion increment */
  2133. ^~~~~~~~~
  2134. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2135. Uint8 *buf; /**< Buffer to hold entire audio data */
  2136. ^~~
  2137. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2138. int len; /**< Length of original audio buffer */
  2139. ^~~
  2140. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2141. int len_cvt; /**< Length of converted audio buffer */
  2142. ^~~~~~~
  2143. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2144. int len_mult; /**< buffer must be len*len_mult big */
  2145. ^~~~~~~~
  2146. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2147. double len_ratio; /**< Given len, final size is len*len_ratio */
  2148. ^~~~~~~~~
  2149. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2150. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2151. ^~~~~~~
  2152. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2153. int filter_index; /**< Current audio conversion function */
  2154. ^~~~~~~~~~~~
  2155.  
  2156. [171/258] Compiling engine/common/sequence.c
  2157. In file included from /usr/include/SDL2/SDL.h:36,
  2158. from ../common/port.h:151,
  2159. from ../engine/common/common.h:39,
  2160. from ../engine/client/cl_gameui.c:16:
  2161. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2162. int needed; /**< Set to 1 if conversion possible */
  2163. ^~~~~~
  2164. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2165. SDL_AudioFormat src_format; /**< Source audio format */
  2166. ^~~~~~~~~~
  2167. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2168. SDL_AudioFormat dst_format; /**< Target audio format */
  2169. ^~~~~~~~~~
  2170. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2171. double rate_incr; /**< Rate conversion increment */
  2172. ^~~~~~~~~
  2173. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2174. Uint8 *buf; /**< Buffer to hold entire audio data */
  2175. ^~~
  2176. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2177. int len; /**< Length of original audio buffer */
  2178. ^~~
  2179. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2180. int len_cvt; /**< Length of converted audio buffer */
  2181. ^~~~~~~
  2182. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2183. int len_mult; /**< buffer must be len*len_mult big */
  2184. ^~~~~~~~
  2185. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2186. double len_ratio; /**< Given len, final size is len*len_ratio */
  2187. ^~~~~~~~~
  2188. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2189. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2190. ^~~~~~~
  2191. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2192. int filter_index; /**< Current audio conversion function */
  2193. ^~~~~~~~~~~~
  2194.  
  2195. [172/258] Compiling engine/client/avi/avi_stub.c
  2196. In file included from /usr/include/SDL2/SDL.h:36,
  2197. from ../common/port.h:151,
  2198. from ../engine/common/common.h:39,
  2199. from ../engine/client/avi/avi_stub.c:18:
  2200. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2201. int needed; /**< Set to 1 if conversion possible */
  2202. ^~~~~~
  2203. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2204. SDL_AudioFormat src_format; /**< Source audio format */
  2205. ^~~~~~~~~~
  2206. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2207. SDL_AudioFormat dst_format; /**< Target audio format */
  2208. ^~~~~~~~~~
  2209. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2210. double rate_incr; /**< Rate conversion increment */
  2211. ^~~~~~~~~
  2212. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2213. Uint8 *buf; /**< Buffer to hold entire audio data */
  2214. ^~~
  2215. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2216. int len; /**< Length of original audio buffer */
  2217. ^~~
  2218. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2219. int len_cvt; /**< Length of converted audio buffer */
  2220. ^~~~~~~
  2221. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2222. int len_mult; /**< buffer must be len*len_mult big */
  2223. ^~~~~~~~
  2224. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2225. double len_ratio; /**< Given len, final size is len*len_ratio */
  2226. ^~~~~~~~~
  2227. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2228. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2229. ^~~~~~~
  2230. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2231. int filter_index; /**< Current audio conversion function */
  2232. ^~~~~~~~~~~~
  2233.  
  2234. [173/258] Compiling engine/common/infostring.c
  2235. In file included from /usr/include/SDL2/SDL.h:36,
  2236. from ../common/port.h:151,
  2237. from ../engine/common/common.h:39,
  2238. from ../engine/common/infostring.c:16:
  2239. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2240. int needed; /**< Set to 1 if conversion possible */
  2241. ^~~~~~
  2242. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2243. SDL_AudioFormat src_format; /**< Source audio format */
  2244. ^~~~~~~~~~
  2245. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2246. SDL_AudioFormat dst_format; /**< Target audio format */
  2247. ^~~~~~~~~~
  2248. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2249. double rate_incr; /**< Rate conversion increment */
  2250. ^~~~~~~~~
  2251. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2252. Uint8 *buf; /**< Buffer to hold entire audio data */
  2253. ^~~
  2254. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2255. int len; /**< Length of original audio buffer */
  2256. ^~~
  2257. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2258. int len_cvt; /**< Length of converted audio buffer */
  2259. ^~~~~~~
  2260. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2261. int len_mult; /**< buffer must be len*len_mult big */
  2262. ^~~~~~~~
  2263. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2264. double len_ratio; /**< Given len, final size is len*len_ratio */
  2265. ^~~~~~~~~
  2266. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2267. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2268. ^~~~~~~
  2269. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2270. int filter_index; /**< Current audio conversion function */
  2271. ^~~~~~~~~~~~
  2272.  
  2273. [174/258] Compiling engine/common/common.c
  2274. In file included from /usr/include/SDL2/SDL.h:36,
  2275. from ../common/port.h:151,
  2276. from ../engine/common/common.h:39,
  2277. from ../engine/common/imagelib/imagelib.h:19,
  2278. from ../engine/common/imagelib/img_utils.c:16:
  2279. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2280. int needed; /**< Set to 1 if conversion possible */
  2281. ^~~~~~
  2282. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2283. SDL_AudioFormat src_format; /**< Source audio format */
  2284. ^~~~~~~~~~
  2285. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2286. SDL_AudioFormat dst_format; /**< Target audio format */
  2287. ^~~~~~~~~~
  2288. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2289. double rate_incr; /**< Rate conversion increment */
  2290. ^~~~~~~~~
  2291. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2292. Uint8 *buf; /**< Buffer to hold entire audio data */
  2293. ^~~
  2294. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2295. int len; /**< Length of original audio buffer */
  2296. ^~~
  2297. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2298. int len_cvt; /**< Length of converted audio buffer */
  2299. ^~~~~~~
  2300. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2301. int len_mult; /**< buffer must be len*len_mult big */
  2302. ^~~~~~~~
  2303. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2304. double len_ratio; /**< Given len, final size is len*len_ratio */
  2305. ^~~~~~~~~
  2306. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2307. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2308. ^~~~~~~
  2309. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2310. int filter_index; /**< Current audio conversion function */
  2311. ^~~~~~~~~~~~
  2312. ../engine/common/imagelib/img_utils.c: In function ‘Image_SetPalette’:
  2313. ../engine/common/imagelib/img_utils.c:293:18: warning: cast increases required alignment of target type [-Wcast-align]
  2314. d_table[i] = *(uint *)rgba;
  2315. ^
  2316. ../engine/common/imagelib/img_utils.c:303:18: warning: cast increases required alignment of target type [-Wcast-align]
  2317. d_table[i] = *(uint *)rgba;
  2318. ^
  2319. ../engine/common/imagelib/img_utils.c:313:18: warning: cast increases required alignment of target type [-Wcast-align]
  2320. d_table[i] = *(uint *)rgba;
  2321. ^
  2322. ../engine/common/imagelib/img_utils.c:324:18: warning: cast increases required alignment of target type [-Wcast-align]
  2323. d_table[i] = *(uint *)rgba;
  2324. ^
  2325. ../engine/common/imagelib/img_utils.c: In function ‘Image_Copy8bitRGBA’:
  2326. ../engine/common/imagelib/img_utils.c:585:14: warning: cast increases required alignment of target type [-Wcast-align]
  2327. int *iout = (int *)out;
  2328. ^
  2329. ../engine/common/imagelib/img_utils.c: In function ‘Image_Decompress’:
  2330. ../engine/common/imagelib/img_utils.c:1251:50: warning: cast increases required alignment of target type [-Wcast-align]
  2331. if( !image.d_currentpal ) image.d_currentpal = (uint *)image.palette;
  2332. ^
  2333. ../engine/common/imagelib/img_utils.c: In function ‘Image_ApplyFilter’:
  2334. ../engine/common/imagelib/img_utils.c:1392:9: warning: cast increases required alignment of target type [-Wcast-align]
  2335. fout = (uint *)image.tempbuffer;
  2336. ^
  2337. ../engine/common/imagelib/img_utils.c:1393:8: warning: cast increases required alignment of target type [-Wcast-align]
  2338. fin = (uint *)pic->buffer;
  2339. ^
  2340. ../engine/common/imagelib/img_utils.c: In function ‘Image_Process’:
  2341. ../engine/common/imagelib/img_utils.c:1519:32: warning: cast increases required alignment of target type [-Wcast-align]
  2342. out = Image_ResampleInternal((uint *)pic->buffer, pic->width, pic->height, w, h, pic->type, &resampled );
  2343. ^
  2344.  
  2345. [175/258] Compiling engine/common/model.c
  2346. In file included from /usr/include/SDL2/SDL.h:36,
  2347. from ../common/port.h:151,
  2348. from ../engine/common/common.h:39,
  2349. from ../engine/common/sequence.c:17:
  2350. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2351. int needed; /**< Set to 1 if conversion possible */
  2352. ^~~~~~
  2353. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2354. SDL_AudioFormat src_format; /**< Source audio format */
  2355. ^~~~~~~~~~
  2356. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2357. SDL_AudioFormat dst_format; /**< Target audio format */
  2358. ^~~~~~~~~~
  2359. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2360. double rate_incr; /**< Rate conversion increment */
  2361. ^~~~~~~~~
  2362. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2363. Uint8 *buf; /**< Buffer to hold entire audio data */
  2364. ^~~
  2365. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2366. int len; /**< Length of original audio buffer */
  2367. ^~~
  2368. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2369. int len_cvt; /**< Length of converted audio buffer */
  2370. ^~~~~~~
  2371. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2372. int len_mult; /**< buffer must be len*len_mult big */
  2373. ^~~~~~~~
  2374. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2375. double len_ratio; /**< Given len, final size is len*len_ratio */
  2376. ^~~~~~~~~
  2377. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2378. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2379. ^~~~~~~
  2380. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2381. int filter_index; /**< Current audio conversion function */
  2382. ^~~~~~~~~~~~
  2383.  
  2384. [176/258] Compiling engine/common/imagelib/img_png.c
  2385. In file included from /usr/include/SDL2/SDL.h:36,
  2386. from ../common/port.h:151,
  2387. from ../engine/common/common.h:39,
  2388. from ../engine/common/model.c:15:
  2389. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2390. int needed; /**< Set to 1 if conversion possible */
  2391. ^~~~~~
  2392. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2393. SDL_AudioFormat src_format; /**< Source audio format */
  2394. ^~~~~~~~~~
  2395. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2396. SDL_AudioFormat dst_format; /**< Target audio format */
  2397. ^~~~~~~~~~
  2398. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2399. double rate_incr; /**< Rate conversion increment */
  2400. ^~~~~~~~~
  2401. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2402. Uint8 *buf; /**< Buffer to hold entire audio data */
  2403. ^~~
  2404. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2405. int len; /**< Length of original audio buffer */
  2406. ^~~
  2407. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2408. int len_cvt; /**< Length of converted audio buffer */
  2409. ^~~~~~~
  2410. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2411. int len_mult; /**< buffer must be len*len_mult big */
  2412. ^~~~~~~~
  2413. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2414. double len_ratio; /**< Given len, final size is len*len_ratio */
  2415. ^~~~~~~~~
  2416. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2417. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2418. ^~~~~~~
  2419. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2420. int filter_index; /**< Current audio conversion function */
  2421. ^~~~~~~~~~~~
  2422. ../engine/common/model.c: In function ‘Mod_LoadModel’:
  2423. ../engine/common/model.c:293:11: warning: cast increases required alignment of target type [-Wcast-align]
  2424. switch( *(uint *)buf )
  2425. ^
  2426.  
  2427. [177/258] Compiling engine/common/masterlist.c
  2428. In file included from /usr/include/SDL2/SDL.h:36,
  2429. from ../common/port.h:151,
  2430. from ../engine/common/common.h:39,
  2431. from ../engine/common/common.c:16:
  2432. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2433. int needed; /**< Set to 1 if conversion possible */
  2434. ^~~~~~
  2435. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2436. SDL_AudioFormat src_format; /**< Source audio format */
  2437. ^~~~~~~~~~
  2438. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2439. SDL_AudioFormat dst_format; /**< Target audio format */
  2440. ^~~~~~~~~~
  2441. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2442. double rate_incr; /**< Rate conversion increment */
  2443. ^~~~~~~~~
  2444. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2445. Uint8 *buf; /**< Buffer to hold entire audio data */
  2446. ^~~
  2447. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2448. int len; /**< Length of original audio buffer */
  2449. ^~~
  2450. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2451. int len_cvt; /**< Length of converted audio buffer */
  2452. ^~~~~~~
  2453. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2454. int len_mult; /**< buffer must be len*len_mult big */
  2455. ^~~~~~~~
  2456. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2457. double len_ratio; /**< Given len, final size is len*len_ratio */
  2458. ^~~~~~~~~
  2459. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2460. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2461. ^~~~~~~
  2462. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2463. int filter_index; /**< Current audio conversion function */
  2464. ^~~~~~~~~~~~
  2465. ../engine/common/common.c: In function ‘LZSS_IsCompressed’:
  2466. ../engine/common/common.c:194:24: warning: cast increases required alignment of target type [-Wcast-align]
  2467. lzss_header_t *phdr = (lzss_header_t *)source;
  2468. ^
  2469. ../engine/common/common.c: In function ‘LZSS_GetActualSize’:
  2470. ../engine/common/common.c:203:24: warning: cast increases required alignment of target type [-Wcast-align]
  2471. lzss_header_t *phdr = (lzss_header_t *)source;
  2472. ^
  2473. ../engine/common/common.c: In function ‘LZSS_CompressNoAlloc’:
  2474. ../engine/common/common.c:247:26: warning: cast increases required alignment of target type [-Wcast-align]
  2475. lzss_header_t *header = (lzss_header_t *)pStart;
  2476. ^
  2477.  
  2478. [178/258] Compiling engine/common/hpak.c
  2479. In file included from /usr/include/SDL2/SDL.h:36,
  2480. from ../common/port.h:151,
  2481. from ../engine/common/common.h:39,
  2482. from ../engine/common/masterlist.c:15:
  2483. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2484. int needed; /**< Set to 1 if conversion possible */
  2485. ^~~~~~
  2486. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2487. SDL_AudioFormat src_format; /**< Source audio format */
  2488. ^~~~~~~~~~
  2489. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2490. SDL_AudioFormat dst_format; /**< Target audio format */
  2491. ^~~~~~~~~~
  2492. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2493. double rate_incr; /**< Rate conversion increment */
  2494. ^~~~~~~~~
  2495. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2496. Uint8 *buf; /**< Buffer to hold entire audio data */
  2497. ^~~
  2498. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2499. int len; /**< Length of original audio buffer */
  2500. ^~~
  2501. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2502. int len_cvt; /**< Length of converted audio buffer */
  2503. ^~~~~~~
  2504. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2505. int len_mult; /**< buffer must be len*len_mult big */
  2506. ^~~~~~~~
  2507. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2508. double len_ratio; /**< Given len, final size is len*len_ratio */
  2509. ^~~~~~~~~
  2510. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2511. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2512. ^~~~~~~
  2513. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2514. int filter_index; /**< Current audio conversion function */
  2515. ^~~~~~~~~~~~
  2516.  
  2517. [179/258] Compiling engine/common/imagelib/img_wad.c
  2518. In file included from /usr/include/SDL2/SDL.h:36,
  2519. from ../common/port.h:151,
  2520. from ../engine/common/common.h:39,
  2521. from ../engine/common/imagelib/imagelib.h:19,
  2522. from ../engine/common/imagelib/img_png.c:18:
  2523. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2524. int needed; /**< Set to 1 if conversion possible */
  2525. ^~~~~~
  2526. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2527. SDL_AudioFormat src_format; /**< Source audio format */
  2528. ^~~~~~~~~~
  2529. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2530. SDL_AudioFormat dst_format; /**< Target audio format */
  2531. ^~~~~~~~~~
  2532. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2533. double rate_incr; /**< Rate conversion increment */
  2534. ^~~~~~~~~
  2535. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2536. Uint8 *buf; /**< Buffer to hold entire audio data */
  2537. ^~~
  2538. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2539. int len; /**< Length of original audio buffer */
  2540. ^~~
  2541. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2542. int len_cvt; /**< Length of converted audio buffer */
  2543. ^~~~~~~
  2544. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2545. int len_mult; /**< buffer must be len*len_mult big */
  2546. ^~~~~~~~
  2547. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2548. double len_ratio; /**< Given len, final size is len*len_ratio */
  2549. ^~~~~~~~~
  2550. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2551. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2552. ^~~~~~~
  2553. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2554. int filter_index; /**< Current audio conversion function */
  2555. ^~~~~~~~~~~~
  2556.  
  2557. [180/258] Compiling engine/platform/sdl/sys_sdl.c
  2558. In file included from /usr/include/SDL2/SDL.h:36,
  2559. from ../common/port.h:151,
  2560. from ../engine/common/common.h:39,
  2561. from ../engine/common/mod_bmodel.c:15:
  2562. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2563. int needed; /**< Set to 1 if conversion possible */
  2564. ^~~~~~
  2565. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2566. SDL_AudioFormat src_format; /**< Source audio format */
  2567. ^~~~~~~~~~
  2568. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2569. SDL_AudioFormat dst_format; /**< Target audio format */
  2570. ^~~~~~~~~~
  2571. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2572. double rate_incr; /**< Rate conversion increment */
  2573. ^~~~~~~~~
  2574. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2575. Uint8 *buf; /**< Buffer to hold entire audio data */
  2576. ^~~
  2577. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2578. int len; /**< Length of original audio buffer */
  2579. ^~~
  2580. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2581. int len_cvt; /**< Length of converted audio buffer */
  2582. ^~~~~~~
  2583. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2584. int len_mult; /**< buffer must be len*len_mult big */
  2585. ^~~~~~~~
  2586. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2587. double len_ratio; /**< Given len, final size is len*len_ratio */
  2588. ^~~~~~~~~
  2589. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2590. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2591. ^~~~~~~
  2592. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2593. int filter_index; /**< Current audio conversion function */
  2594. ^~~~~~~~~~~~
  2595. ../engine/common/mod_bmodel.c: In function ‘Mod_LoadLump’:
  2596. ../engine/common/mod_bmodel.c:224:17: warning: cast increases required alignment of target type [-Wcast-align]
  2597. int version = ((dheader_t *)in)->version;
  2598. ^
  2599. ../engine/common/mod_bmodel.c:231:25: warning: cast increases required alignment of target type [-Wcast-align]
  2600. dextrahdr_t *header = (dextrahdr_t *)((byte *)in + sizeof( dheader_t ));
  2601. ^
  2602. ../engine/common/mod_bmodel.c:238:23: warning: cast increases required alignment of target type [-Wcast-align]
  2603. dheader_t *header = (dheader_t *)in;
  2604. ^
  2605. ../engine/common/mod_bmodel.c: In function ‘Mod_AmbientLevels’:
  2606. ../engine/common/mod_bmodel.c:762:3: warning: cast increases required alignment of target type [-Wcast-align]
  2607. *(int *)pvolumes = *(int *)leaf->ambient_sound_level;
  2608. ^
  2609. ../engine/common/mod_bmodel.c:762:22: warning: cast increases required alignment of target type [-Wcast-align]
  2610. *(int *)pvolumes = *(int *)leaf->ambient_sound_level;
  2611. ^
  2612. ../engine/common/mod_bmodel.c: In function ‘Mod_CreateFaceBevels’:
  2613. ../engine/common/mod_bmodel.c:1146:7: warning: cast increases required alignment of target type [-Wcast-align]
  2614. fb = (mfacebevel_t *)facebevel;
  2615. ^
  2616. ../engine/common/mod_bmodel.c:1148:14: warning: cast increases required alignment of target type [-Wcast-align]
  2617. fb->edges = (mplane_t *)facebevel;
  2618. ^
  2619. ../engine/common/mod_bmodel.c: In function ‘Mod_LoadColoredLighting’:
  2620. ../engine/common/mod_bmodel.c:1384:7: warning: cast increases required alignment of target type [-Wcast-align]
  2621. if( *(uint *)in != IDDELUXEMAPHEADER || *((uint *)in + 1) != DELUXEMAP_VERSION )
  2622. ^
  2623. ../engine/common/mod_bmodel.c:1384:44: warning: cast increases required alignment of target type [-Wcast-align]
  2624. if( *(uint *)in != IDDELUXEMAPHEADER || *((uint *)in + 1) != DELUXEMAP_VERSION )
  2625. ^
  2626. ../engine/common/mod_bmodel.c: In function ‘Mod_LoadDeluxemap’:
  2627. ../engine/common/mod_bmodel.c:1439:7: warning: cast increases required alignment of target type [-Wcast-align]
  2628. if( *(uint *)in != IDDELUXEMAPHEADER || *((uint *)in + 1) != DELUXEMAP_VERSION )
  2629. ^
  2630. ../engine/common/mod_bmodel.c:1439:44: warning: cast increases required alignment of target type [-Wcast-align]
  2631. if( *(uint *)in != IDDELUXEMAPHEADER || *((uint *)in + 1) != DELUXEMAP_VERSION )
  2632. ^
  2633. ../engine/common/mod_bmodel.c: In function ‘Mod_LoadTextures’:
  2634. ../engine/common/mod_bmodel.c:1957:8: warning: cast increases required alignment of target type [-Wcast-align]
  2635. mt = (mip_t *)((byte *)in + in->dataofs[i] );
  2636. ^
  2637. ../engine/common/mod_bmodel.c: In function ‘Mod_LoadBmodelLumps’:
  2638. ../engine/common/mod_bmodel.c:2746:23: warning: cast increases required alignment of target type [-Wcast-align]
  2639. dheader_t *header = (dheader_t *)mod_base;
  2640. ^
  2641. ../engine/common/mod_bmodel.c:2747:26: warning: cast increases required alignment of target type [-Wcast-align]
  2642. dextrahdr_t *extrahdr = (dextrahdr_t *)((byte *)mod_base + sizeof( dheader_t ));
  2643. ^
  2644. ../engine/common/mod_bmodel.c: In function ‘Mod_TestBmodelLumps’:
  2645. ../engine/common/mod_bmodel.c:2864:22: warning: cast increases required alignment of target type [-Wcast-align]
  2646. dheader_t *header = (dheader_t *)mod_base;
  2647. ^
  2648. ../engine/common/mod_bmodel.c: In function ‘Mod_CheckLump’:
  2649. ../engine/common/mod_bmodel.c:2972:11: warning: cast increases required alignment of target type [-Wcast-align]
  2650. header = (dheader_t *)buffer;
  2651. ^
  2652. ../engine/common/mod_bmodel.c:2980:13: warning: cast increases required alignment of target type [-Wcast-align]
  2653. extrahdr = (dextrahdr_t *)((byte *)buffer + sizeof( dheader_t ));
  2654. ^
  2655. ../engine/common/mod_bmodel.c: In function ‘Mod_ReadLump’:
  2656. ../engine/common/mod_bmodel.c:3033:11: warning: cast increases required alignment of target type [-Wcast-align]
  2657. header = (dheader_t *)buffer;
  2658. ^
  2659. ../engine/common/mod_bmodel.c:3041:13: warning: cast increases required alignment of target type [-Wcast-align]
  2660. extrahdr = (dextrahdr_t *)((byte *)buffer + sizeof( dheader_t ));
  2661. ^
  2662. ../engine/common/mod_bmodel.c: In function ‘Mod_SaveLump’:
  2663. ../engine/common/mod_bmodel.c:3129:11: warning: cast increases required alignment of target type [-Wcast-align]
  2664. header = (dheader_t *)buffer;
  2665. ^
  2666. ../engine/common/mod_bmodel.c:3138:13: warning: cast increases required alignment of target type [-Wcast-align]
  2667. extrahdr = (dextrahdr_t *)((byte *)buffer + sizeof( dheader_t ));
  2668. ^
  2669.  
  2670. [181/258] Compiling engine/common/imagelib/img_bmp.c
  2671. In file included from /usr/include/SDL2/SDL.h:36,
  2672. from ../engine/platform/sdl/sys_sdl.c:16:
  2673. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2674. int needed; /**< Set to 1 if conversion possible */
  2675. ^~~~~~
  2676. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2677. SDL_AudioFormat src_format; /**< Source audio format */
  2678. ^~~~~~~~~~
  2679. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2680. SDL_AudioFormat dst_format; /**< Target audio format */
  2681. ^~~~~~~~~~
  2682. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2683. double rate_incr; /**< Rate conversion increment */
  2684. ^~~~~~~~~
  2685. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2686. Uint8 *buf; /**< Buffer to hold entire audio data */
  2687. ^~~
  2688. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2689. int len; /**< Length of original audio buffer */
  2690. ^~~
  2691. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2692. int len_cvt; /**< Length of converted audio buffer */
  2693. ^~~~~~~
  2694. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2695. int len_mult; /**< buffer must be len*len_mult big */
  2696. ^~~~~~~~
  2697. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2698. double len_ratio; /**< Given len, final size is len*len_ratio */
  2699. ^~~~~~~~~
  2700. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2701. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2702. ^~~~~~~
  2703. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2704. int filter_index; /**< Current audio conversion function */
  2705. ^~~~~~~~~~~~
  2706.  
  2707. [182/258] Compiling engine/client/ref_common.c
  2708. In file included from /usr/include/SDL2/SDL.h:36,
  2709. from ../common/port.h:151,
  2710. from ../engine/common/common.h:39,
  2711. from ../engine/common/hpak.c:16:
  2712. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2713. int needed; /**< Set to 1 if conversion possible */
  2714. ^~~~~~
  2715. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2716. SDL_AudioFormat src_format; /**< Source audio format */
  2717. ^~~~~~~~~~
  2718. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2719. SDL_AudioFormat dst_format; /**< Target audio format */
  2720. ^~~~~~~~~~
  2721. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2722. double rate_incr; /**< Rate conversion increment */
  2723. ^~~~~~~~~
  2724. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2725. Uint8 *buf; /**< Buffer to hold entire audio data */
  2726. ^~~
  2727. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2728. int len; /**< Length of original audio buffer */
  2729. ^~~
  2730. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2731. int len_cvt; /**< Length of converted audio buffer */
  2732. ^~~~~~~
  2733. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2734. int len_mult; /**< buffer must be len*len_mult big */
  2735. ^~~~~~~~
  2736. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2737. double len_ratio; /**< Given len, final size is len*len_ratio */
  2738. ^~~~~~~~~
  2739. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2740. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2741. ^~~~~~~
  2742. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2743. int filter_index; /**< Current audio conversion function */
  2744. ^~~~~~~~~~~~
  2745.  
  2746. [183/258] Compiling engine/common/identification.c
  2747. In file included from /usr/include/SDL2/SDL.h:36,
  2748. from ../common/port.h:151,
  2749. from ../engine/common/common.h:39,
  2750. from ../engine/common/imagelib/imagelib.h:19,
  2751. from ../engine/common/imagelib/img_wad.c:16:
  2752. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2753. int needed; /**< Set to 1 if conversion possible */
  2754. ^~~~~~
  2755. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2756. SDL_AudioFormat src_format; /**< Source audio format */
  2757. ^~~~~~~~~~
  2758. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2759. SDL_AudioFormat dst_format; /**< Target audio format */
  2760. ^~~~~~~~~~
  2761. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2762. double rate_incr; /**< Rate conversion increment */
  2763. ^~~~~~~~~
  2764. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2765. Uint8 *buf; /**< Buffer to hold entire audio data */
  2766. ^~~
  2767. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2768. int len; /**< Length of original audio buffer */
  2769. ^~~
  2770. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2771. int len_cvt; /**< Length of converted audio buffer */
  2772. ^~~~~~~
  2773. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2774. int len_mult; /**< buffer must be len*len_mult big */
  2775. ^~~~~~~~
  2776. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2777. double len_ratio; /**< Given len, final size is len*len_ratio */
  2778. ^~~~~~~~~
  2779. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2780. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2781. ^~~~~~~
  2782. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2783. int filter_index; /**< Current audio conversion function */
  2784. ^~~~~~~~~~~~
  2785. ../engine/common/imagelib/img_wad.c: In function ‘Image_LoadFNT’:
  2786. ../engine/common/imagelib/img_wad.c:113:15: warning: cast increases required alignment of target type [-Wcast-align]
  2787. numcolors = *(short *)pal, pal += sizeof( short );
  2788. ^
  2789. ../engine/common/imagelib/img_wad.c: In function ‘Image_LoadMDL’:
  2790. ../engine/common/imagelib/img_wad.c:157:8: warning: cast increases required alignment of target type [-Wcast-align]
  2791. pin = (mstudiotexture_t *)buffer;
  2792. ^
  2793. ../engine/common/imagelib/img_wad.c: In function ‘Image_LoadLMP’:
  2794. ../engine/common/imagelib/img_wad.c:324:16: warning: cast increases required alignment of target type [-Wcast-align]
  2795. numcolors = *(short *)pal;
  2796. ^
  2797. ../engine/common/imagelib/img_wad.c: In function ‘Image_LoadMIP’:
  2798. ../engine/common/imagelib/img_wad.c:379:16: warning: cast increases required alignment of target type [-Wcast-align]
  2799. numcolors = *(short *)pal;
  2800. ^
  2801.  
  2802. [184/258] Compiling engine/common/host.c
  2803. In file included from /usr/include/SDL2/SDL.h:36,
  2804. from ../common/port.h:151,
  2805. from ../engine/common/common.h:39,
  2806. from ../engine/common/identification.c:16:
  2807. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2808. int needed; /**< Set to 1 if conversion possible */
  2809. ^~~~~~
  2810. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2811. SDL_AudioFormat src_format; /**< Source audio format */
  2812. ^~~~~~~~~~
  2813. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2814. SDL_AudioFormat dst_format; /**< Target audio format */
  2815. ^~~~~~~~~~
  2816. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2817. double rate_incr; /**< Rate conversion increment */
  2818. ^~~~~~~~~
  2819. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2820. Uint8 *buf; /**< Buffer to hold entire audio data */
  2821. ^~~
  2822. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2823. int len; /**< Length of original audio buffer */
  2824. ^~~
  2825. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2826. int len_cvt; /**< Length of converted audio buffer */
  2827. ^~~~~~~
  2828. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2829. int len_mult; /**< buffer must be len*len_mult big */
  2830. ^~~~~~~~
  2831. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2832. double len_ratio; /**< Given len, final size is len*len_ratio */
  2833. ^~~~~~~~~
  2834. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2835. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2836. ^~~~~~~
  2837. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2838. int filter_index; /**< Current audio conversion function */
  2839. ^~~~~~~~~~~~
  2840.  
  2841. [185/258] Compiling engine/common/gamma.c
  2842. In file included from /usr/include/SDL2/SDL.h:36,
  2843. from ../common/port.h:151,
  2844. from ../engine/common/common.h:39,
  2845. from ../engine/client/ref_common.c:1:
  2846. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2847. int needed; /**< Set to 1 if conversion possible */
  2848. ^~~~~~
  2849. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2850. SDL_AudioFormat src_format; /**< Source audio format */
  2851. ^~~~~~~~~~
  2852. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2853. SDL_AudioFormat dst_format; /**< Target audio format */
  2854. ^~~~~~~~~~
  2855. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2856. double rate_incr; /**< Rate conversion increment */
  2857. ^~~~~~~~~
  2858. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2859. Uint8 *buf; /**< Buffer to hold entire audio data */
  2860. ^~~
  2861. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2862. int len; /**< Length of original audio buffer */
  2863. ^~~
  2864. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2865. int len_cvt; /**< Length of converted audio buffer */
  2866. ^~~~~~~
  2867. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2868. int len_mult; /**< buffer must be len*len_mult big */
  2869. ^~~~~~~~
  2870. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2871. double len_ratio; /**< Given len, final size is len*len_ratio */
  2872. ^~~~~~~~~
  2873. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2874. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2875. ^~~~~~~
  2876. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2877. int filter_index; /**< Current audio conversion function */
  2878. ^~~~~~~~~~~~
  2879.  
  2880. [186/258] Compiling engine/common/crashhandler.c
  2881. In file included from /usr/include/SDL2/SDL.h:36,
  2882. from ../common/port.h:151,
  2883. from ../engine/common/common.h:39,
  2884. from ../engine/common/imagelib/imagelib.h:19,
  2885. from ../engine/common/imagelib/img_bmp.c:16:
  2886. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2887. int needed; /**< Set to 1 if conversion possible */
  2888. ^~~~~~
  2889. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2890. SDL_AudioFormat src_format; /**< Source audio format */
  2891. ^~~~~~~~~~
  2892. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2893. SDL_AudioFormat dst_format; /**< Target audio format */
  2894. ^~~~~~~~~~
  2895. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2896. double rate_incr; /**< Rate conversion increment */
  2897. ^~~~~~~~~
  2898. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2899. Uint8 *buf; /**< Buffer to hold entire audio data */
  2900. ^~~
  2901. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2902. int len; /**< Length of original audio buffer */
  2903. ^~~
  2904. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2905. int len_cvt; /**< Length of converted audio buffer */
  2906. ^~~~~~~
  2907. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2908. int len_mult; /**< buffer must be len*len_mult big */
  2909. ^~~~~~~~
  2910. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2911. double len_ratio; /**< Given len, final size is len*len_ratio */
  2912. ^~~~~~~~~
  2913. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2914. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2915. ^~~~~~~
  2916. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2917. int filter_index; /**< Current audio conversion function */
  2918. ^~~~~~~~~~~~
  2919. ../engine/common/imagelib/img_bmp.c: In function ‘Image_LoadBMP’:
  2920. ../engine/common/imagelib/img_bmp.c:273:19: warning: cast increases required alignment of target type [-Wcast-align]
  2921. shortPixel = *(word *)buf_p, buf_p += 2;
  2922. ^
  2923.  
  2924. [187/258] Compiling engine/common/custom.c
  2925. In file included from /usr/include/SDL2/SDL.h:36,
  2926. from ../engine/common/host.c:18:
  2927. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2928. int needed; /**< Set to 1 if conversion possible */
  2929. ^~~~~~
  2930. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2931. SDL_AudioFormat src_format; /**< Source audio format */
  2932. ^~~~~~~~~~
  2933. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2934. SDL_AudioFormat dst_format; /**< Target audio format */
  2935. ^~~~~~~~~~
  2936. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2937. double rate_incr; /**< Rate conversion increment */
  2938. ^~~~~~~~~
  2939. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2940. Uint8 *buf; /**< Buffer to hold entire audio data */
  2941. ^~~
  2942. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2943. int len; /**< Length of original audio buffer */
  2944. ^~~
  2945. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2946. int len_cvt; /**< Length of converted audio buffer */
  2947. ^~~~~~~
  2948. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2949. int len_mult; /**< buffer must be len*len_mult big */
  2950. ^~~~~~~~
  2951. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2952. double len_ratio; /**< Given len, final size is len*len_ratio */
  2953. ^~~~~~~~~
  2954. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2955. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2956. ^~~~~~~
  2957. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2958. int filter_index; /**< Current audio conversion function */
  2959. ^~~~~~~~~~~~
  2960.  
  2961. [188/258] Compiling engine/platform/sdl/s_sdl.c
  2962. In file included from /usr/include/SDL2/SDL.h:36,
  2963. from ../common/port.h:151,
  2964. from ../engine/common/common.h:39,
  2965. from ../engine/common/gamma.c:16:
  2966. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  2967. int needed; /**< Set to 1 if conversion possible */
  2968. ^~~~~~
  2969. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  2970. SDL_AudioFormat src_format; /**< Source audio format */
  2971. ^~~~~~~~~~
  2972. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  2973. SDL_AudioFormat dst_format; /**< Target audio format */
  2974. ^~~~~~~~~~
  2975. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  2976. double rate_incr; /**< Rate conversion increment */
  2977. ^~~~~~~~~
  2978. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  2979. Uint8 *buf; /**< Buffer to hold entire audio data */
  2980. ^~~
  2981. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  2982. int len; /**< Length of original audio buffer */
  2983. ^~~
  2984. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  2985. int len_cvt; /**< Length of converted audio buffer */
  2986. ^~~~~~~
  2987. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  2988. int len_mult; /**< buffer must be len*len_mult big */
  2989. ^~~~~~~~
  2990. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  2991. double len_ratio; /**< Given len, final size is len*len_ratio */
  2992. ^~~~~~~~~
  2993. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  2994. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  2995. ^~~~~~~
  2996. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  2997. int filter_index; /**< Current audio conversion function */
  2998. ^~~~~~~~~~~~
  2999.  
  3000. [189/258] Compiling engine/client/s_utils.c
  3001. In file included from /usr/include/SDL2/SDL.h:36,
  3002. from ../common/port.h:151,
  3003. from ../engine/common/common.h:39,
  3004. from ../engine/common/crashhandler.c:17:
  3005. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3006. int needed; /**< Set to 1 if conversion possible */
  3007. ^~~~~~
  3008. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3009. SDL_AudioFormat src_format; /**< Source audio format */
  3010. ^~~~~~~~~~
  3011. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3012. SDL_AudioFormat dst_format; /**< Target audio format */
  3013. ^~~~~~~~~~
  3014. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3015. double rate_incr; /**< Rate conversion increment */
  3016. ^~~~~~~~~
  3017. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3018. Uint8 *buf; /**< Buffer to hold entire audio data */
  3019. ^~~
  3020. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3021. int len; /**< Length of original audio buffer */
  3022. ^~~
  3023. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3024. int len_cvt; /**< Length of converted audio buffer */
  3025. ^~~~~~~
  3026. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3027. int len_mult; /**< buffer must be len*len_mult big */
  3028. ^~~~~~~~
  3029. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3030. double len_ratio; /**< Given len, final size is len*len_ratio */
  3031. ^~~~~~~~~
  3032. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3033. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3034. ^~~~~~~
  3035. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3036. int filter_index; /**< Current audio conversion function */
  3037. ^~~~~~~~~~~~
  3038.  
  3039. [190/258] Compiling engine/common/cmd.c
  3040. In file included from /usr/include/SDL2/SDL.h:36,
  3041. from ../common/port.h:151,
  3042. from ../engine/common/common.h:39,
  3043. from ../engine/common/custom.c:16:
  3044. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3045. int needed; /**< Set to 1 if conversion possible */
  3046. ^~~~~~
  3047. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3048. SDL_AudioFormat src_format; /**< Source audio format */
  3049. ^~~~~~~~~~
  3050. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3051. SDL_AudioFormat dst_format; /**< Target audio format */
  3052. ^~~~~~~~~~
  3053. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3054. double rate_incr; /**< Rate conversion increment */
  3055. ^~~~~~~~~
  3056. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3057. Uint8 *buf; /**< Buffer to hold entire audio data */
  3058. ^~~
  3059. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3060. int len; /**< Length of original audio buffer */
  3061. ^~~
  3062. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3063. int len_cvt; /**< Length of converted audio buffer */
  3064. ^~~~~~~
  3065. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3066. int len_mult; /**< buffer must be len*len_mult big */
  3067. ^~~~~~~~
  3068. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3069. double len_ratio; /**< Given len, final size is len*len_ratio */
  3070. ^~~~~~~~~
  3071. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3072. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3073. ^~~~~~~
  3074. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3075. int filter_index; /**< Current audio conversion function */
  3076. ^~~~~~~~~~~~
  3077.  
  3078. [191/258] Compiling engine/platform/posix/sys_posix.c
  3079. In file included from /usr/include/SDL2/SDL.h:36,
  3080. from ../common/port.h:151,
  3081. from ../engine/common/common.h:39,
  3082. from ../engine/platform/sdl/s_sdl.c:16:
  3083. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3084. int needed; /**< Set to 1 if conversion possible */
  3085. ^~~~~~
  3086. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3087. SDL_AudioFormat src_format; /**< Source audio format */
  3088. ^~~~~~~~~~
  3089. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3090. SDL_AudioFormat dst_format; /**< Target audio format */
  3091. ^~~~~~~~~~
  3092. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3093. double rate_incr; /**< Rate conversion increment */
  3094. ^~~~~~~~~
  3095. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3096. Uint8 *buf; /**< Buffer to hold entire audio data */
  3097. ^~~
  3098. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3099. int len; /**< Length of original audio buffer */
  3100. ^~~
  3101. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3102. int len_cvt; /**< Length of converted audio buffer */
  3103. ^~~~~~~
  3104. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3105. int len_mult; /**< buffer must be len*len_mult big */
  3106. ^~~~~~~~
  3107. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3108. double len_ratio; /**< Given len, final size is len*len_ratio */
  3109. ^~~~~~~~~
  3110. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3111. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3112. ^~~~~~~
  3113. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3114. int filter_index; /**< Current audio conversion function */
  3115. ^~~~~~~~~~~~
  3116.  
  3117. [192/258] Compiling engine/platform/posix/lib_posix.c
  3118. In file included from /usr/include/SDL2/SDL.h:36,
  3119. from ../common/port.h:151,
  3120. from ../engine/common/common.h:39,
  3121. from ../engine/client/s_utils.c:16:
  3122. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3123. int needed; /**< Set to 1 if conversion possible */
  3124. ^~~~~~
  3125. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3126. SDL_AudioFormat src_format; /**< Source audio format */
  3127. ^~~~~~~~~~
  3128. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3129. SDL_AudioFormat dst_format; /**< Target audio format */
  3130. ^~~~~~~~~~
  3131. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3132. double rate_incr; /**< Rate conversion increment */
  3133. ^~~~~~~~~
  3134. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3135. Uint8 *buf; /**< Buffer to hold entire audio data */
  3136. ^~~
  3137. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3138. int len; /**< Length of original audio buffer */
  3139. ^~~
  3140. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3141. int len_cvt; /**< Length of converted audio buffer */
  3142. ^~~~~~~
  3143. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3144. int len_mult; /**< buffer must be len*len_mult big */
  3145. ^~~~~~~~
  3146. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3147. double len_ratio; /**< Given len, final size is len*len_ratio */
  3148. ^~~~~~~~~
  3149. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3150. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3151. ^~~~~~~
  3152. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3153. int filter_index; /**< Current audio conversion function */
  3154. ^~~~~~~~~~~~
  3155. ../engine/client/s_utils.c: In function ‘S_ZeroCrossingBefore’:
  3156. ../engine/client/s_utils.c:81:19: warning: cast increases required alignment of target type [-Wcast-align]
  3157. short *pData = (short *)(pWaveData->buffer + sample * sampleSize);
  3158. ^
  3159. ../engine/client/s_utils.c: In function ‘S_ZeroCrossingAfter’:
  3160. ../engine/client/s_utils.c:178:19: warning: cast increases required alignment of target type [-Wcast-align]
  3161. short *pData = (short *)(pWaveData->buffer + sample * sampleSize);
  3162. ^
  3163.  
  3164. [193/258] Compiling engine/server/sv_init.c
  3165. In file included from /usr/include/SDL2/SDL.h:36,
  3166. from ../common/port.h:151,
  3167. from ../engine/common/common.h:39,
  3168. from ../engine/platform/platform.h:20,
  3169. from ../engine/platform/posix/sys_posix.c:21:
  3170. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3171. int needed; /**< Set to 1 if conversion possible */
  3172. ^~~~~~
  3173. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3174. SDL_AudioFormat src_format; /**< Source audio format */
  3175. ^~~~~~~~~~
  3176. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3177. SDL_AudioFormat dst_format; /**< Target audio format */
  3178. ^~~~~~~~~~
  3179. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3180. double rate_incr; /**< Rate conversion increment */
  3181. ^~~~~~~~~
  3182. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3183. Uint8 *buf; /**< Buffer to hold entire audio data */
  3184. ^~~
  3185. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3186. int len; /**< Length of original audio buffer */
  3187. ^~~
  3188. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3189. int len_cvt; /**< Length of converted audio buffer */
  3190. ^~~~~~~
  3191. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3192. int len_mult; /**< buffer must be len*len_mult big */
  3193. ^~~~~~~~
  3194. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3195. double len_ratio; /**< Given len, final size is len*len_ratio */
  3196. ^~~~~~~~~
  3197. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3198. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3199. ^~~~~~~
  3200. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3201. int filter_index; /**< Current audio conversion function */
  3202. ^~~~~~~~~~~~
  3203.  
  3204. [194/258] Compiling engine/client/mod_dbghulls.c
  3205. In file included from /usr/include/SDL2/SDL.h:36,
  3206. from ../common/port.h:151,
  3207. from ../engine/common/common.h:39,
  3208. from ../engine/platform/platform.h:20,
  3209. from ../engine/platform/posix/lib_posix.c:16:
  3210. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3211. int needed; /**< Set to 1 if conversion possible */
  3212. ^~~~~~
  3213. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3214. SDL_AudioFormat src_format; /**< Source audio format */
  3215. ^~~~~~~~~~
  3216. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3217. SDL_AudioFormat dst_format; /**< Target audio format */
  3218. ^~~~~~~~~~
  3219. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3220. double rate_incr; /**< Rate conversion increment */
  3221. ^~~~~~~~~
  3222. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3223. Uint8 *buf; /**< Buffer to hold entire audio data */
  3224. ^~~
  3225. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3226. int len; /**< Length of original audio buffer */
  3227. ^~~
  3228. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3229. int len_cvt; /**< Length of converted audio buffer */
  3230. ^~~~~~~
  3231. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3232. int len_mult; /**< buffer must be len*len_mult big */
  3233. ^~~~~~~~
  3234. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3235. double len_ratio; /**< Given len, final size is len*len_ratio */
  3236. ^~~~~~~~~
  3237. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3238. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3239. ^~~~~~~
  3240. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3241. int filter_index; /**< Current audio conversion function */
  3242. ^~~~~~~~~~~~
  3243.  
  3244. [195/258] Compiling engine/server/sv_frame.c
  3245. In file included from /usr/include/SDL2/SDL.h:36,
  3246. from ../common/port.h:151,
  3247. from ../engine/common/common.h:39,
  3248. from ../engine/common/cmd.c:16:
  3249. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3250. int needed; /**< Set to 1 if conversion possible */
  3251. ^~~~~~
  3252. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3253. SDL_AudioFormat src_format; /**< Source audio format */
  3254. ^~~~~~~~~~
  3255. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3256. SDL_AudioFormat dst_format; /**< Target audio format */
  3257. ^~~~~~~~~~
  3258. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3259. double rate_incr; /**< Rate conversion increment */
  3260. ^~~~~~~~~
  3261. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3262. Uint8 *buf; /**< Buffer to hold entire audio data */
  3263. ^~~
  3264. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3265. int len; /**< Length of original audio buffer */
  3266. ^~~
  3267. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3268. int len_cvt; /**< Length of converted audio buffer */
  3269. ^~~~~~~
  3270. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3271. int len_mult; /**< buffer must be len*len_mult big */
  3272. ^~~~~~~~
  3273. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3274. double len_ratio; /**< Given len, final size is len*len_ratio */
  3275. ^~~~~~~~~
  3276. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3277. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3278. ^~~~~~~
  3279. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3280. int filter_index; /**< Current audio conversion function */
  3281. ^~~~~~~~~~~~
  3282.  
  3283. [196/258] Compiling engine/client/cl_view.c
  3284. In file included from /usr/include/SDL2/SDL.h:36,
  3285. from ../common/port.h:151,
  3286. from ../engine/common/common.h:39,
  3287. from ../engine/server/sv_init.c:16:
  3288. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3289. int needed; /**< Set to 1 if conversion possible */
  3290. ^~~~~~
  3291. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3292. SDL_AudioFormat src_format; /**< Source audio format */
  3293. ^~~~~~~~~~
  3294. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3295. SDL_AudioFormat dst_format; /**< Target audio format */
  3296. ^~~~~~~~~~
  3297. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3298. double rate_incr; /**< Rate conversion increment */
  3299. ^~~~~~~~~
  3300. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3301. Uint8 *buf; /**< Buffer to hold entire audio data */
  3302. ^~~
  3303. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3304. int len; /**< Length of original audio buffer */
  3305. ^~~
  3306. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3307. int len_cvt; /**< Length of converted audio buffer */
  3308. ^~~~~~~
  3309. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3310. int len_mult; /**< buffer must be len*len_mult big */
  3311. ^~~~~~~~
  3312. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3313. double len_ratio; /**< Given len, final size is len*len_ratio */
  3314. ^~~~~~~~~
  3315. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3316. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3317. ^~~~~~~
  3318. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3319. int filter_index; /**< Current audio conversion function */
  3320. ^~~~~~~~~~~~
  3321. ../engine/server/sv_init.c: In function ‘CRC32_MapFile’:
  3322. ../engine/server/sv_init.c:804:11: warning: cast increases required alignment of target type [-Wcast-align]
  3323. header = (dheader_t *)headbuf;
  3324. ^
  3325.  
  3326. [197/258] Compiling engine/common/soundlib/libmpg/parse.c
  3327. In file included from /usr/include/SDL2/SDL.h:36,
  3328. from ../common/port.h:151,
  3329. from ../engine/common/common.h:39,
  3330. from ../engine/client/mod_dbghulls.c:15:
  3331. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3332. int needed; /**< Set to 1 if conversion possible */
  3333. ^~~~~~
  3334. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3335. SDL_AudioFormat src_format; /**< Source audio format */
  3336. ^~~~~~~~~~
  3337. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3338. SDL_AudioFormat dst_format; /**< Target audio format */
  3339. ^~~~~~~~~~
  3340. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3341. double rate_incr; /**< Rate conversion increment */
  3342. ^~~~~~~~~
  3343. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3344. Uint8 *buf; /**< Buffer to hold entire audio data */
  3345. ^~~
  3346. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3347. int len; /**< Length of original audio buffer */
  3348. ^~~
  3349. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3350. int len_cvt; /**< Length of converted audio buffer */
  3351. ^~~~~~~
  3352. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3353. int len_mult; /**< buffer must be len*len_mult big */
  3354. ^~~~~~~~
  3355. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3356. double len_ratio; /**< Given len, final size is len*len_ratio */
  3357. ^~~~~~~~~
  3358. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3359. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3360. ^~~~~~~
  3361. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3362. int filter_index; /**< Current audio conversion function */
  3363. ^~~~~~~~~~~~
  3364. ../engine/client/mod_dbghulls.c: In function ‘free_hull_polys’:
  3365. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3366. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3367. ^
  3368. ../engine/client/mod_dbghulls.c:35:13: note: in expansion of macro ‘list_entry’
  3369. for( pos = list_entry( (head)->next, winding_t, member ), \
  3370. ^~~~~~~~~~
  3371. ../engine/client/mod_dbghulls.c:496:2: note: in expansion of macro ‘list_for_each_entry_safe’
  3372. list_for_each_entry_safe( w, next, hull_polys, chain )
  3373. ^~~~~~~~~~~~~~~~~~~~~~~~
  3374. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3375. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3376. ^
  3377. ../engine/client/mod_dbghulls.c:36:11: note: in expansion of macro ‘list_entry’
  3378. n = list_entry( pos->member.next, winding_t, member ); \
  3379. ^~~~~~~~~~
  3380. ../engine/client/mod_dbghulls.c:496:2: note: in expansion of macro ‘list_for_each_entry_safe’
  3381. list_for_each_entry_safe( w, next, hull_polys, chain )
  3382. ^~~~~~~~~~~~~~~~~~~~~~~~
  3383. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3384. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3385. ^
  3386. ../engine/client/mod_dbghulls.c:38:20: note: in expansion of macro ‘list_entry’
  3387. pos = n, n = list_entry( n->member.next, winding_t, member ))
  3388. ^~~~~~~~~~
  3389. ../engine/client/mod_dbghulls.c:496:2: note: in expansion of macro ‘list_for_each_entry_safe’
  3390. list_for_each_entry_safe( w, next, hull_polys, chain )
  3391. ^~~~~~~~~~~~~~~~~~~~~~~~
  3392. ../engine/client/mod_dbghulls.c: In function ‘do_hull_recursion’:
  3393. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3394. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3395. ^
  3396. ../engine/client/mod_dbghulls.c:35:13: note: in expansion of macro ‘list_entry’
  3397. for( pos = list_entry( (head)->next, winding_t, member ), \
  3398. ^~~~~~~~~~
  3399. ../engine/client/mod_dbghulls.c:524:4: note: in expansion of macro ‘list_for_each_entry_safe’
  3400. list_for_each_entry_safe( w, next, polys, chain )
  3401. ^~~~~~~~~~~~~~~~~~~~~~~~
  3402. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3403. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3404. ^
  3405. ../engine/client/mod_dbghulls.c:36:11: note: in expansion of macro ‘list_entry’
  3406. n = list_entry( pos->member.next, winding_t, member ); \
  3407. ^~~~~~~~~~
  3408. ../engine/client/mod_dbghulls.c:524:4: note: in expansion of macro ‘list_for_each_entry_safe’
  3409. list_for_each_entry_safe( w, next, polys, chain )
  3410. ^~~~~~~~~~~~~~~~~~~~~~~~
  3411. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3412. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3413. ^
  3414. ../engine/client/mod_dbghulls.c:38:20: note: in expansion of macro ‘list_entry’
  3415. pos = n, n = list_entry( n->member.next, winding_t, member ))
  3416. ^~~~~~~~~~
  3417. ../engine/client/mod_dbghulls.c:524:4: note: in expansion of macro ‘list_for_each_entry_safe’
  3418. list_for_each_entry_safe( w, next, polys, chain )
  3419. ^~~~~~~~~~~~~~~~~~~~~~~~
  3420. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3421. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3422. ^
  3423. ../engine/client/mod_dbghulls.c:35:13: note: in expansion of macro ‘list_entry’
  3424. for( pos = list_entry( (head)->next, winding_t, member ), \
  3425. ^~~~~~~~~~
  3426. ../engine/client/mod_dbghulls.c:533:4: note: in expansion of macro ‘list_for_each_entry_safe’
  3427. list_for_each_entry_safe( w, next, polys, chain )
  3428. ^~~~~~~~~~~~~~~~~~~~~~~~
  3429. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3430. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3431. ^
  3432. ../engine/client/mod_dbghulls.c:36:11: note: in expansion of macro ‘list_entry’
  3433. n = list_entry( pos->member.next, winding_t, member ); \
  3434. ^~~~~~~~~~
  3435. ../engine/client/mod_dbghulls.c:533:4: note: in expansion of macro ‘list_for_each_entry_safe’
  3436. list_for_each_entry_safe( w, next, polys, chain )
  3437. ^~~~~~~~~~~~~~~~~~~~~~~~
  3438. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3439. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3440. ^
  3441. ../engine/client/mod_dbghulls.c:38:20: note: in expansion of macro ‘list_entry’
  3442. pos = n, n = list_entry( n->member.next, winding_t, member ))
  3443. ^~~~~~~~~~
  3444. ../engine/client/mod_dbghulls.c:533:4: note: in expansion of macro ‘list_for_each_entry_safe’
  3445. list_for_each_entry_safe( w, next, polys, chain )
  3446. ^~~~~~~~~~~~~~~~~~~~~~~~
  3447. ../engine/client/mod_dbghulls.c: In function ‘hull_windings_r’:
  3448. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3449. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3450. ^
  3451. ../engine/client/mod_dbghulls.c:35:13: note: in expansion of macro ‘list_entry’
  3452. for( pos = list_entry( (head)->next, winding_t, member ), \
  3453. ^~~~~~~~~~
  3454. ../engine/client/mod_dbghulls.c:557:2: note: in expansion of macro ‘list_for_each_entry_safe’
  3455. list_for_each_entry_safe( w, next, polys, chain )
  3456. ^~~~~~~~~~~~~~~~~~~~~~~~
  3457. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3458. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3459. ^
  3460. ../engine/client/mod_dbghulls.c:36:11: note: in expansion of macro ‘list_entry’
  3461. n = list_entry( pos->member.next, winding_t, member ); \
  3462. ^~~~~~~~~~
  3463. ../engine/client/mod_dbghulls.c:557:2: note: in expansion of macro ‘list_for_each_entry_safe’
  3464. list_for_each_entry_safe( w, next, polys, chain )
  3465. ^~~~~~~~~~~~~~~~~~~~~~~~
  3466. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3467. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3468. ^
  3469. ../engine/client/mod_dbghulls.c:38:20: note: in expansion of macro ‘list_entry’
  3470. pos = n, n = list_entry( n->member.next, winding_t, member ))
  3471. ^~~~~~~~~~
  3472. ../engine/client/mod_dbghulls.c:557:2: note: in expansion of macro ‘list_for_each_entry_safe’
  3473. list_for_each_entry_safe( w, next, polys, chain )
  3474. ^~~~~~~~~~~~~~~~~~~~~~~~
  3475. ../engine/client/mod_dbghulls.c: In function ‘remove_paired_polys’:
  3476. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3477. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3478. ^
  3479. ../engine/client/mod_dbghulls.c:35:13: note: in expansion of macro ‘list_entry’
  3480. for( pos = list_entry( (head)->next, winding_t, member ), \
  3481. ^~~~~~~~~~
  3482. ../engine/client/mod_dbghulls.c:634:2: note: in expansion of macro ‘list_for_each_entry_safe’
  3483. list_for_each_entry_safe( w, next, &model->polys, chain )
  3484. ^~~~~~~~~~~~~~~~~~~~~~~~
  3485. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3486. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3487. ^
  3488. ../engine/client/mod_dbghulls.c:36:11: note: in expansion of macro ‘list_entry’
  3489. n = list_entry( pos->member.next, winding_t, member ); \
  3490. ^~~~~~~~~~
  3491. ../engine/client/mod_dbghulls.c:634:2: note: in expansion of macro ‘list_for_each_entry_safe’
  3492. list_for_each_entry_safe( w, next, &model->polys, chain )
  3493. ^~~~~~~~~~~~~~~~~~~~~~~~
  3494. ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
  3495. ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
  3496. ^
  3497. ../engine/client/mod_dbghulls.c:38:20: note: in expansion of macro ‘list_entry’
  3498. pos = n, n = list_entry( n->member.next, winding_t, member ))
  3499. ^~~~~~~~~~
  3500. ../engine/client/mod_dbghulls.c:634:2: note: in expansion of macro ‘list_for_each_entry_safe’
  3501. list_for_each_entry_safe( w, next, &model->polys, chain )
  3502. ^~~~~~~~~~~~~~~~~~~~~~~~
  3503.  
  3504. [198/258] Compiling engine/client/s_vox.c
  3505. In file included from /usr/include/SDL2/SDL.h:36,
  3506. from ../common/port.h:151,
  3507. from ../engine/common/common.h:39,
  3508. from ../engine/server/sv_frame.c:16:
  3509. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3510. int needed; /**< Set to 1 if conversion possible */
  3511. ^~~~~~
  3512. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3513. SDL_AudioFormat src_format; /**< Source audio format */
  3514. ^~~~~~~~~~
  3515. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3516. SDL_AudioFormat dst_format; /**< Target audio format */
  3517. ^~~~~~~~~~
  3518. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3519. double rate_incr; /**< Rate conversion increment */
  3520. ^~~~~~~~~
  3521. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3522. Uint8 *buf; /**< Buffer to hold entire audio data */
  3523. ^~~
  3524. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3525. int len; /**< Length of original audio buffer */
  3526. ^~~
  3527. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3528. int len_cvt; /**< Length of converted audio buffer */
  3529. ^~~~~~~
  3530. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3531. int len_mult; /**< buffer must be len*len_mult big */
  3532. ^~~~~~~~
  3533. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3534. double len_ratio; /**< Given len, final size is len*len_ratio */
  3535. ^~~~~~~~~
  3536. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3537. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3538. ^~~~~~~
  3539. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3540. int filter_index; /**< Current audio conversion function */
  3541. ^~~~~~~~~~~~
  3542.  
  3543. [199/258] Compiling engine/common/soundlib/snd_mp3.c
  3544. In file included from /usr/include/SDL2/SDL.h:36,
  3545. from ../common/port.h:151,
  3546. from ../engine/common/common.h:39,
  3547. from ../engine/client/cl_view.c:16:
  3548. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3549. int needed; /**< Set to 1 if conversion possible */
  3550. ^~~~~~
  3551. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3552. SDL_AudioFormat src_format; /**< Source audio format */
  3553. ^~~~~~~~~~
  3554. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3555. SDL_AudioFormat dst_format; /**< Target audio format */
  3556. ^~~~~~~~~~
  3557. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3558. double rate_incr; /**< Rate conversion increment */
  3559. ^~~~~~~~~
  3560. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3561. Uint8 *buf; /**< Buffer to hold entire audio data */
  3562. ^~~
  3563. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3564. int len; /**< Length of original audio buffer */
  3565. ^~~
  3566. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3567. int len_cvt; /**< Length of converted audio buffer */
  3568. ^~~~~~~
  3569. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3570. int len_mult; /**< buffer must be len*len_mult big */
  3571. ^~~~~~~~
  3572. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3573. double len_ratio; /**< Given len, final size is len*len_ratio */
  3574. ^~~~~~~~~
  3575. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3576. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3577. ^~~~~~~
  3578. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3579. int filter_index; /**< Current audio conversion function */
  3580. ^~~~~~~~~~~~
  3581.  
  3582. [200/258] Compiling engine/common/soundlib/snd_main.c
  3583. In file included from /usr/include/SDL2/SDL.h:36,
  3584. from ../common/port.h:151,
  3585. from ../engine/common/common.h:39,
  3586. from ../engine/common/soundlib/soundlib.h:19,
  3587. from ../engine/common/soundlib/snd_mp3.c:16:
  3588. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3589. int needed; /**< Set to 1 if conversion possible */
  3590. ^~~~~~
  3591. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3592. SDL_AudioFormat src_format; /**< Source audio format */
  3593. ^~~~~~~~~~
  3594. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3595. SDL_AudioFormat dst_format; /**< Target audio format */
  3596. ^~~~~~~~~~
  3597. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3598. double rate_incr; /**< Rate conversion increment */
  3599. ^~~~~~~~~
  3600. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3601. Uint8 *buf; /**< Buffer to hold entire audio data */
  3602. ^~~
  3603. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3604. int len; /**< Length of original audio buffer */
  3605. ^~~
  3606. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3607. int len_cvt; /**< Length of converted audio buffer */
  3608. ^~~~~~~
  3609. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3610. int len_mult; /**< buffer must be len*len_mult big */
  3611. ^~~~~~~~
  3612. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3613. double len_ratio; /**< Given len, final size is len*len_ratio */
  3614. ^~~~~~~~~
  3615. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3616. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3617. ^~~~~~~
  3618. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3619. int filter_index; /**< Current audio conversion function */
  3620. ^~~~~~~~~~~~
  3621.  
  3622. [201/258] Compiling engine/client/cl_efrag.c
  3623. [202/258] Compiling engine/platform/linux/s_alsa.c
  3624. In file included from /usr/include/SDL2/SDL.h:36,
  3625. from ../common/port.h:151,
  3626. from ../engine/common/common.h:39,
  3627. from ../engine/client/s_vox.c:16:
  3628. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3629. int needed; /**< Set to 1 if conversion possible */
  3630. ^~~~~~
  3631. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3632. SDL_AudioFormat src_format; /**< Source audio format */
  3633. ^~~~~~~~~~
  3634. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3635. SDL_AudioFormat dst_format; /**< Target audio format */
  3636. ^~~~~~~~~~
  3637. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3638. double rate_incr; /**< Rate conversion increment */
  3639. ^~~~~~~~~
  3640. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3641. Uint8 *buf; /**< Buffer to hold entire audio data */
  3642. ^~~
  3643. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3644. int len; /**< Length of original audio buffer */
  3645. ^~~
  3646. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3647. int len_cvt; /**< Length of converted audio buffer */
  3648. ^~~~~~~
  3649. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3650. int len_mult; /**< buffer must be len*len_mult big */
  3651. ^~~~~~~~
  3652. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3653. double len_ratio; /**< Given len, final size is len*len_ratio */
  3654. ^~~~~~~~~
  3655. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3656. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3657. ^~~~~~~
  3658. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3659. int filter_index; /**< Current audio conversion function */
  3660. ^~~~~~~~~~~~
  3661.  
  3662. [203/258] Compiling engine/common/soundlib/libmpg/format.c
  3663. In file included from /usr/include/SDL2/SDL.h:36,
  3664. from ../common/port.h:151,
  3665. from ../engine/common/common.h:39,
  3666. from ../engine/common/soundlib/soundlib.h:19,
  3667. from ../engine/common/soundlib/snd_main.c:16:
  3668. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3669. int needed; /**< Set to 1 if conversion possible */
  3670. ^~~~~~
  3671. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3672. SDL_AudioFormat src_format; /**< Source audio format */
  3673. ^~~~~~~~~~
  3674. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3675. SDL_AudioFormat dst_format; /**< Target audio format */
  3676. ^~~~~~~~~~
  3677. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3678. double rate_incr; /**< Rate conversion increment */
  3679. ^~~~~~~~~
  3680. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3681. Uint8 *buf; /**< Buffer to hold entire audio data */
  3682. ^~~
  3683. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3684. int len; /**< Length of original audio buffer */
  3685. ^~~
  3686. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3687. int len_cvt; /**< Length of converted audio buffer */
  3688. ^~~~~~~
  3689. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3690. int len_mult; /**< buffer must be len*len_mult big */
  3691. ^~~~~~~~
  3692. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3693. double len_ratio; /**< Given len, final size is len*len_ratio */
  3694. ^~~~~~~~~
  3695. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3696. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3697. ^~~~~~~
  3698. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3699. int filter_index; /**< Current audio conversion function */
  3700. ^~~~~~~~~~~~
  3701.  
  3702. [204/258] Compiling engine/server/sv_move.c
  3703. In file included from /usr/include/SDL2/SDL.h:36,
  3704. from ../common/port.h:151,
  3705. from ../engine/common/common.h:39,
  3706. from ../engine/platform/platform.h:20,
  3707. from ../engine/platform/linux/s_alsa.c:16:
  3708. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3709. int needed; /**< Set to 1 if conversion possible */
  3710. ^~~~~~
  3711. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3712. SDL_AudioFormat src_format; /**< Source audio format */
  3713. ^~~~~~~~~~
  3714. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3715. SDL_AudioFormat dst_format; /**< Target audio format */
  3716. ^~~~~~~~~~
  3717. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3718. double rate_incr; /**< Rate conversion increment */
  3719. ^~~~~~~~~
  3720. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3721. Uint8 *buf; /**< Buffer to hold entire audio data */
  3722. ^~~
  3723. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3724. int len; /**< Length of original audio buffer */
  3725. ^~~
  3726. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3727. int len_cvt; /**< Length of converted audio buffer */
  3728. ^~~~~~~
  3729. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3730. int len_mult; /**< buffer must be len*len_mult big */
  3731. ^~~~~~~~
  3732. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3733. double len_ratio; /**< Given len, final size is len*len_ratio */
  3734. ^~~~~~~~~
  3735. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3736. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3737. ^~~~~~~
  3738. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3739. int filter_index; /**< Current audio conversion function */
  3740. ^~~~~~~~~~~~
  3741.  
  3742. [205/258] Compiling engine/common/imagelib/img_quant.c
  3743. ../engine/common/soundlib/libmpg/format.c: In function ‘conv_s16_to_u16’:
  3744. ../engine/common/soundlib/libmpg/format.c:410:22: warning: cast increases required alignment of target type [-Wcast-align]
  3745. int16_t *ssamples = (int16_t *)buf->data;
  3746. ^
  3747. ../engine/common/soundlib/libmpg/format.c:411:23: warning: cast increases required alignment of target type [-Wcast-align]
  3748. uint16_t *usamples = (uint16_t *)buf->data;
  3749. ^
  3750.  
  3751. [206/258] Compiling engine/server/sv_cmds.c
  3752. In file included from /usr/include/SDL2/SDL.h:36,
  3753. from ../common/port.h:151,
  3754. from ../engine/common/common.h:39,
  3755. from ../engine/client/cl_efrag.c:16:
  3756. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3757. int needed; /**< Set to 1 if conversion possible */
  3758. ^~~~~~
  3759. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3760. SDL_AudioFormat src_format; /**< Source audio format */
  3761. ^~~~~~~~~~
  3762. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3763. SDL_AudioFormat dst_format; /**< Target audio format */
  3764. ^~~~~~~~~~
  3765. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3766. double rate_incr; /**< Rate conversion increment */
  3767. ^~~~~~~~~
  3768. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3769. Uint8 *buf; /**< Buffer to hold entire audio data */
  3770. ^~~
  3771. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3772. int len; /**< Length of original audio buffer */
  3773. ^~~
  3774. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3775. int len_cvt; /**< Length of converted audio buffer */
  3776. ^~~~~~~
  3777. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3778. int len_mult; /**< buffer must be len*len_mult big */
  3779. ^~~~~~~~
  3780. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3781. double len_ratio; /**< Given len, final size is len*len_ratio */
  3782. ^~~~~~~~~
  3783. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3784. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3785. ^~~~~~~
  3786. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3787. int filter_index; /**< Current audio conversion function */
  3788. ^~~~~~~~~~~~
  3789.  
  3790. [207/258] Compiling engine/common/net_encode.c
  3791. In file included from /usr/include/SDL2/SDL.h:36,
  3792. from ../common/port.h:151,
  3793. from ../engine/common/common.h:39,
  3794. from ../engine/common/imagelib/imagelib.h:19,
  3795. from ../engine/common/imagelib/img_quant.c:16:
  3796. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3797. int needed; /**< Set to 1 if conversion possible */
  3798. ^~~~~~
  3799. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3800. SDL_AudioFormat src_format; /**< Source audio format */
  3801. ^~~~~~~~~~
  3802. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3803. SDL_AudioFormat dst_format; /**< Target audio format */
  3804. ^~~~~~~~~~
  3805. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3806. double rate_incr; /**< Rate conversion increment */
  3807. ^~~~~~~~~
  3808. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3809. Uint8 *buf; /**< Buffer to hold entire audio data */
  3810. ^~~
  3811. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3812. int len; /**< Length of original audio buffer */
  3813. ^~~
  3814. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3815. int len_cvt; /**< Length of converted audio buffer */
  3816. ^~~~~~~
  3817. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3818. int len_mult; /**< buffer must be len*len_mult big */
  3819. ^~~~~~~~
  3820. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3821. double len_ratio; /**< Given len, final size is len*len_ratio */
  3822. ^~~~~~~~~
  3823. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3824. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3825. ^~~~~~~
  3826. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3827. int filter_index; /**< Current audio conversion function */
  3828. ^~~~~~~~~~~~
  3829.  
  3830. [208/258] Compiling engine/platform/sdl/vid_sdl.c
  3831. In file included from /usr/include/SDL2/SDL.h:36,
  3832. from ../common/port.h:151,
  3833. from ../engine/common/common.h:39,
  3834. from ../engine/server/sv_move.c:16:
  3835. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3836. int needed; /**< Set to 1 if conversion possible */
  3837. ^~~~~~
  3838. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3839. SDL_AudioFormat src_format; /**< Source audio format */
  3840. ^~~~~~~~~~
  3841. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3842. SDL_AudioFormat dst_format; /**< Target audio format */
  3843. ^~~~~~~~~~
  3844. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3845. double rate_incr; /**< Rate conversion increment */
  3846. ^~~~~~~~~
  3847. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3848. Uint8 *buf; /**< Buffer to hold entire audio data */
  3849. ^~~
  3850. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3851. int len; /**< Length of original audio buffer */
  3852. ^~~
  3853. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3854. int len_cvt; /**< Length of converted audio buffer */
  3855. ^~~~~~~
  3856. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3857. int len_mult; /**< buffer must be len*len_mult big */
  3858. ^~~~~~~~
  3859. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3860. double len_ratio; /**< Given len, final size is len*len_ratio */
  3861. ^~~~~~~~~
  3862. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3863. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3864. ^~~~~~~
  3865. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3866. int filter_index; /**< Current audio conversion function */
  3867. ^~~~~~~~~~~~
  3868.  
  3869. [209/258] Compiling engine/common/lib_common.c
  3870. In file included from /usr/include/SDL2/SDL.h:36,
  3871. from ../common/port.h:151,
  3872. from ../engine/common/common.h:39,
  3873. from ../engine/server/sv_cmds.c:16:
  3874. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3875. int needed; /**< Set to 1 if conversion possible */
  3876. ^~~~~~
  3877. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3878. SDL_AudioFormat src_format; /**< Source audio format */
  3879. ^~~~~~~~~~
  3880. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3881. SDL_AudioFormat dst_format; /**< Target audio format */
  3882. ^~~~~~~~~~
  3883. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3884. double rate_incr; /**< Rate conversion increment */
  3885. ^~~~~~~~~
  3886. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3887. Uint8 *buf; /**< Buffer to hold entire audio data */
  3888. ^~~
  3889. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3890. int len; /**< Length of original audio buffer */
  3891. ^~~
  3892. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3893. int len_cvt; /**< Length of converted audio buffer */
  3894. ^~~~~~~
  3895. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3896. int len_mult; /**< buffer must be len*len_mult big */
  3897. ^~~~~~~~
  3898. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3899. double len_ratio; /**< Given len, final size is len*len_ratio */
  3900. ^~~~~~~~~
  3901. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3902. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3903. ^~~~~~~
  3904. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3905. int filter_index; /**< Current audio conversion function */
  3906. ^~~~~~~~~~~~
  3907.  
  3908. [210/258] Compiling engine/common/net_buffer.c
  3909. In file included from /usr/include/SDL2/SDL.h:36,
  3910. from ../common/port.h:151,
  3911. from ../engine/common/common.h:39,
  3912. from ../engine/common/lib_common.c:16:
  3913. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3914. int needed; /**< Set to 1 if conversion possible */
  3915. ^~~~~~
  3916. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3917. SDL_AudioFormat src_format; /**< Source audio format */
  3918. ^~~~~~~~~~
  3919. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3920. SDL_AudioFormat dst_format; /**< Target audio format */
  3921. ^~~~~~~~~~
  3922. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3923. double rate_incr; /**< Rate conversion increment */
  3924. ^~~~~~~~~
  3925. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3926. Uint8 *buf; /**< Buffer to hold entire audio data */
  3927. ^~~
  3928. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3929. int len; /**< Length of original audio buffer */
  3930. ^~~
  3931. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3932. int len_cvt; /**< Length of converted audio buffer */
  3933. ^~~~~~~
  3934. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3935. int len_mult; /**< buffer must be len*len_mult big */
  3936. ^~~~~~~~
  3937. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3938. double len_ratio; /**< Given len, final size is len*len_ratio */
  3939. ^~~~~~~~~
  3940. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3941. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3942. ^~~~~~~
  3943. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3944. int filter_index; /**< Current audio conversion function */
  3945. ^~~~~~~~~~~~
  3946.  
  3947. [211/258] Compiling engine/client/cl_video.c
  3948. In file included from /usr/include/SDL2/SDL.h:36,
  3949. from ../engine/platform/sdl/vid_sdl.c:16:
  3950. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3951. int needed; /**< Set to 1 if conversion possible */
  3952. ^~~~~~
  3953. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3954. SDL_AudioFormat src_format; /**< Source audio format */
  3955. ^~~~~~~~~~
  3956. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3957. SDL_AudioFormat dst_format; /**< Target audio format */
  3958. ^~~~~~~~~~
  3959. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3960. double rate_incr; /**< Rate conversion increment */
  3961. ^~~~~~~~~
  3962. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  3963. Uint8 *buf; /**< Buffer to hold entire audio data */
  3964. ^~~
  3965. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  3966. int len; /**< Length of original audio buffer */
  3967. ^~~
  3968. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  3969. int len_cvt; /**< Length of converted audio buffer */
  3970. ^~~~~~~
  3971. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  3972. int len_mult; /**< buffer must be len*len_mult big */
  3973. ^~~~~~~~
  3974. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  3975. double len_ratio; /**< Given len, final size is len*len_ratio */
  3976. ^~~~~~~~~
  3977. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  3978. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  3979. ^~~~~~~
  3980. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  3981. int filter_index; /**< Current audio conversion function */
  3982. ^~~~~~~~~~~~
  3983.  
  3984. [212/258] Compiling engine/common/pm_surface.c
  3985. In file included from /usr/include/SDL2/SDL.h:36,
  3986. from ../common/port.h:151,
  3987. from ../engine/common/common.h:39,
  3988. from ../engine/client/cl_video.c:16:
  3989. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  3990. int needed; /**< Set to 1 if conversion possible */
  3991. ^~~~~~
  3992. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  3993. SDL_AudioFormat src_format; /**< Source audio format */
  3994. ^~~~~~~~~~
  3995. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  3996. SDL_AudioFormat dst_format; /**< Target audio format */
  3997. ^~~~~~~~~~
  3998. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  3999. double rate_incr; /**< Rate conversion increment */
  4000. ^~~~~~~~~
  4001. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4002. Uint8 *buf; /**< Buffer to hold entire audio data */
  4003. ^~~
  4004. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4005. int len; /**< Length of original audio buffer */
  4006. ^~~
  4007. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4008. int len_cvt; /**< Length of converted audio buffer */
  4009. ^~~~~~~
  4010. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4011. int len_mult; /**< buffer must be len*len_mult big */
  4012. ^~~~~~~~
  4013. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4014. double len_ratio; /**< Given len, final size is len*len_ratio */
  4015. ^~~~~~~~~
  4016. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4017. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4018. ^~~~~~~
  4019. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4020. int filter_index; /**< Current audio conversion function */
  4021. ^~~~~~~~~~~~
  4022.  
  4023. [213/258] Compiling engine/client/cl_remap.c
  4024. In file included from /usr/include/SDL2/SDL.h:36,
  4025. from ../common/port.h:151,
  4026. from ../engine/common/common.h:39,
  4027. from ../engine/common/net_encode.c:16:
  4028. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4029. int needed; /**< Set to 1 if conversion possible */
  4030. ^~~~~~
  4031. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4032. SDL_AudioFormat src_format; /**< Source audio format */
  4033. ^~~~~~~~~~
  4034. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4035. SDL_AudioFormat dst_format; /**< Target audio format */
  4036. ^~~~~~~~~~
  4037. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4038. double rate_incr; /**< Rate conversion increment */
  4039. ^~~~~~~~~
  4040. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4041. Uint8 *buf; /**< Buffer to hold entire audio data */
  4042. ^~~
  4043. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4044. int len; /**< Length of original audio buffer */
  4045. ^~~
  4046. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4047. int len_cvt; /**< Length of converted audio buffer */
  4048. ^~~~~~~
  4049. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4050. int len_mult; /**< buffer must be len*len_mult big */
  4051. ^~~~~~~~
  4052. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4053. double len_ratio; /**< Given len, final size is len*len_ratio */
  4054. ^~~~~~~~~
  4055. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4056. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4057. ^~~~~~~
  4058. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4059. int filter_index; /**< Current audio conversion function */
  4060. ^~~~~~~~~~~~
  4061. ../engine/common/net_encode.c: In function ‘Delta_CompareField’:
  4062. ../engine/common/net_encode.c:959:13: warning: cast increases required alignment of target type [-Wcast-align]
  4063. fromF = *(short *)((byte *)from + pField->offset );
  4064. ^
  4065. ../engine/common/net_encode.c:960:11: warning: cast increases required alignment of target type [-Wcast-align]
  4066. toF = *(short *)((byte *)to + pField->offset );
  4067. ^
  4068. ../engine/common/net_encode.c:964:13: warning: cast increases required alignment of target type [-Wcast-align]
  4069. fromF = *(word *)((byte *)from + pField->offset );
  4070. ^
  4071. ../engine/common/net_encode.c:965:11: warning: cast increases required alignment of target type [-Wcast-align]
  4072. toF = *(word *)((byte *)to + pField->offset );
  4073. ^
  4074. ../engine/common/net_encode.c:981:13: warning: cast increases required alignment of target type [-Wcast-align]
  4075. fromF = *(int *)((byte *)from + pField->offset );
  4076. ^
  4077. ../engine/common/net_encode.c:982:11: warning: cast increases required alignment of target type [-Wcast-align]
  4078. toF = *(int *)((byte *)to + pField->offset );
  4079. ^
  4080. ../engine/common/net_encode.c:986:13: warning: cast increases required alignment of target type [-Wcast-align]
  4081. fromF = *(uint *)((byte *)from + pField->offset );
  4082. ^
  4083. ../engine/common/net_encode.c:987:11: warning: cast increases required alignment of target type [-Wcast-align]
  4084. toF = *(uint *)((byte *)to + pField->offset );
  4085. ^
  4086. ../engine/common/net_encode.c:1000:13: warning: cast increases required alignment of target type [-Wcast-align]
  4087. fromF = *((int *)((byte *)from + pField->offset ));
  4088. ^
  4089. ../engine/common/net_encode.c:1001:11: warning: cast increases required alignment of target type [-Wcast-align]
  4090. toF = *((int *)((byte *)to + pField->offset ));
  4091. ^
  4092. In file included from ../engine/common/net_encode.c:18:
  4093. ../engine/common/net_encode.c:1005:20: warning: cast increases required alignment of target type [-Wcast-align]
  4094. val_a = Q_rint((*(float *)((byte *)from + pField->offset )) * 100.0f );
  4095. ^
  4096. ../public/xash3d_mathlib.h:80:22: note: in definition of macro ‘Q_rint’
  4097. #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
  4098. ^
  4099. ../engine/common/net_encode.c:1005:20: warning: cast increases required alignment of target type [-Wcast-align]
  4100. val_a = Q_rint((*(float *)((byte *)from + pField->offset )) * 100.0f );
  4101. ^
  4102. ../public/xash3d_mathlib.h:80:42: note: in definition of macro ‘Q_rint’
  4103. #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
  4104. ^
  4105. ../engine/common/net_encode.c:1005:20: warning: cast increases required alignment of target type [-Wcast-align]
  4106. val_a = Q_rint((*(float *)((byte *)from + pField->offset )) * 100.0f );
  4107. ^
  4108. ../public/xash3d_mathlib.h:80:62: note: in definition of macro ‘Q_rint’
  4109. #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
  4110. ^
  4111. ../engine/common/net_encode.c:1006:20: warning: cast increases required alignment of target type [-Wcast-align]
  4112. val_b = Q_rint((*(float *)((byte *)to + pField->offset )) * 100.0f );
  4113. ^
  4114. ../public/xash3d_mathlib.h:80:22: note: in definition of macro ‘Q_rint’
  4115. #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
  4116. ^
  4117. ../engine/common/net_encode.c:1006:20: warning: cast increases required alignment of target type [-Wcast-align]
  4118. val_b = Q_rint((*(float *)((byte *)to + pField->offset )) * 100.0f );
  4119. ^
  4120. ../public/xash3d_mathlib.h:80:42: note: in definition of macro ‘Q_rint’
  4121. #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
  4122. ^
  4123. ../engine/common/net_encode.c:1006:20: warning: cast increases required alignment of target type [-Wcast-align]
  4124. val_b = Q_rint((*(float *)((byte *)to + pField->offset )) * 100.0f );
  4125. ^
  4126. ../public/xash3d_mathlib.h:80:62: note: in definition of macro ‘Q_rint’
  4127. #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
  4128. ^
  4129. ../engine/common/net_encode.c:1009:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  4130. fromF = *((int *)&val_a);
  4131. ~^~~~~~~~~~~~~~
  4132. ../engine/common/net_encode.c:1010:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  4133. toF = *((int *)&val_b);
  4134. ~^~~~~~~~~~~~~~
  4135. ../engine/common/net_encode.c:1014:13: warning: cast increases required alignment of target type [-Wcast-align]
  4136. val_a = (*(float *)((byte *)from + pField->offset ));
  4137. ^
  4138. ../engine/common/net_encode.c:1015:13: warning: cast increases required alignment of target type [-Wcast-align]
  4139. val_b = (*(float *)((byte *)to + pField->offset ));
  4140. ^
  4141. ../engine/common/net_encode.c:1030:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  4142. fromF = *((int *)&val_a);
  4143. ~^~~~~~~~~~~~~~
  4144. ../engine/common/net_encode.c:1031:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  4145. toF = *((int *)&val_b);
  4146. ~^~~~~~~~~~~~~~
  4147. ../engine/common/net_encode.c: In function ‘Delta_WriteField’:
  4148. ../engine/common/net_encode.c:1139:14: warning: cast increases required alignment of target type [-Wcast-align]
  4149. iValue = *(int16_t *)((int8_t *)to + pField->offset );
  4150. ^
  4151. ../engine/common/net_encode.c:1141:14: warning: cast increases required alignment of target type [-Wcast-align]
  4152. iValue = *(uint16_t *)((int8_t *)to + pField->offset );
  4153. ^
  4154. ../engine/common/net_encode.c:1153:14: warning: cast increases required alignment of target type [-Wcast-align]
  4155. iValue = *(int32_t *)((int8_t *)to + pField->offset );
  4156. ^
  4157. ../engine/common/net_encode.c:1155:14: warning: cast increases required alignment of target type [-Wcast-align]
  4158. iValue = *(uint32_t *)((int8_t *)to + pField->offset );
  4159. ^
  4160. ../engine/common/net_encode.c:1165:14: warning: cast increases required alignment of target type [-Wcast-align]
  4161. flValue = *(float *)((byte *)to + pField->offset );
  4162. ^
  4163. ../engine/common/net_encode.c:1172:14: warning: cast increases required alignment of target type [-Wcast-align]
  4164. flAngle = *(float *)((byte *)to + pField->offset );
  4165. ^
  4166. ../engine/common/net_encode.c:1180:14: warning: cast increases required alignment of target type [-Wcast-align]
  4167. flValue = *(float *)((byte *)to + pField->offset );
  4168. ^
  4169. ../engine/common/net_encode.c:1188:14: warning: cast increases required alignment of target type [-Wcast-align]
  4170. flValue = *(float *)((byte *)to + pField->offset );
  4171. ^
  4172. ../engine/common/net_encode.c: In function ‘Delta_ReadField’:
  4173. ../engine/common/net_encode.c:1252:15: warning: cast increases required alignment of target type [-Wcast-align]
  4174. iValue = *(int16_t *)((uint8_t *)from + pField->offset );
  4175. ^
  4176. ../engine/common/net_encode.c:1254:15: warning: cast increases required alignment of target type [-Wcast-align]
  4177. iValue = *(uint16_t *)((uint8_t *)from + pField->offset );
  4178. ^
  4179. ../engine/common/net_encode.c:1257:5: warning: cast increases required alignment of target type [-Wcast-align]
  4180. *(int16_t *)((uint8_t *)to + pField->offset ) = iValue;
  4181. ^
  4182. ../engine/common/net_encode.c:1259:5: warning: cast increases required alignment of target type [-Wcast-align]
  4183. *(uint16_t *)((uint8_t *)to + pField->offset ) = iValue;
  4184. ^
  4185. ../engine/common/net_encode.c:1275:15: warning: cast increases required alignment of target type [-Wcast-align]
  4186. iValue = *(int32_t *)((uint8_t *)from + pField->offset );
  4187. ^
  4188. ../engine/common/net_encode.c:1277:15: warning: cast increases required alignment of target type [-Wcast-align]
  4189. iValue = *(uint32_t *)((uint8_t *)from + pField->offset );
  4190. ^
  4191. ../engine/common/net_encode.c:1280:5: warning: cast increases required alignment of target type [-Wcast-align]
  4192. *(int32_t *)((uint8_t *)to + pField->offset ) = iValue;
  4193. ^
  4194. ../engine/common/net_encode.c:1282:5: warning: cast increases required alignment of target type [-Wcast-align]
  4195. *(uint32_t *)((uint8_t *)to + pField->offset ) = iValue;
  4196. ^
  4197. ../engine/common/net_encode.c:1297:15: warning: cast increases required alignment of target type [-Wcast-align]
  4198. flValue = *(float *)((byte *)from + pField->offset );
  4199. ^
  4200. ../engine/common/net_encode.c:1299:4: warning: cast increases required alignment of target type [-Wcast-align]
  4201. *(float *)((byte *)to + pField->offset ) = flValue;
  4202. ^
  4203. ../engine/common/net_encode.c:1309:15: warning: cast increases required alignment of target type [-Wcast-align]
  4204. flAngle = *(float *)((byte *)from + pField->offset );
  4205. ^
  4206. ../engine/common/net_encode.c:1311:4: warning: cast increases required alignment of target type [-Wcast-align]
  4207. *(float *)((byte *)to + pField->offset ) = flAngle;
  4208. ^
  4209. ../engine/common/net_encode.c:1323:14: warning: cast increases required alignment of target type [-Wcast-align]
  4210. flTime = *(float *)((byte *)from + pField->offset );
  4211. ^
  4212. ../engine/common/net_encode.c:1325:4: warning: cast increases required alignment of target type [-Wcast-align]
  4213. *(float *)((byte *)to + pField->offset ) = flTime;
  4214. ^
  4215. ../engine/common/net_encode.c:1337:14: warning: cast increases required alignment of target type [-Wcast-align]
  4216. flTime = *(float *)((byte *)from + pField->offset );
  4217. ^
  4218. ../engine/common/net_encode.c:1339:4: warning: cast increases required alignment of target type [-Wcast-align]
  4219. *(float *)((byte *)to + pField->offset ) = flTime;
  4220. ^
  4221.  
  4222. [214/258] Compiling engine/common/mod_sprite.c
  4223. In file included from /usr/include/SDL2/SDL.h:36,
  4224. from ../common/port.h:151,
  4225. from ../engine/common/common.h:39,
  4226. from ../engine/common/pm_surface.c:16:
  4227. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4228. int needed; /**< Set to 1 if conversion possible */
  4229. ^~~~~~
  4230. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4231. SDL_AudioFormat src_format; /**< Source audio format */
  4232. ^~~~~~~~~~
  4233. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4234. SDL_AudioFormat dst_format; /**< Target audio format */
  4235. ^~~~~~~~~~
  4236. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4237. double rate_incr; /**< Rate conversion increment */
  4238. ^~~~~~~~~
  4239. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4240. Uint8 *buf; /**< Buffer to hold entire audio data */
  4241. ^~~
  4242. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4243. int len; /**< Length of original audio buffer */
  4244. ^~~
  4245. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4246. int len_cvt; /**< Length of converted audio buffer */
  4247. ^~~~~~~
  4248. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4249. int len_mult; /**< buffer must be len*len_mult big */
  4250. ^~~~~~~~
  4251. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4252. double len_ratio; /**< Given len, final size is len*len_ratio */
  4253. ^~~~~~~~~
  4254. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4255. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4256. ^~~~~~~
  4257. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4258. int filter_index; /**< Current audio conversion function */
  4259. ^~~~~~~~~~~~
  4260.  
  4261. [215/258] Compiling engine/platform/sdl/events.c
  4262. In file included from /usr/include/SDL2/SDL.h:36,
  4263. from ../common/port.h:151,
  4264. from ../engine/common/common.h:39,
  4265. from ../engine/common/net_buffer.c:16:
  4266. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4267. int needed; /**< Set to 1 if conversion possible */
  4268. ^~~~~~
  4269. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4270. SDL_AudioFormat src_format; /**< Source audio format */
  4271. ^~~~~~~~~~
  4272. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4273. SDL_AudioFormat dst_format; /**< Target audio format */
  4274. ^~~~~~~~~~
  4275. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4276. double rate_incr; /**< Rate conversion increment */
  4277. ^~~~~~~~~
  4278. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4279. Uint8 *buf; /**< Buffer to hold entire audio data */
  4280. ^~~
  4281. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4282. int len; /**< Length of original audio buffer */
  4283. ^~~
  4284. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4285. int len_cvt; /**< Length of converted audio buffer */
  4286. ^~~~~~~
  4287. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4288. int len_mult; /**< buffer must be len*len_mult big */
  4289. ^~~~~~~~
  4290. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4291. double len_ratio; /**< Given len, final size is len*len_ratio */
  4292. ^~~~~~~~~
  4293. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4294. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4295. ^~~~~~~
  4296. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4297. int filter_index; /**< Current audio conversion function */
  4298. ^~~~~~~~~~~~
  4299. ../engine/common/net_buffer.c: In function ‘MSG_WriteUBitLong’:
  4300. ../engine/common/net_buffer.c:171:4: warning: cast increases required alignment of target type [-Wcast-align]
  4301. ((dword *)sb->pData)[iDWord] &= BitWriteMasks[iCurBitMasked][nBitsLeft];
  4302. ^
  4303. ../engine/common/net_buffer.c:172:4: warning: cast increases required alignment of target type [-Wcast-align]
  4304. ((dword *)sb->pData)[iDWord] |= curData << iCurBitMasked;
  4305. ^
  4306. ../engine/common/net_buffer.c:184:5: warning: cast increases required alignment of target type [-Wcast-align]
  4307. ((dword *)sb->pData)[iDWord+1] &= BitWriteMasks[iCurBitMasked][nBitsLeft];
  4308. ^
  4309. ../engine/common/net_buffer.c:185:5: warning: cast increases required alignment of target type [-Wcast-align]
  4310. ((dword *)sb->pData)[iDWord+1] |= curData << iCurBitMasked;
  4311. ^
  4312. ../engine/common/net_buffer.c: In function ‘MSG_WriteBits’:
  4313. ../engine/common/net_buffer.c:241:28: warning: cast increases required alignment of target type [-Wcast-align]
  4314. MSG_WriteUBitLong( sb, *(( dword *)pOut ), 32 );
  4315. ^
  4316. ../engine/common/net_buffer.c: In function ‘MSG_WriteBitFloat’:
  4317. ../engine/common/net_buffer.c:312:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  4318. intVal = *((int *)&val );
  4319. ~^~~~~~~~~~~~~
  4320. ../engine/common/net_buffer.c: In function ‘MSG_ReadUBitLong’:
  4321. ../engine/common/net_buffer.c:433:12: warning: cast increases required alignment of target type [-Wcast-align]
  4322. dword1 = ((uint *)sb->pData)[idword1];
  4323. ^
  4324. ../engine/common/net_buffer.c:448:18: warning: cast increases required alignment of target type [-Wcast-align]
  4325. uint dword2 = ((uint *)sb->pData)[idword1+1] & ExtraMasks[nExtraBits];
  4326. ^
  4327. ../engine/common/net_buffer.c: In function ‘MSG_ReadBitFloat’:
  4328. ../engine/common/net_buffer.c:480:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  4329. return *((float *)&val);
  4330. ~^~~~~~~~~~~~~~
  4331. ../engine/common/net_buffer.c: In function ‘MSG_ReadBits’:
  4332. ../engine/common/net_buffer.c:499:5: warning: cast increases required alignment of target type [-Wcast-align]
  4333. *((dword *)pOut) = MSG_ReadUBitLong( sb, 32 );
  4334. ^
  4335.  
  4336. [216/258] Compiling engine/common/imagelib/img_tga.c
  4337. In file included from /usr/include/SDL2/SDL.h:36,
  4338. from ../common/port.h:151,
  4339. from ../engine/common/common.h:39,
  4340. from ../engine/common/mod_sprite.c:17:
  4341. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4342. int needed; /**< Set to 1 if conversion possible */
  4343. ^~~~~~
  4344. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4345. SDL_AudioFormat src_format; /**< Source audio format */
  4346. ^~~~~~~~~~
  4347. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4348. SDL_AudioFormat dst_format; /**< Target audio format */
  4349. ^~~~~~~~~~
  4350. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4351. double rate_incr; /**< Rate conversion increment */
  4352. ^~~~~~~~~
  4353. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4354. Uint8 *buf; /**< Buffer to hold entire audio data */
  4355. ^~~
  4356. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4357. int len; /**< Length of original audio buffer */
  4358. ^~~
  4359. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4360. int len_cvt; /**< Length of converted audio buffer */
  4361. ^~~~~~~
  4362. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4363. int len_mult; /**< buffer must be len*len_mult big */
  4364. ^~~~~~~~
  4365. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4366. double len_ratio; /**< Given len, final size is len*len_ratio */
  4367. ^~~~~~~~~
  4368. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4369. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4370. ^~~~~~~
  4371. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4372. int filter_index; /**< Current audio conversion function */
  4373. ^~~~~~~~~~~~
  4374.  
  4375. [217/258] Compiling engine/common/filesystem.c
  4376. In file included from /usr/include/SDL2/SDL.h:36,
  4377. from ../common/port.h:151,
  4378. from ../engine/common/common.h:39,
  4379. from ../engine/client/cl_remap.c:16:
  4380. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4381. int needed; /**< Set to 1 if conversion possible */
  4382. ^~~~~~
  4383. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4384. SDL_AudioFormat src_format; /**< Source audio format */
  4385. ^~~~~~~~~~
  4386. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4387. SDL_AudioFormat dst_format; /**< Target audio format */
  4388. ^~~~~~~~~~
  4389. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4390. double rate_incr; /**< Rate conversion increment */
  4391. ^~~~~~~~~
  4392. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4393. Uint8 *buf; /**< Buffer to hold entire audio data */
  4394. ^~~
  4395. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4396. int len; /**< Length of original audio buffer */
  4397. ^~~
  4398. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4399. int len_cvt; /**< Length of converted audio buffer */
  4400. ^~~~~~~
  4401. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4402. int len_mult; /**< buffer must be len*len_mult big */
  4403. ^~~~~~~~
  4404. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4405. double len_ratio; /**< Given len, final size is len*len_ratio */
  4406. ^~~~~~~~~
  4407. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4408. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4409. ^~~~~~~
  4410. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4411. int filter_index; /**< Current audio conversion function */
  4412. ^~~~~~~~~~~~
  4413. ../engine/client/cl_remap.c: In function ‘CL_AllocRemapInfo’:
  4414. ../engine/client/cl_remap.c:284:9: warning: cast increases required alignment of target type [-Wcast-align]
  4415. src = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
  4416. ^
  4417. ../engine/client/cl_remap.c:307:9: warning: cast increases required alignment of target type [-Wcast-align]
  4418. src = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
  4419. ^
  4420.  
  4421. [218/258] Compiling engine/common/host_state.c
  4422. In file included from /usr/include/SDL2/SDL.h:36,
  4423. from ../common/port.h:151,
  4424. from ../engine/common/common.h:39,
  4425. from ../engine/common/host_state.c:16:
  4426. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4427. int needed; /**< Set to 1 if conversion possible */
  4428. ^~~~~~
  4429. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4430. SDL_AudioFormat src_format; /**< Source audio format */
  4431. ^~~~~~~~~~
  4432. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4433. SDL_AudioFormat dst_format; /**< Target audio format */
  4434. ^~~~~~~~~~
  4435. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4436. double rate_incr; /**< Rate conversion increment */
  4437. ^~~~~~~~~
  4438. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4439. Uint8 *buf; /**< Buffer to hold entire audio data */
  4440. ^~~
  4441. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4442. int len; /**< Length of original audio buffer */
  4443. ^~~
  4444. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4445. int len_cvt; /**< Length of converted audio buffer */
  4446. ^~~~~~~
  4447. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4448. int len_mult; /**< buffer must be len*len_mult big */
  4449. ^~~~~~~~
  4450. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4451. double len_ratio; /**< Given len, final size is len*len_ratio */
  4452. ^~~~~~~~~
  4453. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4454. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4455. ^~~~~~~
  4456. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4457. int filter_index; /**< Current audio conversion function */
  4458. ^~~~~~~~~~~~
  4459.  
  4460. [219/258] Compiling engine/common/cvar.c
  4461. In file included from /usr/include/SDL2/SDL.h:36,
  4462. from ../common/port.h:151,
  4463. from ../engine/common/common.h:39,
  4464. from ../engine/common/imagelib/imagelib.h:19,
  4465. from ../engine/common/imagelib/img_tga.c:16:
  4466. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4467. int needed; /**< Set to 1 if conversion possible */
  4468. ^~~~~~
  4469. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4470. SDL_AudioFormat src_format; /**< Source audio format */
  4471. ^~~~~~~~~~
  4472. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4473. SDL_AudioFormat dst_format; /**< Target audio format */
  4474. ^~~~~~~~~~
  4475. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4476. double rate_incr; /**< Rate conversion increment */
  4477. ^~~~~~~~~
  4478. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4479. Uint8 *buf; /**< Buffer to hold entire audio data */
  4480. ^~~
  4481. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4482. int len; /**< Length of original audio buffer */
  4483. ^~~
  4484. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4485. int len_cvt; /**< Length of converted audio buffer */
  4486. ^~~~~~~
  4487. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4488. int len_mult; /**< buffer must be len*len_mult big */
  4489. ^~~~~~~~
  4490. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4491. double len_ratio; /**< Given len, final size is len*len_ratio */
  4492. ^~~~~~~~~
  4493. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4494. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4495. ^~~~~~~
  4496. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4497. int filter_index; /**< Current audio conversion function */
  4498. ^~~~~~~~~~~~
  4499. ../engine/common/imagelib/img_tga.c: In function ‘Image_LoadTGA’:
  4500. ../engine/common/imagelib/img_tga.c:47:27: warning: cast increases required alignment of target type [-Wcast-align]
  4501. targa_header.x_origin = *(short *)buf_p; buf_p += 2;
  4502. ^
  4503. ../engine/common/imagelib/img_tga.c:48:27: warning: cast increases required alignment of target type [-Wcast-align]
  4504. targa_header.y_origin = *(short *)buf_p; buf_p += 2;
  4505. ^
  4506. ../engine/common/imagelib/img_tga.c:49:38: warning: cast increases required alignment of target type [-Wcast-align]
  4507. targa_header.width = image.width = *(short *)buf_p; buf_p += 2;
  4508. ^
  4509. ../engine/common/imagelib/img_tga.c:50:40: warning: cast increases required alignment of target type [-Wcast-align]
  4510. targa_header.height = image.height = *(short *)buf_p; buf_p += 2;
  4511. ^
  4512.  
  4513. [220/258] Compiling engine/client/s_mouth.c
  4514. In file included from /usr/include/SDL2/SDL.h:36,
  4515. from ../engine/platform/sdl/events.c:16:
  4516. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4517. int needed; /**< Set to 1 if conversion possible */
  4518. ^~~~~~
  4519. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4520. SDL_AudioFormat src_format; /**< Source audio format */
  4521. ^~~~~~~~~~
  4522. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4523. SDL_AudioFormat dst_format; /**< Target audio format */
  4524. ^~~~~~~~~~
  4525. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4526. double rate_incr; /**< Rate conversion increment */
  4527. ^~~~~~~~~
  4528. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4529. Uint8 *buf; /**< Buffer to hold entire audio data */
  4530. ^~~
  4531. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4532. int len; /**< Length of original audio buffer */
  4533. ^~~
  4534. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4535. int len_cvt; /**< Length of converted audio buffer */
  4536. ^~~~~~~
  4537. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4538. int len_mult; /**< buffer must be len*len_mult big */
  4539. ^~~~~~~~
  4540. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4541. double len_ratio; /**< Given len, final size is len*len_ratio */
  4542. ^~~~~~~~~
  4543. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4544. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4545. ^~~~~~~
  4546. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4547. int filter_index; /**< Current audio conversion function */
  4548. ^~~~~~~~~~~~
  4549.  
  4550. [221/258] Compiling engine/common/con_utils.c
  4551. In file included from /usr/include/SDL2/SDL.h:36,
  4552. from ../common/port.h:151,
  4553. from ../engine/common/common.h:39,
  4554. from ../engine/client/s_mouth.c:16:
  4555. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4556. int needed; /**< Set to 1 if conversion possible */
  4557. ^~~~~~
  4558. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4559. SDL_AudioFormat src_format; /**< Source audio format */
  4560. ^~~~~~~~~~
  4561. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4562. SDL_AudioFormat dst_format; /**< Target audio format */
  4563. ^~~~~~~~~~
  4564. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4565. double rate_incr; /**< Rate conversion increment */
  4566. ^~~~~~~~~
  4567. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4568. Uint8 *buf; /**< Buffer to hold entire audio data */
  4569. ^~~
  4570. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4571. int len; /**< Length of original audio buffer */
  4572. ^~~
  4573. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4574. int len_cvt; /**< Length of converted audio buffer */
  4575. ^~~~~~~
  4576. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4577. int len_mult; /**< buffer must be len*len_mult big */
  4578. ^~~~~~~~
  4579. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4580. double len_ratio; /**< Given len, final size is len*len_ratio */
  4581. ^~~~~~~~~
  4582. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4583. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4584. ^~~~~~~
  4585. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4586. int filter_index; /**< Current audio conversion function */
  4587. ^~~~~~~~~~~~
  4588.  
  4589. [222/258] Compiling engine/server/sv_phys.c
  4590. In file included from /usr/include/SDL2/SDL.h:36,
  4591. from ../common/port.h:151,
  4592. from ../engine/common/common.h:39,
  4593. from ../engine/common/cvar.c:17:
  4594. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4595. int needed; /**< Set to 1 if conversion possible */
  4596. ^~~~~~
  4597. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4598. SDL_AudioFormat src_format; /**< Source audio format */
  4599. ^~~~~~~~~~
  4600. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4601. SDL_AudioFormat dst_format; /**< Target audio format */
  4602. ^~~~~~~~~~
  4603. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4604. double rate_incr; /**< Rate conversion increment */
  4605. ^~~~~~~~~
  4606. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4607. Uint8 *buf; /**< Buffer to hold entire audio data */
  4608. ^~~
  4609. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4610. int len; /**< Length of original audio buffer */
  4611. ^~~
  4612. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4613. int len_cvt; /**< Length of converted audio buffer */
  4614. ^~~~~~~
  4615. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4616. int len_mult; /**< buffer must be len*len_mult big */
  4617. ^~~~~~~~
  4618. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4619. double len_ratio; /**< Given len, final size is len*len_ratio */
  4620. ^~~~~~~~~
  4621. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4622. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4623. ^~~~~~~
  4624. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4625. int filter_index; /**< Current audio conversion function */
  4626. ^~~~~~~~~~~~
  4627.  
  4628. [223/258] Compiling engine/client/cl_parse.c
  4629. In file included from /usr/include/SDL2/SDL.h:36,
  4630. from ../common/port.h:151,
  4631. from ../engine/common/common.h:39,
  4632. from ../engine/common/con_utils.c:16:
  4633. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4634. int needed; /**< Set to 1 if conversion possible */
  4635. ^~~~~~
  4636. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4637. SDL_AudioFormat src_format; /**< Source audio format */
  4638. ^~~~~~~~~~
  4639. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4640. SDL_AudioFormat dst_format; /**< Target audio format */
  4641. ^~~~~~~~~~
  4642. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4643. double rate_incr; /**< Rate conversion increment */
  4644. ^~~~~~~~~
  4645. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4646. Uint8 *buf; /**< Buffer to hold entire audio data */
  4647. ^~~
  4648. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4649. int len; /**< Length of original audio buffer */
  4650. ^~~
  4651. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4652. int len_cvt; /**< Length of converted audio buffer */
  4653. ^~~~~~~
  4654. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4655. int len_mult; /**< buffer must be len*len_mult big */
  4656. ^~~~~~~~
  4657. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4658. double len_ratio; /**< Given len, final size is len*len_ratio */
  4659. ^~~~~~~~~
  4660. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4661. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4662. ^~~~~~~
  4663. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4664. int filter_index; /**< Current audio conversion function */
  4665. ^~~~~~~~~~~~
  4666. ../engine/common/con_utils.c: In function ‘Cmd_GetMapList’:
  4667. ../engine/common/con_utils.c:100:13: warning: cast increases required alignment of target type [-Wcast-align]
  4668. header = (dheader_t *)buf;
  4669. ^
  4670. ../engine/common/con_utils.c:111:13: warning: cast increases required alignment of target type [-Wcast-align]
  4671. hdrext = (dextrahdr_t *)((byte *)buf + sizeof( dheader_t ));
  4672. ^
  4673. ../engine/common/con_utils.c: In function ‘Cmd_CheckMapsList_R’:
  4674. ../engine/common/con_utils.c:892:13: warning: cast increases required alignment of target type [-Wcast-align]
  4675. header = (dheader_t *)buf;
  4676. ^
  4677.  
  4678. [224/258] Compiling engine/common/soundlib/snd_utils.c
  4679. In file included from /usr/include/SDL2/SDL.h:36,
  4680. from ../common/port.h:151,
  4681. from ../engine/common/common.h:39,
  4682. from ../engine/common/soundlib/soundlib.h:19,
  4683. from ../engine/common/soundlib/snd_utils.c:16:
  4684. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4685. int needed; /**< Set to 1 if conversion possible */
  4686. ^~~~~~
  4687. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4688. SDL_AudioFormat src_format; /**< Source audio format */
  4689. ^~~~~~~~~~
  4690. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4691. SDL_AudioFormat dst_format; /**< Target audio format */
  4692. ^~~~~~~~~~
  4693. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4694. double rate_incr; /**< Rate conversion increment */
  4695. ^~~~~~~~~
  4696. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4697. Uint8 *buf; /**< Buffer to hold entire audio data */
  4698. ^~~
  4699. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4700. int len; /**< Length of original audio buffer */
  4701. ^~~
  4702. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4703. int len_cvt; /**< Length of converted audio buffer */
  4704. ^~~~~~~
  4705. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4706. int len_mult; /**< buffer must be len*len_mult big */
  4707. ^~~~~~~~
  4708. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4709. double len_ratio; /**< Given len, final size is len*len_ratio */
  4710. ^~~~~~~~~
  4711. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4712. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4713. ^~~~~~~
  4714. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4715. int filter_index; /**< Current audio conversion function */
  4716. ^~~~~~~~~~~~
  4717. ../engine/common/soundlib/snd_utils.c: In function ‘Sound_ResampleInternal’:
  4718. ../engine/common/soundlib/snd_utils.c:200:16: warning: cast increases required alignment of target type [-Wcast-align]
  4719. sample = ((short *)data)[srcsample*2+0];
  4720. ^
  4721. ../engine/common/soundlib/snd_utils.c:201:17: warning: cast increases required alignment of target type [-Wcast-align]
  4722. sample2 = ((short *)data)[srcsample*2+1];
  4723. ^
  4724. ../engine/common/soundlib/snd_utils.c:211:7: warning: cast increases required alignment of target type [-Wcast-align]
  4725. ((short *)sound.tempbuffer)[i*2+0] = sample;
  4726. ^
  4727. ../engine/common/soundlib/snd_utils.c:212:7: warning: cast increases required alignment of target type [-Wcast-align]
  4728. ((short *)sound.tempbuffer)[i*2+1] = sample2;
  4729. ^
  4730. ../engine/common/soundlib/snd_utils.c:228:34: warning: cast increases required alignment of target type [-Wcast-align]
  4731. if( inwidth == 2 ) sample = ((short *)data)[srcsample];
  4732. ^
  4733. ../engine/common/soundlib/snd_utils.c:231:26: warning: cast increases required alignment of target type [-Wcast-align]
  4734. if( outwidth == 2 ) ((short *)sound.tempbuffer)[i] = sample;
  4735. ^
  4736.  
  4737. [225/258] Compiling engine/client/cl_debug.c
  4738. In file included from /usr/include/SDL2/SDL.h:36,
  4739. from ../common/port.h:151,
  4740. from ../engine/common/common.h:39,
  4741. from ../engine/server/sv_phys.c:16:
  4742. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4743. int needed; /**< Set to 1 if conversion possible */
  4744. ^~~~~~
  4745. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4746. SDL_AudioFormat src_format; /**< Source audio format */
  4747. ^~~~~~~~~~
  4748. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4749. SDL_AudioFormat dst_format; /**< Target audio format */
  4750. ^~~~~~~~~~
  4751. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4752. double rate_incr; /**< Rate conversion increment */
  4753. ^~~~~~~~~
  4754. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4755. Uint8 *buf; /**< Buffer to hold entire audio data */
  4756. ^~~
  4757. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4758. int len; /**< Length of original audio buffer */
  4759. ^~~
  4760. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4761. int len_cvt; /**< Length of converted audio buffer */
  4762. ^~~~~~~
  4763. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4764. int len_mult; /**< buffer must be len*len_mult big */
  4765. ^~~~~~~~
  4766. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4767. double len_ratio; /**< Given len, final size is len*len_ratio */
  4768. ^~~~~~~~~
  4769. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4770. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4771. ^~~~~~~
  4772. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4773. int filter_index; /**< Current audio conversion function */
  4774. ^~~~~~~~~~~~
  4775.  
  4776. [226/258] Compiling engine/platform/sdl/in_sdl.c
  4777. In file included from /usr/include/SDL2/SDL.h:36,
  4778. from ../common/port.h:151,
  4779. from ../engine/common/common.h:39,
  4780. from ../engine/client/cl_debug.c:16:
  4781. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4782. int needed; /**< Set to 1 if conversion possible */
  4783. ^~~~~~
  4784. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4785. SDL_AudioFormat src_format; /**< Source audio format */
  4786. ^~~~~~~~~~
  4787. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4788. SDL_AudioFormat dst_format; /**< Target audio format */
  4789. ^~~~~~~~~~
  4790. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4791. double rate_incr; /**< Rate conversion increment */
  4792. ^~~~~~~~~
  4793. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4794. Uint8 *buf; /**< Buffer to hold entire audio data */
  4795. ^~~
  4796. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4797. int len; /**< Length of original audio buffer */
  4798. ^~~
  4799. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4800. int len_cvt; /**< Length of converted audio buffer */
  4801. ^~~~~~~
  4802. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4803. int len_mult; /**< buffer must be len*len_mult big */
  4804. ^~~~~~~~
  4805. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4806. double len_ratio; /**< Given len, final size is len*len_ratio */
  4807. ^~~~~~~~~
  4808. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4809. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4810. ^~~~~~~
  4811. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4812. int filter_index; /**< Current audio conversion function */
  4813. ^~~~~~~~~~~~
  4814.  
  4815. [227/258] Compiling engine/common/soundlib/libmpg/frame.c
  4816. In file included from /usr/include/SDL2/SDL.h:36,
  4817. from ../engine/platform/sdl/in_sdl.c:16:
  4818. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4819. int needed; /**< Set to 1 if conversion possible */
  4820. ^~~~~~
  4821. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4822. SDL_AudioFormat src_format; /**< Source audio format */
  4823. ^~~~~~~~~~
  4824. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4825. SDL_AudioFormat dst_format; /**< Target audio format */
  4826. ^~~~~~~~~~
  4827. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4828. double rate_incr; /**< Rate conversion increment */
  4829. ^~~~~~~~~
  4830. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4831. Uint8 *buf; /**< Buffer to hold entire audio data */
  4832. ^~~
  4833. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4834. int len; /**< Length of original audio buffer */
  4835. ^~~
  4836. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4837. int len_cvt; /**< Length of converted audio buffer */
  4838. ^~~~~~~
  4839. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4840. int len_mult; /**< buffer must be len*len_mult big */
  4841. ^~~~~~~~
  4842. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4843. double len_ratio; /**< Given len, final size is len*len_ratio */
  4844. ^~~~~~~~~
  4845. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4846. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4847. ^~~~~~~
  4848. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4849. int filter_index; /**< Current audio conversion function */
  4850. ^~~~~~~~~~~~
  4851.  
  4852. [228/258] Compiling engine/client/cl_tent.c
  4853. ../engine/common/soundlib/libmpg/frame.c: In function ‘frame_buffers’:
  4854. ../engine/common/soundlib/libmpg/frame.c:226:16: warning: cast increases required alignment of target type [-Wcast-align]
  4855. fr->decwin = (float *)fr->rawdecwin;
  4856. ^
  4857.  
  4858. [229/258] Compiling engine/common/system.c
  4859. In file included from /usr/include/SDL2/SDL.h:36,
  4860. from ../common/port.h:151,
  4861. from ../engine/common/common.h:39,
  4862. from ../engine/client/cl_parse.c:16:
  4863. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4864. int needed; /**< Set to 1 if conversion possible */
  4865. ^~~~~~
  4866. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4867. SDL_AudioFormat src_format; /**< Source audio format */
  4868. ^~~~~~~~~~
  4869. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4870. SDL_AudioFormat dst_format; /**< Target audio format */
  4871. ^~~~~~~~~~
  4872. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4873. double rate_incr; /**< Rate conversion increment */
  4874. ^~~~~~~~~
  4875. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4876. Uint8 *buf; /**< Buffer to hold entire audio data */
  4877. ^~~
  4878. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4879. int len; /**< Length of original audio buffer */
  4880. ^~~
  4881. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4882. int len_cvt; /**< Length of converted audio buffer */
  4883. ^~~~~~~
  4884. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4885. int len_mult; /**< buffer must be len*len_mult big */
  4886. ^~~~~~~~
  4887. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4888. double len_ratio; /**< Given len, final size is len*len_ratio */
  4889. ^~~~~~~~~
  4890. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4891. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4892. ^~~~~~~
  4893. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4894. int filter_index; /**< Current audio conversion function */
  4895. ^~~~~~~~~~~~
  4896. ../engine/client/cl_parse.c: In function ‘CL_SendConsistencyInfo’:
  4897. ../engine/client/cl_parse.c:1511:17: warning: cast increases required alignment of target type [-Wcast-align]
  4898. pc->value = *(int *)md5;
  4899. ^
  4900.  
  4901. [230/258] Compiling engine/client/in_touch.c
  4902. In file included from /usr/include/SDL2/SDL.h:36,
  4903. from ../common/port.h:151,
  4904. from ../engine/common/common.h:39,
  4905. from ../engine/common/system.c:16:
  4906. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4907. int needed; /**< Set to 1 if conversion possible */
  4908. ^~~~~~
  4909. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4910. SDL_AudioFormat src_format; /**< Source audio format */
  4911. ^~~~~~~~~~
  4912. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4913. SDL_AudioFormat dst_format; /**< Target audio format */
  4914. ^~~~~~~~~~
  4915. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4916. double rate_incr; /**< Rate conversion increment */
  4917. ^~~~~~~~~
  4918. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4919. Uint8 *buf; /**< Buffer to hold entire audio data */
  4920. ^~~
  4921. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4922. int len; /**< Length of original audio buffer */
  4923. ^~~
  4924. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4925. int len_cvt; /**< Length of converted audio buffer */
  4926. ^~~~~~~
  4927. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4928. int len_mult; /**< buffer must be len*len_mult big */
  4929. ^~~~~~~~
  4930. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4931. double len_ratio; /**< Given len, final size is len*len_ratio */
  4932. ^~~~~~~~~
  4933. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4934. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4935. ^~~~~~~
  4936. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4937. int filter_index; /**< Current audio conversion function */
  4938. ^~~~~~~~~~~~
  4939.  
  4940. [231/258] Compiling engine/common/soundlib/libmpg/dct64.c
  4941. [232/258] Compiling engine/common/imagelib/img_main.c
  4942. In file included from /usr/include/SDL2/SDL.h:36,
  4943. from ../common/port.h:151,
  4944. from ../engine/common/common.h:39,
  4945. from ../engine/common/imagelib/imagelib.h:19,
  4946. from ../engine/common/imagelib/img_main.c:16:
  4947. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4948. int needed; /**< Set to 1 if conversion possible */
  4949. ^~~~~~
  4950. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4951. SDL_AudioFormat src_format; /**< Source audio format */
  4952. ^~~~~~~~~~
  4953. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4954. SDL_AudioFormat dst_format; /**< Target audio format */
  4955. ^~~~~~~~~~
  4956. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  4957. double rate_incr; /**< Rate conversion increment */
  4958. ^~~~~~~~~
  4959. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  4960. Uint8 *buf; /**< Buffer to hold entire audio data */
  4961. ^~~
  4962. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  4963. int len; /**< Length of original audio buffer */
  4964. ^~~
  4965. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  4966. int len_cvt; /**< Length of converted audio buffer */
  4967. ^~~~~~~
  4968. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  4969. int len_mult; /**< buffer must be len*len_mult big */
  4970. ^~~~~~~~
  4971. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  4972. double len_ratio; /**< Given len, final size is len*len_ratio */
  4973. ^~~~~~~~~
  4974. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  4975. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  4976. ^~~~~~~
  4977. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  4978. int filter_index; /**< Current audio conversion function */
  4979. ^~~~~~~~~~~~
  4980. ../engine/common/imagelib/img_main.c: In function ‘FS_AddSideToPack’:
  4981. ../engine/common/imagelib/img_main.c:191:31: warning: cast increases required alignment of target type [-Wcast-align]
  4982. out = Image_ResampleInternal((uint *)image.rgba, image.width, image.height, image.source_width, image.source_height, image.source_type, &resampled );
  4983. ^
  4984.  
  4985. [233/258] Compiling engine/common/launcher.c
  4986. [234/258] Compiling engine/client/cl_scrn.c
  4987. In file included from /usr/include/SDL2/SDL.h:36,
  4988. from ../common/port.h:151,
  4989. from ../engine/common/common.h:39,
  4990. from ../engine/client/in_touch.c:15:
  4991. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  4992. int needed; /**< Set to 1 if conversion possible */
  4993. ^~~~~~
  4994. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  4995. SDL_AudioFormat src_format; /**< Source audio format */
  4996. ^~~~~~~~~~
  4997. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  4998. SDL_AudioFormat dst_format; /**< Target audio format */
  4999. ^~~~~~~~~~
  5000. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5001. double rate_incr; /**< Rate conversion increment */
  5002. ^~~~~~~~~
  5003. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5004. Uint8 *buf; /**< Buffer to hold entire audio data */
  5005. ^~~
  5006. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5007. int len; /**< Length of original audio buffer */
  5008. ^~~
  5009. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5010. int len_cvt; /**< Length of converted audio buffer */
  5011. ^~~~~~~
  5012. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5013. int len_mult; /**< buffer must be len*len_mult big */
  5014. ^~~~~~~~
  5015. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5016. double len_ratio; /**< Given len, final size is len*len_ratio */
  5017. ^~~~~~~~~
  5018. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5019. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5020. ^~~~~~~
  5021. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5022. int filter_index; /**< Current audio conversion function */
  5023. ^~~~~~~~~~~~
  5024.  
  5025. [235/258] Compiling engine/client/keys.c
  5026. In file included from /usr/include/SDL2/SDL.h:36,
  5027. from ../common/port.h:151,
  5028. from ../engine/common/common.h:39,
  5029. from ../engine/client/cl_tent.c:16:
  5030. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5031. int needed; /**< Set to 1 if conversion possible */
  5032. ^~~~~~
  5033. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5034. SDL_AudioFormat src_format; /**< Source audio format */
  5035. ^~~~~~~~~~
  5036. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5037. SDL_AudioFormat dst_format; /**< Target audio format */
  5038. ^~~~~~~~~~
  5039. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5040. double rate_incr; /**< Rate conversion increment */
  5041. ^~~~~~~~~
  5042. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5043. Uint8 *buf; /**< Buffer to hold entire audio data */
  5044. ^~~
  5045. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5046. int len; /**< Length of original audio buffer */
  5047. ^~~
  5048. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5049. int len_cvt; /**< Length of converted audio buffer */
  5050. ^~~~~~~
  5051. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5052. int len_mult; /**< buffer must be len*len_mult big */
  5053. ^~~~~~~~
  5054. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5055. double len_ratio; /**< Given len, final size is len*len_ratio */
  5056. ^~~~~~~~~
  5057. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5058. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5059. ^~~~~~~
  5060. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5061. int filter_index; /**< Current audio conversion function */
  5062. ^~~~~~~~~~~~
  5063.  
  5064. [236/258] Compiling engine/common/dedicated.c
  5065. [237/258] Compiling engine/client/s_main.c
  5066. In file included from /usr/include/SDL2/SDL.h:36,
  5067. from ../common/port.h:151,
  5068. from ../engine/common/common.h:39,
  5069. from ../engine/client/cl_scrn.c:16:
  5070. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5071. int needed; /**< Set to 1 if conversion possible */
  5072. ^~~~~~
  5073. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5074. SDL_AudioFormat src_format; /**< Source audio format */
  5075. ^~~~~~~~~~
  5076. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5077. SDL_AudioFormat dst_format; /**< Target audio format */
  5078. ^~~~~~~~~~
  5079. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5080. double rate_incr; /**< Rate conversion increment */
  5081. ^~~~~~~~~
  5082. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5083. Uint8 *buf; /**< Buffer to hold entire audio data */
  5084. ^~~
  5085. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5086. int len; /**< Length of original audio buffer */
  5087. ^~~
  5088. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5089. int len_cvt; /**< Length of converted audio buffer */
  5090. ^~~~~~~
  5091. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5092. int len_mult; /**< buffer must be len*len_mult big */
  5093. ^~~~~~~~
  5094. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5095. double len_ratio; /**< Given len, final size is len*len_ratio */
  5096. ^~~~~~~~~
  5097. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5098. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5099. ^~~~~~~
  5100. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5101. int filter_index; /**< Current audio conversion function */
  5102. ^~~~~~~~~~~~
  5103. ../engine/client/cl_scrn.c: In function ‘SCR_LoadVariableWidthFont’:
  5104. ../engine/client/cl_scrn.c:622:9: warning: cast increases required alignment of target type [-Wcast-align]
  5105. src = (qfont_t *)buffer;
  5106. ^
  5107.  
  5108. [238/258] Compiling engine/common/soundlib/libmpg/layer3.c
  5109. In file included from /usr/include/SDL2/SDL.h:36,
  5110. from ../common/port.h:151,
  5111. from ../engine/common/common.h:39,
  5112. from ../engine/common/filesystem.c:31:
  5113. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5114. int needed; /**< Set to 1 if conversion possible */
  5115. ^~~~~~
  5116. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5117. SDL_AudioFormat src_format; /**< Source audio format */
  5118. ^~~~~~~~~~
  5119. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5120. SDL_AudioFormat dst_format; /**< Target audio format */
  5121. ^~~~~~~~~~
  5122. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5123. double rate_incr; /**< Rate conversion increment */
  5124. ^~~~~~~~~
  5125. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5126. Uint8 *buf; /**< Buffer to hold entire audio data */
  5127. ^~~
  5128. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5129. int len; /**< Length of original audio buffer */
  5130. ^~~
  5131. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5132. int len_cvt; /**< Length of converted audio buffer */
  5133. ^~~~~~~
  5134. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5135. int len_mult; /**< buffer must be len*len_mult big */
  5136. ^~~~~~~~
  5137. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5138. double len_ratio; /**< Given len, final size is len*len_ratio */
  5139. ^~~~~~~~~
  5140. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5141. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5142. ^~~~~~~
  5143. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5144. int filter_index; /**< Current audio conversion function */
  5145. ^~~~~~~~~~~~
  5146. ../engine/common/filesystem.c: In function ‘FS_Search’:
  5147. ../engine/common/filesystem.c:3700:23: warning: cast increases required alignment of target type [-Wcast-align]
  5148. search->filenames = (char **)((char *)search + sizeof( search_t ));
  5149. ^
  5150.  
  5151. [239/258] Compiling engine/common/net_ws.c
  5152. In file included from /usr/include/SDL2/SDL.h:36,
  5153. from ../common/port.h:151,
  5154. from ../engine/common/common.h:39,
  5155. from ../engine/client/keys.c:16:
  5156. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5157. int needed; /**< Set to 1 if conversion possible */
  5158. ^~~~~~
  5159. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5160. SDL_AudioFormat src_format; /**< Source audio format */
  5161. ^~~~~~~~~~
  5162. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5163. SDL_AudioFormat dst_format; /**< Target audio format */
  5164. ^~~~~~~~~~
  5165. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5166. double rate_incr; /**< Rate conversion increment */
  5167. ^~~~~~~~~
  5168. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5169. Uint8 *buf; /**< Buffer to hold entire audio data */
  5170. ^~~
  5171. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5172. int len; /**< Length of original audio buffer */
  5173. ^~~
  5174. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5175. int len_cvt; /**< Length of converted audio buffer */
  5176. ^~~~~~~
  5177. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5178. int len_mult; /**< buffer must be len*len_mult big */
  5179. ^~~~~~~~
  5180. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5181. double len_ratio; /**< Given len, final size is len*len_ratio */
  5182. ^~~~~~~~~
  5183. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5184. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5185. ^~~~~~~
  5186. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5187. int filter_index; /**< Current audio conversion function */
  5188. ^~~~~~~~~~~~
  5189.  
  5190. [240/258] Compiling engine/common/soundlib/libmpg/reader.c
  5191. [241/258] Compiling engine/client/cl_main.c
  5192. In file included from /usr/include/SDL2/SDL.h:36,
  5193. from ../common/port.h:151,
  5194. from ../engine/common/common.h:39,
  5195. from ../engine/client/s_main.c:16:
  5196. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5197. int needed; /**< Set to 1 if conversion possible */
  5198. ^~~~~~
  5199. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5200. SDL_AudioFormat src_format; /**< Source audio format */
  5201. ^~~~~~~~~~
  5202. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5203. SDL_AudioFormat dst_format; /**< Target audio format */
  5204. ^~~~~~~~~~
  5205. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5206. double rate_incr; /**< Rate conversion increment */
  5207. ^~~~~~~~~
  5208. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5209. Uint8 *buf; /**< Buffer to hold entire audio data */
  5210. ^~~
  5211. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5212. int len; /**< Length of original audio buffer */
  5213. ^~~
  5214. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5215. int len_cvt; /**< Length of converted audio buffer */
  5216. ^~~~~~~
  5217. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5218. int len_mult; /**< buffer must be len*len_mult big */
  5219. ^~~~~~~~
  5220. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5221. double len_ratio; /**< Given len, final size is len*len_ratio */
  5222. ^~~~~~~~~
  5223. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5224. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5225. ^~~~~~~
  5226. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5227. int filter_index; /**< Current audio conversion function */
  5228. ^~~~~~~~~~~~
  5229. ../engine/client/s_main.c: In function ‘S_RawSamplesStereo’:
  5230. ../engine/client/s_main.c:1074:21: warning: cast increases required alignment of target type [-Wcast-align]
  5231. const short *in = (const short *)data;
  5232. ^
  5233.  
  5234. [242/258] Compiling engine/client/cl_custom.c
  5235. In file included from /usr/include/SDL2/SDL.h:36,
  5236. from ../common/port.h:151,
  5237. from ../engine/common/common.h:39,
  5238. from ../engine/common/net_ws.c:16:
  5239. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5240. int needed; /**< Set to 1 if conversion possible */
  5241. ^~~~~~
  5242. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5243. SDL_AudioFormat src_format; /**< Source audio format */
  5244. ^~~~~~~~~~
  5245. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5246. SDL_AudioFormat dst_format; /**< Target audio format */
  5247. ^~~~~~~~~~
  5248. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5249. double rate_incr; /**< Rate conversion increment */
  5250. ^~~~~~~~~
  5251. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5252. Uint8 *buf; /**< Buffer to hold entire audio data */
  5253. ^~~
  5254. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5255. int len; /**< Length of original audio buffer */
  5256. ^~~
  5257. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5258. int len_cvt; /**< Length of converted audio buffer */
  5259. ^~~~~~~
  5260. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5261. int len_mult; /**< buffer must be len*len_mult big */
  5262. ^~~~~~~~
  5263. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5264. double len_ratio; /**< Given len, final size is len*len_ratio */
  5265. ^~~~~~~~~
  5266. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5267. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5268. ^~~~~~~
  5269. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5270. int filter_index; /**< Current audio conversion function */
  5271. ^~~~~~~~~~~~
  5272. ../engine/common/net_ws.c: In function ‘NET_NetadrToSockadr’:
  5273. ../engine/common/net_ws.c:277:4: warning: cast increases required alignment of target type [-Wcast-align]
  5274. ((struct sockaddr_in *)s)->sin_family = AF_INET;
  5275. ^
  5276. ../engine/common/net_ws.c:278:4: warning: cast increases required alignment of target type [-Wcast-align]
  5277. ((struct sockaddr_in *)s)->sin_port = a->port;
  5278. ^
  5279. ../engine/common/net_ws.c:279:4: warning: cast increases required alignment of target type [-Wcast-align]
  5280. ((struct sockaddr_in *)s)->sin_addr.s_addr = INADDR_BROADCAST;
  5281. ^
  5282. ../engine/common/net_ws.c:283:4: warning: cast increases required alignment of target type [-Wcast-align]
  5283. ((struct sockaddr_in *)s)->sin_family = AF_INET;
  5284. ^
  5285. ../engine/common/net_ws.c:284:4: warning: cast increases required alignment of target type [-Wcast-align]
  5286. ((struct sockaddr_in *)s)->sin_addr.s_addr = *(int *)&a->ip;
  5287. ^
  5288. ../engine/common/net_ws.c:284:49: warning: cast increases required alignment of target type [-Wcast-align]
  5289. ((struct sockaddr_in *)s)->sin_addr.s_addr = *(int *)&a->ip;
  5290. ^
  5291. ../engine/common/net_ws.c:285:4: warning: cast increases required alignment of target type [-Wcast-align]
  5292. ((struct sockaddr_in *)s)->sin_port = a->port;
  5293. ^
  5294. ../engine/common/net_ws.c: In function ‘NET_SockadrToNetadr’:
  5295. ../engine/common/net_ws.c:299:4: warning: cast increases required alignment of target type [-Wcast-align]
  5296. *(int *)&a->ip = ((struct sockaddr_in *)s)->sin_addr.s_addr;
  5297. ^
  5298. ../engine/common/net_ws.c:299:21: warning: cast increases required alignment of target type [-Wcast-align]
  5299. *(int *)&a->ip = ((struct sockaddr_in *)s)->sin_addr.s_addr;
  5300. ^
  5301. ../engine/common/net_ws.c:300:14: warning: cast increases required alignment of target type [-Wcast-align]
  5302. a->port = ((struct sockaddr_in *)s)->sin_port;
  5303. ^
  5304. ../engine/common/net_ws.c: In function ‘NET_GetHostByName’:
  5305. ../engine/common/net_ws.c:325:20: warning: cast increases required alignment of target type [-Wcast-align]
  5306. ip = *((int*)&((struct sockaddr_in *)cur->ai_addr)->sin_addr);
  5307. ^
  5308. ../engine/common/net_ws.c: In function ‘NET_StringToSockaddr’:
  5309. ../engine/common/net_ws.c:458:3: warning: cast increases required alignment of target type [-Wcast-align]
  5310. ((struct sockaddr_in *)sadr)->sin_family = AF_INET;
  5311. ^
  5312. ../engine/common/net_ws.c:459:3: warning: cast increases required alignment of target type [-Wcast-align]
  5313. ((struct sockaddr_in *)sadr)->sin_port = 0;
  5314. ^
  5315. ../engine/common/net_ws.c:469:5: warning: cast increases required alignment of target type [-Wcast-align]
  5316. ((struct sockaddr_in *)sadr)->sin_port = htons((short)Q_atoi( colon + 1 ));
  5317. ^
  5318. ../engine/common/net_ws.c:475:13: warning: cast increases required alignment of target type [-Wcast-align]
  5319. *(int *)&((struct sockaddr_in *)sadr)->sin_addr = inet_addr( copy );
  5320. ^
  5321. ../engine/common/net_ws.c:528:13: warning: cast increases required alignment of target type [-Wcast-align]
  5322. *(int *)&((struct sockaddr_in *)sadr)->sin_addr = ip;
  5323. ^
  5324. ../engine/common/net_ws.c: In function ‘NET_QueuePacket’:
  5325. ../engine/common/net_ws.c:1120:31: warning: cast increases required alignment of target type [-Wcast-align]
  5326. if( sock == NS_CLIENT && *(int *)data == NET_HEADER_SPLITPACKET )
  5327. ^
  5328.  
  5329. [243/258] Compiling engine/common/imagelib/img_dds.c
  5330. In file included from /usr/include/SDL2/SDL.h:36,
  5331. from ../common/port.h:151,
  5332. from ../engine/common/common.h:39,
  5333. from ../engine/client/cl_custom.c:16:
  5334. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5335. int needed; /**< Set to 1 if conversion possible */
  5336. ^~~~~~
  5337. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5338. SDL_AudioFormat src_format; /**< Source audio format */
  5339. ^~~~~~~~~~
  5340. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5341. SDL_AudioFormat dst_format; /**< Target audio format */
  5342. ^~~~~~~~~~
  5343. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5344. double rate_incr; /**< Rate conversion increment */
  5345. ^~~~~~~~~
  5346. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5347. Uint8 *buf; /**< Buffer to hold entire audio data */
  5348. ^~~
  5349. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5350. int len; /**< Length of original audio buffer */
  5351. ^~~
  5352. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5353. int len_cvt; /**< Length of converted audio buffer */
  5354. ^~~~~~~
  5355. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5356. int len_mult; /**< buffer must be len*len_mult big */
  5357. ^~~~~~~~
  5358. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5359. double len_ratio; /**< Given len, final size is len*len_ratio */
  5360. ^~~~~~~~~
  5361. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5362. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5363. ^~~~~~~
  5364. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5365. int filter_index; /**< Current audio conversion function */
  5366. ^~~~~~~~~~~~
  5367.  
  5368. [244/258] Compiling engine/client/titles.c
  5369. In file included from /usr/include/SDL2/SDL.h:36,
  5370. from ../common/port.h:151,
  5371. from ../engine/common/common.h:39,
  5372. from ../engine/client/titles.c:16:
  5373. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5374. int needed; /**< Set to 1 if conversion possible */
  5375. ^~~~~~
  5376. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5377. SDL_AudioFormat src_format; /**< Source audio format */
  5378. ^~~~~~~~~~
  5379. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5380. SDL_AudioFormat dst_format; /**< Target audio format */
  5381. ^~~~~~~~~~
  5382. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5383. double rate_incr; /**< Rate conversion increment */
  5384. ^~~~~~~~~
  5385. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5386. Uint8 *buf; /**< Buffer to hold entire audio data */
  5387. ^~~
  5388. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5389. int len; /**< Length of original audio buffer */
  5390. ^~~
  5391. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5392. int len_cvt; /**< Length of converted audio buffer */
  5393. ^~~~~~~
  5394. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5395. int len_mult; /**< buffer must be len*len_mult big */
  5396. ^~~~~~~~
  5397. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5398. double len_ratio; /**< Given len, final size is len*len_ratio */
  5399. ^~~~~~~~~
  5400. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5401. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5402. ^~~~~~~
  5403. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5404. int filter_index; /**< Current audio conversion function */
  5405. ^~~~~~~~~~~~
  5406.  
  5407. [245/258] Compiling engine/server/sv_game.c
  5408. In file included from /usr/include/SDL2/SDL.h:36,
  5409. from ../common/port.h:151,
  5410. from ../engine/common/common.h:39,
  5411. from ../engine/client/cl_main.c:16:
  5412. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5413. int needed; /**< Set to 1 if conversion possible */
  5414. ^~~~~~
  5415. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5416. SDL_AudioFormat src_format; /**< Source audio format */
  5417. ^~~~~~~~~~
  5418. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5419. SDL_AudioFormat dst_format; /**< Target audio format */
  5420. ^~~~~~~~~~
  5421. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5422. double rate_incr; /**< Rate conversion increment */
  5423. ^~~~~~~~~
  5424. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5425. Uint8 *buf; /**< Buffer to hold entire audio data */
  5426. ^~~
  5427. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5428. int len; /**< Length of original audio buffer */
  5429. ^~~
  5430. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5431. int len_cvt; /**< Length of converted audio buffer */
  5432. ^~~~~~~
  5433. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5434. int len_mult; /**< buffer must be len*len_mult big */
  5435. ^~~~~~~~
  5436. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5437. double len_ratio; /**< Given len, final size is len*len_ratio */
  5438. ^~~~~~~~~
  5439. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5440. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5441. ^~~~~~~
  5442. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5443. int filter_index; /**< Current audio conversion function */
  5444. ^~~~~~~~~~~~
  5445. ../engine/client/cl_main.c: In function ‘CL_ReadNetMessage’:
  5446. ../engine/client/cl_main.c:2206:27: warning: cast increases required alignment of target type [-Wcast-align]
  5447. if( cls.legacymode && *((int *)&net_message_buffer) == 0xFFFFFFFE )
  5448. ^
  5449. ../engine/client/cl_main.c:2214:48: warning: cast increases required alignment of target type [-Wcast-align]
  5450. if( MSG_GetMaxBytes( &net_message ) >= 4 && *(int *)net_message.pData == -1 )
  5451. ^
  5452.  
  5453. In file included from /usr/include/SDL2/SDL.h:36,
  5454. from ../common/port.h:151,
  5455. from ../engine/common/common.h:39,
  5456. from ../engine/common/imagelib/imagelib.h:19,
  5457. from ../engine/common/imagelib/img_dds.c:16:
  5458. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5459. int needed; /**< Set to 1 if conversion possible */
  5460. ^~~~~~
  5461. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5462. SDL_AudioFormat src_format; /**< Source audio format */
  5463. ^~~~~~~~~~
  5464. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5465. SDL_AudioFormat dst_format; /**< Target audio format */
  5466. ^~~~~~~~~~
  5467. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5468. double rate_incr; /**< Rate conversion increment */
  5469. ^~~~~~~~~
  5470. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5471. Uint8 *buf; /**< Buffer to hold entire audio data */
  5472. ^~~
  5473. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5474. int len; /**< Length of original audio buffer */
  5475. ^~~
  5476. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5477. int len_cvt; /**< Length of converted audio buffer */
  5478. ^~~~~~~
  5479. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5480. int len_mult; /**< buffer must be len*len_mult big */
  5481. ^~~~~~~~
  5482. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5483. double len_ratio; /**< Given len, final size is len*len_ratio */
  5484. ^~~~~~~~~
  5485. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5486. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5487. ^~~~~~~
  5488. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5489. int filter_index; /**< Current audio conversion function */
  5490. ^~~~~~~~~~~~
  5491. ../engine/common/imagelib/img_dds.c: In function ‘Image_CheckDXT5Alpha’:
  5492. ../engine/common/imagelib/img_dds.c:69:15: warning: cast increases required alignment of target type [-Wcast-align]
  5493. bitmask = ((uint *)fin)[1];
  5494. ^
  5495.  
  5496. [246/258] Compiling engine/client/vgui/vgui_draw.c
  5497. [247/258] Compiling engine/common/net_chan.c
  5498. In file included from /usr/include/SDL2/SDL.h:36,
  5499. from ../common/port.h:151,
  5500. from ../engine/common/common.h:39,
  5501. from ../engine/client/vgui/vgui_draw.c:16:
  5502. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5503. int needed; /**< Set to 1 if conversion possible */
  5504. ^~~~~~
  5505. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5506. SDL_AudioFormat src_format; /**< Source audio format */
  5507. ^~~~~~~~~~
  5508. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5509. SDL_AudioFormat dst_format; /**< Target audio format */
  5510. ^~~~~~~~~~
  5511. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5512. double rate_incr; /**< Rate conversion increment */
  5513. ^~~~~~~~~
  5514. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5515. Uint8 *buf; /**< Buffer to hold entire audio data */
  5516. ^~~
  5517. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5518. int len; /**< Length of original audio buffer */
  5519. ^~~
  5520. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5521. int len_cvt; /**< Length of converted audio buffer */
  5522. ^~~~~~~
  5523. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5524. int len_mult; /**< buffer must be len*len_mult big */
  5525. ^~~~~~~~
  5526. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5527. double len_ratio; /**< Given len, final size is len*len_ratio */
  5528. ^~~~~~~~~
  5529. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5530. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5531. ^~~~~~~
  5532. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5533. int filter_index; /**< Current audio conversion function */
  5534. ^~~~~~~~~~~~
  5535.  
  5536. [248/258] Compiling engine/common/pm_debug.c
  5537. In file included from /usr/include/SDL2/SDL.h:36,
  5538. from ../common/port.h:151,
  5539. from ../engine/common/common.h:39,
  5540. from ../engine/common/pm_debug.c:16:
  5541. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5542. int needed; /**< Set to 1 if conversion possible */
  5543. ^~~~~~
  5544. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5545. SDL_AudioFormat src_format; /**< Source audio format */
  5546. ^~~~~~~~~~
  5547. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5548. SDL_AudioFormat dst_format; /**< Target audio format */
  5549. ^~~~~~~~~~
  5550. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5551. double rate_incr; /**< Rate conversion increment */
  5552. ^~~~~~~~~
  5553. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5554. Uint8 *buf; /**< Buffer to hold entire audio data */
  5555. ^~~
  5556. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5557. int len; /**< Length of original audio buffer */
  5558. ^~~
  5559. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5560. int len_cvt; /**< Length of converted audio buffer */
  5561. ^~~~~~~
  5562. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5563. int len_mult; /**< buffer must be len*len_mult big */
  5564. ^~~~~~~~
  5565. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5566. double len_ratio; /**< Given len, final size is len*len_ratio */
  5567. ^~~~~~~~~
  5568. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5569. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5570. ^~~~~~~
  5571. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5572. int filter_index; /**< Current audio conversion function */
  5573. ^~~~~~~~~~~~
  5574.  
  5575. [249/258] Compiling engine/common/world.c
  5576. In file included from /usr/include/SDL2/SDL.h:36,
  5577. from ../common/port.h:151,
  5578. from ../engine/common/common.h:39,
  5579. from ../engine/common/net_chan.c:16:
  5580. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5581. int needed; /**< Set to 1 if conversion possible */
  5582. ^~~~~~
  5583. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5584. SDL_AudioFormat src_format; /**< Source audio format */
  5585. ^~~~~~~~~~
  5586. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5587. SDL_AudioFormat dst_format; /**< Target audio format */
  5588. ^~~~~~~~~~
  5589. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5590. double rate_incr; /**< Rate conversion increment */
  5591. ^~~~~~~~~
  5592. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5593. Uint8 *buf; /**< Buffer to hold entire audio data */
  5594. ^~~
  5595. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5596. int len; /**< Length of original audio buffer */
  5597. ^~~
  5598. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5599. int len_cvt; /**< Length of converted audio buffer */
  5600. ^~~~~~~
  5601. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5602. int len_mult; /**< buffer must be len*len_mult big */
  5603. ^~~~~~~~
  5604. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5605. double len_ratio; /**< Given len, final size is len*len_ratio */
  5606. ^~~~~~~~~
  5607. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5608. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5609. ^~~~~~~
  5610. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5611. int filter_index; /**< Current audio conversion function */
  5612. ^~~~~~~~~~~~
  5613. ../engine/common/net_chan.c: In function ‘NetSplit_GetLong’:
  5614. ../engine/common/net_chan.c:123:30: warning: cast increases required alignment of target type [-Wcast-align]
  5615. netsplit_packet_t *packet = (netsplit_packet_t*)data;
  5616. ^
  5617.  
  5618. [250/258] Compiling engine/server/sv_world.c
  5619. [251/258] Compiling engine/client/cl_frame.c
  5620. In file included from /usr/include/SDL2/SDL.h:36,
  5621. from ../common/port.h:151,
  5622. from ../engine/common/common.h:39,
  5623. from ../engine/common/world.c:16:
  5624. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5625. int needed; /**< Set to 1 if conversion possible */
  5626. ^~~~~~
  5627. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5628. SDL_AudioFormat src_format; /**< Source audio format */
  5629. ^~~~~~~~~~
  5630. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5631. SDL_AudioFormat dst_format; /**< Target audio format */
  5632. ^~~~~~~~~~
  5633. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5634. double rate_incr; /**< Rate conversion increment */
  5635. ^~~~~~~~~
  5636. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5637. Uint8 *buf; /**< Buffer to hold entire audio data */
  5638. ^~~
  5639. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5640. int len; /**< Length of original audio buffer */
  5641. ^~~
  5642. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5643. int len_cvt; /**< Length of converted audio buffer */
  5644. ^~~~~~~
  5645. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5646. int len_mult; /**< buffer must be len*len_mult big */
  5647. ^~~~~~~~
  5648. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5649. double len_ratio; /**< Given len, final size is len*len_ratio */
  5650. ^~~~~~~~~
  5651. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5652. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5653. ^~~~~~~
  5654. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5655. int filter_index; /**< Current audio conversion function */
  5656. ^~~~~~~~~~~~
  5657.  
  5658. [252/258] Compiling engine/client/vid_common.c
  5659. In file included from /usr/include/SDL2/SDL.h:36,
  5660. from ../common/port.h:151,
  5661. from ../engine/common/common.h:39,
  5662. from ../engine/client/vid_common.c:16:
  5663. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5664. int needed; /**< Set to 1 if conversion possible */
  5665. ^~~~~~
  5666. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5667. SDL_AudioFormat src_format; /**< Source audio format */
  5668. ^~~~~~~~~~
  5669. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5670. SDL_AudioFormat dst_format; /**< Target audio format */
  5671. ^~~~~~~~~~
  5672. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5673. double rate_incr; /**< Rate conversion increment */
  5674. ^~~~~~~~~
  5675. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5676. Uint8 *buf; /**< Buffer to hold entire audio data */
  5677. ^~~
  5678. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5679. int len; /**< Length of original audio buffer */
  5680. ^~~
  5681. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5682. int len_cvt; /**< Length of converted audio buffer */
  5683. ^~~~~~~
  5684. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5685. int len_mult; /**< buffer must be len*len_mult big */
  5686. ^~~~~~~~
  5687. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5688. double len_ratio; /**< Given len, final size is len*len_ratio */
  5689. ^~~~~~~~~
  5690. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5691. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5692. ^~~~~~~
  5693. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5694. int filter_index; /**< Current audio conversion function */
  5695. ^~~~~~~~~~~~
  5696.  
  5697. [253/258] Compiling engine/client/s_stream.c
  5698. In file included from /usr/include/SDL2/SDL.h:36,
  5699. from ../common/port.h:151,
  5700. from ../engine/common/common.h:39,
  5701. from ../engine/client/cl_frame.c:16:
  5702. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5703. int needed; /**< Set to 1 if conversion possible */
  5704. ^~~~~~
  5705. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5706. SDL_AudioFormat src_format; /**< Source audio format */
  5707. ^~~~~~~~~~
  5708. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5709. SDL_AudioFormat dst_format; /**< Target audio format */
  5710. ^~~~~~~~~~
  5711. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5712. double rate_incr; /**< Rate conversion increment */
  5713. ^~~~~~~~~
  5714. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5715. Uint8 *buf; /**< Buffer to hold entire audio data */
  5716. ^~~
  5717. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5718. int len; /**< Length of original audio buffer */
  5719. ^~~
  5720. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5721. int len_cvt; /**< Length of converted audio buffer */
  5722. ^~~~~~~
  5723. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5724. int len_mult; /**< buffer must be len*len_mult big */
  5725. ^~~~~~~~
  5726. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5727. double len_ratio; /**< Given len, final size is len*len_ratio */
  5728. ^~~~~~~~~
  5729. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5730. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5731. ^~~~~~~
  5732. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5733. int filter_index; /**< Current audio conversion function */
  5734. ^~~~~~~~~~~~
  5735. ../engine/client/cl_frame.c: In function ‘CL_GetStudioEstimatedFrame’:
  5736. ../engine/client/cl_frame.c:251:15: warning: cast increases required alignment of target type [-Wcast-align]
  5737. pseqdesc = (mstudioseqdesc_t *)((byte *)pstudiohdr + pstudiohdr->seqindex) + sequence;
  5738. ^
  5739.  
  5740. [254/258] Compiling engine/server/sv_save.c
  5741. In file included from /usr/include/SDL2/SDL.h:36,
  5742. from ../common/port.h:151,
  5743. from ../engine/common/common.h:39,
  5744. from ../engine/client/s_stream.c:16:
  5745. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5746. int needed; /**< Set to 1 if conversion possible */
  5747. ^~~~~~
  5748. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5749. SDL_AudioFormat src_format; /**< Source audio format */
  5750. ^~~~~~~~~~
  5751. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5752. SDL_AudioFormat dst_format; /**< Target audio format */
  5753. ^~~~~~~~~~
  5754. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5755. double rate_incr; /**< Rate conversion increment */
  5756. ^~~~~~~~~
  5757. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5758. Uint8 *buf; /**< Buffer to hold entire audio data */
  5759. ^~~
  5760. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5761. int len; /**< Length of original audio buffer */
  5762. ^~~
  5763. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5764. int len_cvt; /**< Length of converted audio buffer */
  5765. ^~~~~~~
  5766. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5767. int len_mult; /**< buffer must be len*len_mult big */
  5768. ^~~~~~~~
  5769. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5770. double len_ratio; /**< Given len, final size is len*len_ratio */
  5771. ^~~~~~~~~
  5772. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5773. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5774. ^~~~~~~
  5775. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5776. int filter_index; /**< Current audio conversion function */
  5777. ^~~~~~~~~~~~
  5778.  
  5779. [255/258] Compiling engine/client/cl_mobile.c
  5780. In file included from /usr/include/SDL2/SDL.h:36,
  5781. from ../common/port.h:151,
  5782. from ../engine/common/common.h:39,
  5783. from ../engine/client/cl_mobile.c:16:
  5784. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5785. int needed; /**< Set to 1 if conversion possible */
  5786. ^~~~~~
  5787. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5788. SDL_AudioFormat src_format; /**< Source audio format */
  5789. ^~~~~~~~~~
  5790. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5791. SDL_AudioFormat dst_format; /**< Target audio format */
  5792. ^~~~~~~~~~
  5793. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5794. double rate_incr; /**< Rate conversion increment */
  5795. ^~~~~~~~~
  5796. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5797. Uint8 *buf; /**< Buffer to hold entire audio data */
  5798. ^~~
  5799. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5800. int len; /**< Length of original audio buffer */
  5801. ^~~
  5802. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5803. int len_cvt; /**< Length of converted audio buffer */
  5804. ^~~~~~~
  5805. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5806. int len_mult; /**< buffer must be len*len_mult big */
  5807. ^~~~~~~~
  5808. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5809. double len_ratio; /**< Given len, final size is len*len_ratio */
  5810. ^~~~~~~~~
  5811. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5812. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5813. ^~~~~~~
  5814. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5815. int filter_index; /**< Current audio conversion function */
  5816. ^~~~~~~~~~~~
  5817.  
  5818. [256/258] Compiling engine/client/cl_netgraph.c
  5819. In file included from /usr/include/SDL2/SDL.h:36,
  5820. from ../common/port.h:151,
  5821. from ../engine/common/common.h:39,
  5822. from ../engine/server/sv_world.c:16:
  5823. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5824. int needed; /**< Set to 1 if conversion possible */
  5825. ^~~~~~
  5826. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5827. SDL_AudioFormat src_format; /**< Source audio format */
  5828. ^~~~~~~~~~
  5829. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5830. SDL_AudioFormat dst_format; /**< Target audio format */
  5831. ^~~~~~~~~~
  5832. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5833. double rate_incr; /**< Rate conversion increment */
  5834. ^~~~~~~~~
  5835. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5836. Uint8 *buf; /**< Buffer to hold entire audio data */
  5837. ^~~
  5838. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5839. int len; /**< Length of original audio buffer */
  5840. ^~~
  5841. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5842. int len_cvt; /**< Length of converted audio buffer */
  5843. ^~~~~~~
  5844. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5845. int len_mult; /**< buffer must be len*len_mult big */
  5846. ^~~~~~~~
  5847. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5848. double len_ratio; /**< Given len, final size is len*len_ratio */
  5849. ^~~~~~~~~
  5850. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5851. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5852. ^~~~~~~
  5853. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5854. int filter_index; /**< Current audio conversion function */
  5855. ^~~~~~~~~~~~
  5856. ../engine/server/sv_world.c: In function ‘SV_CheckSphereIntersection’:
  5857. ../engine/server/sv_world.c:140:13: warning: cast increases required alignment of target type [-Wcast-align]
  5858. pseqdesc = (mstudioseqdesc_t *)((byte *)pstudiohdr + pstudiohdr->seqindex) + sequence;
  5859. ^
  5860. ../engine/server/sv_world.c: In function ‘SV_HullForStudioModel’:
  5861. ../engine/server/sv_world.c:377:15: warning: cast increases required alignment of target type [-Wcast-align]
  5862. pseqdesc = (mstudioseqdesc_t *)((byte *)pstudio + pstudio->seqindex) + ent->v.sequence;
  5863. ^
  5864. In file included from ../engine/server/server.h:22,
  5865. from ../engine/server/sv_world.c:17:
  5866. ../engine/server/sv_world.c: In function ‘SV_TouchLinks’:
  5867. ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
  5868. #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
  5869. ^
  5870. ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
  5871. #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
  5872. ^~~~~~~~~~~~~~~~
  5873. ../engine/server/sv_world.c:515:11: note: in expansion of macro ‘EDICT_FROM_AREA’
  5874. touch = EDICT_FROM_AREA( l );
  5875. ^~~~~~~~~~~~~~~
  5876. ../engine/server/sv_world.c: In function ‘SV_WaterLinks’:
  5877. ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
  5878. #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
  5879. ^
  5880. ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
  5881. #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
  5882. ^~~~~~~~~~~~~~~~
  5883. ../engine/server/sv_world.c:719:11: note: in expansion of macro ‘EDICT_FROM_AREA’
  5884. touch = EDICT_FROM_AREA( l );
  5885. ^~~~~~~~~~~~~~~
  5886. ../engine/server/sv_world.c: In function ‘SV_ClipToLinks’:
  5887. ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
  5888. #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
  5889. ^
  5890. ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
  5891. #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
  5892. ^~~~~~~~~~~~~~~~
  5893. ../engine/server/sv_world.c:1255:11: note: in expansion of macro ‘EDICT_FROM_AREA’
  5894. touch = EDICT_FROM_AREA( l );
  5895. ^~~~~~~~~~~~~~~
  5896. ../engine/server/sv_world.c: In function ‘SV_ClipToPortals’:
  5897. ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
  5898. #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
  5899. ^
  5900. ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
  5901. #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
  5902. ^~~~~~~~~~~~~~~~
  5903. ../engine/server/sv_world.c:1287:11: note: in expansion of macro ‘EDICT_FROM_AREA’
  5904. touch = EDICT_FROM_AREA( l );
  5905. ^~~~~~~~~~~~~~~
  5906. ../engine/server/sv_world.c: In function ‘SV_ClipToWorldBrush’:
  5907. ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
  5908. #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
  5909. ^
  5910. ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
  5911. #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
  5912. ^~~~~~~~~~~~~~~~
  5913. ../engine/server/sv_world.c:1319:11: note: in expansion of macro ‘EDICT_FROM_AREA’
  5914. touch = EDICT_FROM_AREA( l );
  5915. ^~~~~~~~~~~~~~~
  5916.  
  5917. [257/258] Compiling engine/common/cfgscript.c
  5918. In file included from /usr/include/SDL2/SDL.h:36,
  5919. from ../common/port.h:151,
  5920. from ../engine/common/common.h:39,
  5921. from ../engine/server/sv_game.c:16:
  5922. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5923. int needed; /**< Set to 1 if conversion possible */
  5924. ^~~~~~
  5925. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5926. SDL_AudioFormat src_format; /**< Source audio format */
  5927. ^~~~~~~~~~
  5928. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5929. SDL_AudioFormat dst_format; /**< Target audio format */
  5930. ^~~~~~~~~~
  5931. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5932. double rate_incr; /**< Rate conversion increment */
  5933. ^~~~~~~~~
  5934. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5935. Uint8 *buf; /**< Buffer to hold entire audio data */
  5936. ^~~
  5937. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  5938. int len; /**< Length of original audio buffer */
  5939. ^~~
  5940. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  5941. int len_cvt; /**< Length of converted audio buffer */
  5942. ^~~~~~~
  5943. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  5944. int len_mult; /**< buffer must be len*len_mult big */
  5945. ^~~~~~~~
  5946. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  5947. double len_ratio; /**< Given len, final size is len*len_ratio */
  5948. ^~~~~~~~~
  5949. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  5950. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  5951. ^~~~~~~
  5952. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  5953. int filter_index; /**< Current audio conversion function */
  5954. ^~~~~~~~~~~~
  5955. ../engine/server/sv_game.c: In function ‘SV_WriteEntityPatch’:
  5956. ../engine/server/sv_game.c:782:11: warning: cast increases required alignment of target type [-Wcast-align]
  5957. header = (dheader_t *)buf;
  5958. ^
  5959. ../engine/server/sv_game.c: In function ‘SV_ReadEntityScript’:
  5960. ../engine/server/sv_game.c:836:11: warning: cast increases required alignment of target type [-Wcast-align]
  5961. header = (dheader_t *)buf;
  5962. ^
  5963. In file included from ../engine/server/sv_game.c:17:
  5964. ../engine/server/sv_game.c: In function ‘SV_FindEntityByString’:
  5965. ../engine/server/sv_game.c:1570:17: warning: cast increases required alignment of target type [-Wcast-align]
  5966. t = STRING( *(string_t *)&((byte *)&ed->v)[desc->fieldOffset] );
  5967. ^
  5968. ../engine/server/server.h:64:40: note: in definition of macro ‘STRING’
  5969. #define STRING( offset ) SV_GetString( offset )
  5970. ^~~~~~
  5971. ../engine/server/sv_game.c: In function ‘pfnMessageEnd’:
  5972. ../engine/server/sv_game.c:2686:4: warning: cast increases required alignment of target type [-Wcast-align]
  5973. *(word *)&sv.multicast.pData[svgame.msg_size_index] = svgame.msg_realsize;
  5974. ^
  5975. ../engine/server/sv_game.c: In function ‘pfnPEntityOfEntOffset’:
  5976. ../engine/server/sv_game.c:3297:9: warning: cast increases required alignment of target type [-Wcast-align]
  5977. return (edict_t *)((byte *)svgame.edicts + iEntOffset);
  5978. ^
  5979.  
  5980. In file included from /usr/include/SDL2/SDL.h:36,
  5981. from ../common/port.h:151,
  5982. from ../engine/common/common.h:39,
  5983. from ../engine/common/cfgscript.c:16:
  5984. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  5985. int needed; /**< Set to 1 if conversion possible */
  5986. ^~~~~~
  5987. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  5988. SDL_AudioFormat src_format; /**< Source audio format */
  5989. ^~~~~~~~~~
  5990. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  5991. SDL_AudioFormat dst_format; /**< Target audio format */
  5992. ^~~~~~~~~~
  5993. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  5994. double rate_incr; /**< Rate conversion increment */
  5995. ^~~~~~~~~
  5996. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  5997. Uint8 *buf; /**< Buffer to hold entire audio data */
  5998. ^~~
  5999. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  6000. int len; /**< Length of original audio buffer */
  6001. ^~~
  6002. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  6003. int len_cvt; /**< Length of converted audio buffer */
  6004. ^~~~~~~
  6005. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  6006. int len_mult; /**< buffer must be len*len_mult big */
  6007. ^~~~~~~~
  6008. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  6009. double len_ratio; /**< Given len, final size is len*len_ratio */
  6010. ^~~~~~~~~
  6011. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  6012. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  6013. ^~~~~~~
  6014. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  6015. int filter_index; /**< Current audio conversion function */
  6016. ^~~~~~~~~~~~
  6017.  
  6018. In file included from /usr/include/SDL2/SDL.h:36,
  6019. from ../common/port.h:151,
  6020. from ../engine/common/common.h:39,
  6021. from ../engine/client/cl_netgraph.c:16:
  6022. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  6023. int needed; /**< Set to 1 if conversion possible */
  6024. ^~~~~~
  6025. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  6026. SDL_AudioFormat src_format; /**< Source audio format */
  6027. ^~~~~~~~~~
  6028. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  6029. SDL_AudioFormat dst_format; /**< Target audio format */
  6030. ^~~~~~~~~~
  6031. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  6032. double rate_incr; /**< Rate conversion increment */
  6033. ^~~~~~~~~
  6034. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  6035. Uint8 *buf; /**< Buffer to hold entire audio data */
  6036. ^~~
  6037. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  6038. int len; /**< Length of original audio buffer */
  6039. ^~~
  6040. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  6041. int len_cvt; /**< Length of converted audio buffer */
  6042. ^~~~~~~
  6043. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  6044. int len_mult; /**< buffer must be len*len_mult big */
  6045. ^~~~~~~~
  6046. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  6047. double len_ratio; /**< Given len, final size is len*len_ratio */
  6048. ^~~~~~~~~
  6049. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  6050. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  6051. ^~~~~~~
  6052. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  6053. int filter_index; /**< Current audio conversion function */
  6054. ^~~~~~~~~~~~
  6055.  
  6056. In file included from /usr/include/SDL2/SDL.h:36,
  6057. from ../common/port.h:151,
  6058. from ../engine/common/common.h:39,
  6059. from ../engine/server/sv_save.c:16:
  6060. /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
  6061. int needed; /**< Set to 1 if conversion possible */
  6062. ^~~~~~
  6063. /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
  6064. SDL_AudioFormat src_format; /**< Source audio format */
  6065. ^~~~~~~~~~
  6066. /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
  6067. SDL_AudioFormat dst_format; /**< Target audio format */
  6068. ^~~~~~~~~~
  6069. /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
  6070. double rate_incr; /**< Rate conversion increment */
  6071. ^~~~~~~~~
  6072. /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
  6073. Uint8 *buf; /**< Buffer to hold entire audio data */
  6074. ^~~
  6075. /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
  6076. int len; /**< Length of original audio buffer */
  6077. ^~~
  6078. /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
  6079. int len_cvt; /**< Length of converted audio buffer */
  6080. ^~~~~~~
  6081. /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
  6082. int len_mult; /**< buffer must be len*len_mult big */
  6083. ^~~~~~~~
  6084. /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
  6085. double len_ratio; /**< Given len, final size is len*len_ratio */
  6086. ^~~~~~~~~
  6087. /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
  6088. SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
  6089. ^~~~~~~
  6090. /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
  6091. int filter_index; /**< Current audio conversion function */
  6092. ^~~~~~~~~~~~
  6093. ../engine/server/sv_save.c: In function ‘SV_GetSaveComment’:
  6094. ../engine/server/sv_save.c:2354:16: warning: cast increases required alignment of target type [-Wcast-align]
  6095. nFieldSize = *(short *)pData;
  6096. ^
  6097. ../engine/server/sv_save.c:2356:27: warning: cast increases required alignment of target type [-Wcast-align]
  6098. pFieldName = pTokenList[*(short *)pData];
  6099. ^
  6100. ../engine/server/sv_save.c:2380:17: warning: cast increases required alignment of target type [-Wcast-align]
  6101. nFieldSize = *(short *)pData;
  6102. ^
  6103. ../engine/server/sv_save.c:2383:28: warning: cast increases required alignment of target type [-Wcast-align]
  6104. pFieldName = pTokenList[*(short *)pData];
  6105. ^
  6106.  
  6107. [258/258] Linking build/engine/libxash.so
  6108. Waf: Leaving directory `/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build'
  6109. 'build' finished successfully (9m44.081s)
  6110. Setting top to : /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk
  6111. Setting out to : /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk/build
  6112. Build type : release
  6113. Checking for 'gcc' (C compiler) : /usr/bin/gcc
  6114. Target OS : linux
  6115. Target CPU : arm
  6116. Target binfmt : elf
  6117. Checking for 'g++' (C++ compiler) : /usr/bin/g++
  6118. Target OS : linux
  6119. Target CPU : arm
  6120. Target binfmt : elf
  6121. Checking for program 'strip' : /usr/bin/strip
  6122. Checking for program 'objcopy' : /usr/bin/objcopy
  6123. Checking if 'gcc' can target 32-bit : yes
  6124. Determining library postfix : started
  6125. -> processing test results : _armv8_32hf
  6126. Checking for required C flags : yes
  6127. Checking for required C++ flags : yes
  6128. Checking supported flags for gcc in parallel : started
  6129. ... -Werror=bool-compare : yes
  6130. ... -fdiagnostics-color=always : yes
  6131. ... -Werror=implicit-function-declaration : yes
  6132. ... -Wstrict-aliasing : yes
  6133. ... -Werror=int-conversion : yes
  6134. ... -Werror=tautological-compare : yes
  6135. ... -Werror=declaration-after-statement : yes
  6136. ... -Werror=bool-operation : yes
  6137. ... -Werror=vla : yes
  6138. ... -Werror=return-type : yes
  6139. ... -Werror=implicit-int : yes
  6140. ... -Werror=parentheses : yes
  6141. ... -Werror=duplicated-cond : yes
  6142. -> processing test results : all ok
  6143. Checking supported flags for g++ in parallel : started
  6144. ... -Werror=bool-compare : yes
  6145. ... -Wstrict-aliasing : yes
  6146. ... -Werror=return-type : yes
  6147. ... -fdiagnostics-color=always : yes
  6148. ... -Werror=bool-operation : yes
  6149. ... -Werror=parentheses : yes
  6150. ... -Werror=tautological-compare : yes
  6151. ... -Werror=duplicated-cond : yes
  6152. ... -Werror=vla : yes
  6153. -> processing test results : all ok
  6154. Checking for header tgmath.h : yes
  6155. Checking if tgmath.h is usable : yes
  6156. Checking if cmath is usable : yes
  6157. --> cl_dll : in progress
  6158. <-- cl_dll : done
  6159. --> dlls : in progress
  6160. <-- dlls : done
  6161. 'configure' finished successfully (12.711s)
  6162. Build commands will be stored in build/compile_commands.json
  6163. Waf: Entering directory `/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk/build'
  6164. [ 1/167] Compiling cl_dll/view.cpp
  6165. [ 2/167] Compiling cl_dll/death.cpp
  6166. [ 3/167] Compiling dlls/mp5.cpp
  6167. [ 4/167] Compiling cl_dll/hl/hl_weapons.cpp
  6168. [ 5/167] Compiling pm_shared/pm_shared.c
  6169. [ 6/167] Compiling pm_shared/pm_debug.c
  6170. [ 7/167] Compiling cl_dll/tri.cpp
  6171. [ 8/167] Compiling cl_dll/cdll_int.cpp
  6172. [ 9/167] Compiling dlls/handgrenade.cpp
  6173. [ 10/167] Compiling cl_dll/hl/hl_objects.cpp
  6174. [ 11/167] Compiling cl_dll/saytext.cpp
  6175. [ 12/167] Compiling cl_dll/parsemsg.cpp
  6176. [ 13/167] Compiling cl_dll/ammo_secondary.cpp
  6177. [ 14/167] Compiling cl_dll/overview.cpp
  6178. [ 15/167] Compiling cl_dll/message.cpp
  6179. [ 16/167] Compiling cl_dll/ammo.cpp
  6180. [ 17/167] Compiling dlls/glock.cpp
  6181. In file included from ../pm_shared/pm_shared.c:22:
  6182. ../pm_shared/pm_shared.c: In function ‘PM_CheckVelocity’:
  6183. ../common/mathlib.h:53:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  6184. #define IS_NAN(x) (((*(int *)&x)&nanmask)==nanmask)
  6185. ../pm_shared/pm_shared.c:731:7: note: in expansion of macro ‘IS_NAN’
  6186. if( IS_NAN( pmove->velocity[i] ) )
  6187. ^~~~~~
  6188. ../common/mathlib.h:53:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  6189. #define IS_NAN(x) (((*(int *)&x)&nanmask)==nanmask)
  6190. ../pm_shared/pm_shared.c:736:7: note: in expansion of macro ‘IS_NAN’
  6191. if( IS_NAN( pmove->origin[i] ) )
  6192. ^~~~~~
  6193.  
  6194. [ 18/167] Compiling cl_dll/ammohistory.cpp
  6195. [ 19/167] Compiling cl_dll/input_xash3d.cpp
  6196. [ 20/167] Compiling cl_dll/StudioModelRenderer.cpp
  6197. [ 21/167] Compiling cl_dll/input_mouse.cpp
  6198. [ 22/167] Compiling cl_dll/input_goldsource.cpp
  6199. [ 23/167] Compiling cl_dll/MOTD.cpp
  6200. [ 24/167] Compiling dlls/gauss.cpp
  6201. [ 25/167] Compiling cl_dll/hl/hl_events.cpp
  6202. [ 26/167] Compiling pm_shared/pm_math.c
  6203. [ 27/167] Compiling cl_dll/input.cpp
  6204. [ 28/167] Compiling cl_dll/in_camera.cpp
  6205. [ 29/167] Compiling cl_dll/GameStudioModelRenderer.cpp
  6206. [ 30/167] Compiling cl_dll/hud_update.cpp
  6207. [ 31/167] Compiling cl_dll/hud_spectator.cpp
  6208. [ 32/167] Compiling dlls/tripmine.cpp
  6209. [ 33/167] Compiling dlls/egon.cpp
  6210. [ 34/167] Compiling cl_dll/hud_redraw.cpp
  6211. [ 35/167] Compiling cl_dll/hud_msg.cpp
  6212. [ 36/167] Compiling cl_dll/menu.cpp
  6213. [ 37/167] Compiling cl_dll/hud.cpp
  6214. [ 38/167] Compiling cl_dll/health.cpp
  6215. [ 39/167] Compiling dlls/shotgun.cpp
  6216. [ 40/167] Compiling dlls/crowbar.cpp
  6217. [ 41/167] Compiling cl_dll/hl/hl_baseentity.cpp
  6218. [ 42/167] Compiling cl_dll/geiger.cpp
  6219. [ 43/167] Compiling cl_dll/flashlight.cpp
  6220. [ 44/167] Compiling cl_dll/events.cpp
  6221. [ 45/167] Compiling dlls/satchel.cpp
  6222. [ 46/167] Compiling cl_dll/ev_common.cpp
  6223. [ 47/167] Compiling dlls/rpg.cpp
  6224. [ 48/167] Compiling dlls/crossbow.cpp
  6225. [ 49/167] Compiling cl_dll/ev_hldm.cpp
  6226. [ 50/167] Compiling cl_dll/entity.cpp
  6227. [ 51/167] Compiling dlls/squeakgrenade.cpp
  6228. [ 52/167] Compiling cl_dll/demo.cpp
  6229. [ 53/167] Compiling dlls/python.cpp
  6230. [ 54/167] Compiling cl_dll/text_message.cpp
  6231. [ 55/167] Compiling cl_dll/scoreboard.cpp
  6232. [ 56/167] Compiling cl_dll/status_icons.cpp
  6233. [ 57/167] Compiling cl_dll/util.cpp
  6234. [ 58/167] Compiling cl_dll/train.cpp
  6235. [ 59/167] Compiling cl_dll/battery.cpp
  6236. [ 60/167] Compiling cl_dll/statusbar.cpp
  6237. [ 61/167] Compiling cl_dll/com_weapons.cpp
  6238. [ 62/167] Compiling cl_dll/studio_util.cpp
  6239. [ 63/167] Compiling dlls/hornetgun.cpp
  6240. ../cl_dll/com_weapons.cpp: In function ‘float UTIL_SharedRandomFloat(unsigned int, float, float)’:
  6241. ../cl_dll/com_weapons.cpp:240:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  6242. U_Srand( (int)seed + *(int *)&low + *(int *)&high );
  6243. ^~~~~~~~~~~
  6244. ../cl_dll/com_weapons.cpp:240:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  6245. U_Srand( (int)seed + *(int *)&low + *(int *)&high );
  6246. ^~~~~~~~~~~~
  6247.  
  6248. [ 64/167] Compiling dlls/multiplay_gamerules.cpp
  6249. [ 65/167] Compiling dlls/client.cpp
  6250. [ 66/167] Compiling dlls/aflock.cpp
  6251. [ 67/167] Compiling dlls/game.cpp
  6252. [ 68/167] Compiling pm_shared/pm_shared.c
  6253. [ 69/167] Linking build/cl_dll/client_armv8_32hf.so
  6254. [ 70/167] Compiling pm_shared/pm_debug.c
  6255. [ 71/167] Compiling dlls/explode.cpp
  6256. [ 72/167] Compiling dlls/observer.cpp
  6257. [ 73/167] Compiling dlls/gman.cpp
  6258. [ 74/167] Compiling dlls/cbase.cpp
  6259. [ 75/167] Compiling dlls/defaultai.cpp
  6260. [ 76/167] Compiling dlls/mp5.cpp
  6261. [ 77/167] Compiling dlls/crossbow.cpp
  6262. In file included from ../pm_shared/pm_shared.c:22:
  6263. ../pm_shared/pm_shared.c: In function ‘PM_CheckVelocity’:
  6264. ../common/mathlib.h:53:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  6265. #define IS_NAN(x) (((*(int *)&x)&nanmask)==nanmask)
  6266. ../pm_shared/pm_shared.c:731:7: note: in expansion of macro ‘IS_NAN’
  6267. if( IS_NAN( pmove->velocity[i] ) )
  6268. ^~~~~~
  6269. ../common/mathlib.h:53:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  6270. #define IS_NAN(x) (((*(int *)&x)&nanmask)==nanmask)
  6271. ../pm_shared/pm_shared.c:736:7: note: in expansion of macro ‘IS_NAN’
  6272. if( IS_NAN( pmove->origin[i] ) )
  6273. ^~~~~~
  6274.  
  6275. [ 78/167] Compiling dlls/monstermaker.cpp
  6276. [ 79/167] Compiling dlls/monsterstate.cpp
  6277. [ 80/167] Compiling dlls/zombie.cpp
  6278. [ 81/167] Compiling dlls/turret.cpp
  6279. [ 82/167] Compiling dlls/util.cpp
  6280. [ 83/167] Compiling dlls/singleplay_gamerules.cpp
  6281. [ 84/167] Compiling dlls/tentacle.cpp
  6282. [ 85/167] Compiling dlls/items.cpp
  6283. [ 86/167] Compiling dlls/subs.cpp
  6284. [ 87/167] Compiling dlls/hornetgun.cpp
  6285. [ 88/167] Compiling dlls/soundent.cpp
  6286. ../dlls/util.cpp: In function ‘float UTIL_SharedRandomFloat(unsigned int, float, float)’:
  6287. ../dlls/util.cpp:116:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  6288. U_Srand( (int)seed + *(int *)&low + *(int *)&high );
  6289. ^~~~~~~~~~~
  6290. ../dlls/util.cpp:116:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  6291. U_Srand( (int)seed + *(int *)&low + *(int *)&high );
  6292. ^~~~~~~~~~~~
  6293.  
  6294. [ 89/167] Compiling dlls/bloater.cpp
  6295. [ 90/167] Compiling dlls/shotgun.cpp
  6296. [ 91/167] Compiling dlls/combat.cpp
  6297. [ 92/167] Compiling dlls/satchel.cpp
  6298. [ 93/167] Compiling dlls/playermonster.cpp
  6299. [ 94/167] Compiling dlls/python.cpp
  6300. [ 95/167] Compiling dlls/apache.cpp
  6301. [ 96/167] Compiling dlls/plane.cpp
  6302. [ 97/167] Compiling dlls/handgrenade.cpp
  6303. [ 98/167] Compiling dlls/mortar.cpp
  6304. [ 99/167] Compiling dlls/nodes.cpp
  6305. [100/167] Compiling dlls/weapons.cpp
  6306. [101/167] Compiling dlls/tempmonster.cpp
  6307. [102/167] Compiling dlls/maprules.cpp
  6308. [103/167] Compiling dlls/islave.cpp
  6309. [104/167] Compiling dlls/bmodels.cpp
  6310. [105/167] Compiling dlls/h_cycler.cpp
  6311. [106/167] Compiling dlls/scripted.cpp
  6312. [107/167] Compiling dlls/hassassin.cpp
  6313. [108/167] Compiling dlls/barnacle.cpp
  6314. [109/167] Compiling dlls/h_cine.cpp
  6315. [110/167] Compiling dlls/animating.cpp
  6316. [111/167] Compiling dlls/glock.cpp
  6317. [112/167] Compiling dlls/rpg.cpp
  6318. [113/167] Compiling dlls/gauss.cpp
  6319. [114/167] Compiling dlls/lights.cpp
  6320. [115/167] Compiling pm_shared/pm_math.c
  6321. [116/167] Compiling dlls/func_tank.cpp
  6322. [117/167] Compiling dlls/egon.cpp
  6323. [118/167] Compiling dlls/xen.cpp
  6324. [119/167] Compiling dlls/crowbar.cpp
  6325. [120/167] Compiling dlls/controller.cpp
  6326. [121/167] Compiling dlls/world.cpp
  6327. [122/167] Compiling dlls/talkmonster.cpp
  6328. [123/167] Compiling dlls/teamplay_gamerules.cpp
  6329. [124/167] Compiling dlls/ichthyosaur.cpp
  6330. [125/167] Compiling dlls/skill.cpp
  6331. [126/167] Compiling dlls/headcrab.cpp
  6332. [127/167] Compiling dlls/roach.cpp
  6333. [128/167] Compiling dlls/barney.cpp
  6334. [129/167] Compiling dlls/monsters.cpp
  6335. [130/167] Compiling dlls/osprey.cpp
  6336. [131/167] Compiling dlls/triggers.cpp
  6337. [132/167] Compiling dlls/houndeye.cpp
  6338. [133/167] Compiling dlls/sound.cpp
  6339. [134/167] Compiling dlls/h_export.cpp
  6340. [135/167] Compiling dlls/animation.cpp
  6341. [136/167] Compiling dlls/ggrenade.cpp
  6342. [137/167] Compiling dlls/nihilanth.cpp
  6343. [138/167] Compiling dlls/flyingmonster.cpp
  6344. [139/167] Compiling dlls/agrunt.cpp
  6345. [140/167] Compiling dlls/doors.cpp
  6346. [141/167] Compiling dlls/bullsquid.cpp
  6347. [142/167] Compiling dlls/squadmonster.cpp
  6348. [143/167] Compiling dlls/hgrunt.cpp
  6349. [144/167] Compiling dlls/leech.cpp
  6350. [145/167] Compiling dlls/player.cpp
  6351. [146/167] Compiling dlls/spectator.cpp
  6352. [147/167] Compiling dlls/h_ai.cpp
  6353. [148/167] Compiling dlls/pathcorner.cpp
  6354. [149/167] Compiling dlls/plats.cpp
  6355. [150/167] Compiling dlls/squeakgrenade.cpp
  6356. [151/167] Compiling dlls/healthkit.cpp
  6357. [152/167] Compiling dlls/scientist.cpp
  6358. [153/167] Compiling dlls/gamerules.cpp
  6359. [154/167] Compiling dlls/effects.cpp
  6360. [155/167] Compiling dlls/hornet.cpp
  6361. [156/167] Compiling dlls/tripmine.cpp
  6362. [157/167] Compiling dlls/airtank.cpp
  6363. [158/167] Compiling dlls/bigmomma.cpp
  6364. [159/167] Compiling dlls/h_battery.cpp
  6365. [160/167] Compiling dlls/globals.cpp
  6366. [161/167] Compiling dlls/gargantua.cpp
  6367. [162/167] Compiling dlls/buttons.cpp
  6368. [163/167] Compiling dlls/genericmonster.cpp
  6369. [164/167] Compiling dlls/rat.cpp
  6370. [165/167] Compiling dlls/func_break.cpp
  6371. [166/167] Compiling dlls/schedule.cpp
  6372. [167/167] Linking build/dlls/hl_armv8_32hf.so
  6373. Waf: Leaving directory `/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk/build'
  6374. 'build' finished successfully (5m59.682s)
  6375. /home/pi/RetroPie-Setup
  6376. /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs /home/pi/RetroPie-Setup
  6377. '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/game_launch/xash3d' -> '/opt/retropie/ports/xash3d-fwgs/xash3d'
  6378. '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/engine/libxash.so' -> '/opt/retropie/ports/xash3d-fwgs/libxash.so'
  6379. '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/mainui/libmenu.so' -> '/opt/retropie/ports/xash3d-fwgs/libmenu.so'
  6380. '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/ref_soft/libref_soft.so' -> '/opt/retropie/ports/xash3d-fwgs/libref_soft.so'
  6381. '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/ref_gl/libref_gl.so' -> '/opt/retropie/ports/xash3d-fwgs/libref_gl.so'
  6382. '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk/build/cl_dll/client_armv8_32hf.so' -> '/opt/retropie/ports/xash3d-fwgs/client_armv8_32hf.so'
  6383. '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk/build/dlls/hl_armv8_32hf.so' -> '/opt/retropie/ports/xash3d-fwgs/hl_armv8_32hf.so'
  6384. /home/pi/RetroPie-Setup
  6385. /opt/retropie/ports/xash3d-fwgs /home/pi/RetroPie-Setup
  6386.  
  6387. = = = = = = = = = = = = = = = = = = = = =
  6388. Configuring 'xash3d-fwgs' : xash3d-fwgs - Half-Life Engine Port
  6389. = = = = = = = = = = = = = = = = = = = = =
  6390.  
  6391. /home/pi/RetroPie-Setup
  6392.  
  6393. Log ended at: Thu 25 Mar 21:04:22 GMT 2021
  6394. Total running time: 0 hours, 17 mins, 38 secs
  6395.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement