Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Log started at: Thu 25 Mar 20:46:44 GMT 2021
- RetroPie-Setup version: 4.7.11 (88bf48ba)
- 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
- = = = = = = = = = = = = = = = = = = = = =
- Installing dependencies for 'xash3d-fwgs' : xash3d-fwgs - Half-Life Engine Port
- = = = = = = = = = = = = = = = = = = = = =
- /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs /home/pi/RetroPie-Setup
- = = = = = = = = = = = = = = = = = = = = =
- Getting sources for 'xash3d-fwgs' : xash3d-fwgs - Half-Life Engine Port
- = = = = = = = = = = = = = = = = = = = = =
- git clone --recursive --depth 1 --branch master "https://github.com/FWGS/xash3d-fwgs.git" "/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs"
- Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs'...
- Submodule 'mainui' (https://github.com/FWGS/mainui_cpp) registered for path 'mainui'
- Submodule 'ref_gl/gl-wes-v2' (https://github.com/FWGS/gl-wes-v2) registered for path 'ref_gl/gl-wes-v2'
- Submodule 'ref_gl/gl4es' (https://github.com/ptitSeb/gl4es) registered for path 'ref_gl/gl4es'
- Submodule 'ref_gl/nanogl' (https://github.com/FWGS/nanogl) registered for path 'ref_gl/nanogl'
- Submodule 'vgui-dev' (https://github.com/FWGS/vgui-dev) registered for path 'vgui-dev'
- Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/mainui'...
- Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/ref_gl/nanogl'...
- Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/ref_gl/gl-wes-v2'...
- Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/ref_gl/gl4es'...
- Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/vgui-dev'...
- Submodule path 'mainui': checked out 'd9e5b5ba14b04c9f290cca970ad79f48b91ebdd4'
- Submodule 'miniutl' (https://github.com/FWGS/miniutl) registered for path 'mainui/miniutl'
- Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/mainui/miniutl'...
- Submodule path 'mainui/miniutl': checked out 'b2741298ceef8893ad75b8b96386075abdf5ca0c'
- Submodule path 'ref_gl/gl-wes-v2': checked out '11384d5cf6de22de3a9a47f97f2e1a4f069d4cd4'
- Submodule path 'ref_gl/gl4es': checked out '69f911dcaf7e30de89675d8d8e22fe54748b9012'
- Submodule path 'ref_gl/nanogl': checked out '5a22eab53433dcd0d27110166ae33b91d188e342'
- Submodule path 'vgui-dev': checked out '93573075afe885618ea15831e72d44bdacd65bfb'
- HEAD is now in branch 'master' at commit 'bfa01f5b3bd32ee05d79751e7d3bfadf7016f97d'
- git clone --recursive --depth 1 --branch master "https://github.com/FWGS/hlsdk-xash3d.git" "/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk"
- Cloning into '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk'...
- HEAD is now in branch 'master' at commit 'a7103c1c142b5417604e1bd5383a4f40a9765e2a'
- /home/pi/RetroPie-Setup
- /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs /home/pi/RetroPie-Setup
- = = = = = = = = = = = = = = = = = = = = =
- Building 'xash3d-fwgs' : xash3d-fwgs - Half-Life Engine Port
- = = = = = = = = = = = = = = = = = = = = =
- Setting top to : /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs
- Setting out to : /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build
- Build type : release
- LTO build : no
- PolyOpt build : no
- Checking for 'gcc' (C compiler) : /usr/bin/gcc
- Target OS : linux
- Target CPU : arm
- Target binfmt : elf
- Checking for 'g++' (C++ compiler) : /usr/bin/g++
- Target OS : linux
- Target CPU : arm
- Target binfmt : elf
- Checking for program 'git' : /usr/bin/git
- Checking git hash : bfa01f5
- Checking for program 'strip' : /usr/bin/strip
- Checking for program 'objcopy' : /usr/bin/objcopy
- Checking if 'gcc' can target 32-bit : yes
- Checking for required C flags : yes
- Checking for required C++ flags : yes
- Checking supported flags for g++ in parallel : started
- ... -Winit-self : yes
- ... -Werror=duplicated-branches : yes
- ... -fdiagnostics-color=always : yes
- ... -Werror=implicit-fallthrough=2 : yes
- ... -Werror=packed : yes
- ... -Werror=bool-operation : yes
- ... -Wcast-align : yes
- ... -Werror=cast-align=strict : yes
- ... -Werror=tautological-compare : yes
- ... -Wstrict-aliasing : yes
- ... -Werror=vla : yes
- ... -Werror=packed-not-aligned : yes
- ... -Werror=duplicated-cond : yes
- ... -Werror=return-type : yes
- ... -Wuninitialized : yes
- ... -Werror=parentheses : yes
- ... -Werror=bool-compare : yes
- -> processing test results : all ok
- Checking supported flags for gcc in parallel : started
- ... -Werror=old-style-definition : yes
- ... -Winit-self : yes
- ... -fdiagnostics-color=always : yes
- ... -Werror=duplicated-branches : yes
- ... -Werror=bool-compare : yes
- ... -Werror=implicit-fallthrough=2 : yes
- ... -Werror=implicit-int : yes
- ... -Werror=tautological-compare : yes
- ... -fnonconst-initializers : no
- ... -Werror=declaration-after-statement : yes
- ... -Werror=bool-operation : yes
- ... -Wstrict-aliasing : yes
- ... -Werror=cast-align=strict : yes
- ... -Werror=old-style-declaration : yes
- ... -Werror=implicit-function-declaration : yes
- ... -Wuninitialized : yes
- ... -Werror=incompatible-pointer-types : yes
- ... -Werror=packed-not-aligned : yes
- ... -Werror=vla : yes
- ... -Werror=int-conversion : yes
- ... -Werror=strict-prototypes : yes
- ... -Wcast-align : yes
- ... -Werror=packed : yes
- ... -Werror=enum-conversion : no
- ... -Werror=return-type : yes
- ... -Werror=parentheses : yes
- ... -Werror=duplicated-cond : yes
- -> processing test results : 2 test failed
- Checking for header stdint.h : yes
- Checking for library dl : yes
- Checking for library m : yes
- Checking for header tgmath.h : yes
- Checking if tgmath.h is usable : yes
- --> public : in progress
- <-- public : done
- --> game_launch : in progress
- <-- game_launch : done
- --> ref_gl : in progress
- <-- ref_gl : done
- --> ref_soft : in progress
- <-- ref_soft : done
- --> mainui : in progress
- Checking if 'g++' supports C++11 : yes
- Checking for program 'pkg-config' : /usr/bin/pkg-config
- Checking for 'freetype2' : yes
- Checking for 'freetype2' sanity : yes
- Checking for 'fontconfig' : yes
- Checking for 'fontconfig' sanity : yes
- Checking for library rt : yes
- <-- mainui : done
- --> vgui_support : in progress
- Does this architecture support VGUI? : no
- vgui is not supported on this CPU: arm
- <-- vgui_support : done
- --> engine : in progress
- Checking for library SDL2 : yes
- Checking for library SDL2 sanity : yes
- Checking if a pthread flag is necessary for compiling : None
- Checking if a pthread flag is necessary for linking : no
- -> Trying pthread link flag -lpthreads : no
- -> Trying pthread link flag -Kthread : no
- -> Trying pthread link flag -kthread : no
- -> Trying pthread link flag -llthread : no
- -> Trying pthread link flag -pthread : needs -pthread
- <-- engine : done
- 'configure' finished successfully (25.588s)
- Build commands will be stored in build/compile_commands.json
- Waf: Entering directory `/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build'
- [ 1/258] Compiling public/matrixlib.c
- [ 2/258] Compiling public/crclib.c
- [ 3/258] Compiling public/xash3d_mathlib.c
- [ 4/258] Compiling public/crtlib.c
- [ 5/258] Compiling game_launch/game.cpp
- [ 6/258] Compiling ref_gl/gl_image.c
- ../public/xash3d_mathlib.c: In function ‘FloatToHalf’:
- ../public/xash3d_mathlib.c:76:21: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- unsigned int i = *((unsigned int *)&v);
- ~^~~~~~~~~~~~~~~~~~~
- ../public/xash3d_mathlib.c: In function ‘HalfToFloat’:
- ../public/xash3d_mathlib.c:118:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- return *((float *)&f);
- ~^~~~~~~~~~~~
- ../public/xash3d_mathlib.c: In function ‘rsqrt’:
- ../public/xash3d_mathlib.c:299:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- i = *(int *)&number; // evil floating point bit level hacking
- ^~~~~~~~~~~~~~
- ../public/xash3d_mathlib.c:301:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- y = *(float *)&i;
- ^~~~~~~~~~~
- [ 7/258] Linking build/game_launch/xash3d
- [ 8/258] Compiling ref_gl/gl_vgui.c
- [ 9/258] Compiling ref_gl/gl_cull.c
- [ 10/258] Compiling ref_gl/gl_rmisc.c
- [ 11/258] Compiling ref_gl/gl_triapi.c
- [ 12/258] Compiling ref_gl/gl_rmath.c
- [ 13/258] Compiling ref_gl/gl_context.c
- [ 14/258] Linking build/public/libpublic.a
- [ 15/258] Compiling ref_gl/gl_rlight.c
- [ 16/258] Compiling ref_gl/gl_beams.c
- [ 17/258] Compiling ref_gl/gl_opengl.c
- [ 18/258] Compiling ref_gl/gl_warp.c
- [ 19/258] Compiling ref_gl/gl_rpart.c
- [ 20/258] Compiling ref_gl/gl_alias.c
- [ 21/258] Compiling ref_gl/gl_rsurf.c
- ../ref_gl/gl_warp.c: In function ‘R_InitSkyClouds’:
- ../ref_gl/gl_warp.c:697:11: warning: cast increases required alignment of target type [-Wcast-align]
- rgba = (uint *)r_sky->palette + p;
- ^
- ../ref_gl/gl_warp.c:735:12: warning: cast increases required alignment of target type [-Wcast-align]
- rgba = (uint *)r_sky->palette + p;
- ^
- [ 22/258] Compiling ref_gl/gl_dbghulls.c
- ../ref_gl/gl_image.c: In function ‘GL_ResampleTexture’:
- ../ref_gl/gl_image.c:759:14: warning: cast increases required alignment of target type [-Wcast-align]
- uint *in = (uint *)source;
- ^
- ../ref_gl/gl_image.c:771:8: warning: cast increases required alignment of target type [-Wcast-align]
- out = (uint *)scaledImage;
- ^
- ../ref_gl/gl_image.c: In function ‘GL_CreateInternalTextures’:
- ../ref_gl/gl_image.c:1960:6: warning: cast increases required alignment of target type [-Wcast-align]
- ((uint *)pic->buffer)[y*16+x] = 0xFFFF00FF;
- ^
- ../ref_gl/gl_image.c:1961:10: warning: cast increases required alignment of target type [-Wcast-align]
- else ((uint *)pic->buffer)[y*16+x] = 0xFF000000;
- ^
- ../ref_gl/gl_image.c:1988:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((uint *)pic->buffer)[x] = 0xFFFFFFFF;
- ^
- ../ref_gl/gl_image.c:1994:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((uint *)pic->buffer)[x] = 0xFF7F7F7F;
- ^
- ../ref_gl/gl_image.c:2000:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((uint *)pic->buffer)[x] = 0xFF000000;
- ^
- [ 23/258] Compiling ref_gl/gl_rmain.c
- ../ref_gl/gl_dbghulls.c: In function ‘R_DrawWorldHull’:
- ../ref_gl/gl_dbghulls.c:20:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../ref_gl/gl_dbghulls.c:24:13: note: in expansion of macro ‘list_entry’
- for( pos = list_entry( (head)->next, winding_t, member ); \
- ^~~~~~~~~~
- ../ref_gl/gl_dbghulls.c:46:2: note: in expansion of macro ‘list_for_each_entry’
- list_for_each_entry( poly, &hull->polys, chain )
- ^~~~~~~~~~~~~~~~~~~
- ../ref_gl/gl_dbghulls.c:20:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../ref_gl/gl_dbghulls.c:26:13: note: in expansion of macro ‘list_entry’
- pos = list_entry( pos->member.next, winding_t, member ))
- ^~~~~~~~~~
- ../ref_gl/gl_dbghulls.c:46:2: note: in expansion of macro ‘list_for_each_entry’
- list_for_each_entry( poly, &hull->polys, chain )
- ^~~~~~~~~~~~~~~~~~~
- ../ref_gl/gl_dbghulls.c: In function ‘R_DrawModelHull’:
- ../ref_gl/gl_dbghulls.c:20:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../ref_gl/gl_dbghulls.c:24:13: note: in expansion of macro ‘list_entry’
- for( pos = list_entry( (head)->next, winding_t, member ); \
- ^~~~~~~~~~
- ../ref_gl/gl_dbghulls.c:79:2: note: in expansion of macro ‘list_for_each_entry’
- list_for_each_entry( poly, &hull->polys, chain )
- ^~~~~~~~~~~~~~~~~~~
- ../ref_gl/gl_dbghulls.c:20:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../ref_gl/gl_dbghulls.c:26:13: note: in expansion of macro ‘list_entry’
- pos = list_entry( pos->member.next, winding_t, member ))
- ^~~~~~~~~~
- ../ref_gl/gl_dbghulls.c:79:2: note: in expansion of macro ‘list_for_each_entry’
- list_for_each_entry( poly, &hull->polys, chain )
- ^~~~~~~~~~~~~~~~~~~
- [ 24/258] Compiling ref_gl/gl_draw.c
- [ 25/258] Compiling ref_gl/gl_sprite.c
- [ 26/258] Compiling ref_gl/gl_studio.c
- ../ref_gl/gl_alias.c: In function ‘BuildTris’:
- ../ref_gl/gl_alias.c:295:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- *(float *)&g_commands[g_numcommands++] = s;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../ref_gl/gl_alias.c:296:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- *(float *)&g_commands[g_numcommands++] = t;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../ref_gl/gl_alias.c: In function ‘Mod_LoadGroupSkin’:
- ../ref_gl/gl_alias.c:541:15: warning: cast increases required alignment of target type [-Wcast-align]
- pskintype = (daliasskintype_t *)((byte *)(pskintype) + size);
- ^
- [ 27/258] Compiling ref_gl/gl_frustum.c
- ../ref_gl/gl_sprite.c: In function ‘R_SpriteLoadFrame’:
- ../ref_gl/gl_sprite.c:90:9: warning: cast increases required alignment of target type [-Wcast-align]
- return ( const dframetype_t* )(( const byte* )pin + sizeof( dspriteframe_t ) + pinframe.width * pinframe.height * bytes );
- ^
- [ 28/258] Compiling ref_gl/gl_decals.c
- [ 29/258] Compiling ref_gl/gl_backend.c
- [ 30/258] Compiling ref_soft/r_context.c
- [ 31/258] Compiling ref_soft/r_beams.c
- [ 32/258] Compiling ref_soft/r_sprite.c
- ../ref_soft/r_sprite.c: In function ‘R_SpriteLoadFrame’:
- ../ref_soft/r_sprite.c:90:9: warning: cast increases required alignment of target type [-Wcast-align]
- return ( const dframetype_t* )(( const byte* )pin + sizeof( dspriteframe_t ) + pinframe.width * pinframe.height * bytes );
- ^
- ../ref_soft/r_sprite.c: In function ‘Mod_LoadSpriteModel’:
- ../ref_soft/r_sprite.c:160:10: warning: cast increases required alignment of target type [-Wcast-align]
- numi = (const short *)((const byte*)buffer + sizeof( dsprite_hl_t ));
- ^
- ../ref_soft/r_sprite.c:172:16: warning: cast increases required alignment of target type [-Wcast-align]
- pframetype = (const dframetype_t *)((const byte*)buffer + sizeof( dsprite_q1_t )); // pinq1 + 1
- ^
- ../ref_soft/r_sprite.c:194:16: warning: cast increases required alignment of target type [-Wcast-align]
- pframetype = (const dframetype_t *)(src + 768);
- ^
- [ 33/258] Compiling ref_soft/r_misc.c
- [ 34/258] Compiling ref_soft/r_math.c
- [ 35/258] Compiling ref_soft/r_main.c
- [ 36/258] Compiling ref_soft/r_light.c
- [ 37/258] Compiling ref_soft/r_glblit.c
- [ 38/258] Compiling ref_soft/r_image.c
- [ 39/258] Compiling ref_soft/r_edge.c
- ../ref_gl/gl_studio.c: In function ‘R_StudioComputeBBox’:
- ../ref_gl/gl_studio.c:248:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
- ^
- ../ref_gl/gl_studio.c: In function ‘CL_GetSequenceDuration’:
- ../ref_gl/gl_studio.c:702:15: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)pstudiohdr + pstudiohdr->seqindex) + sequence;
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioCalcBoneAdj’:
- ../ref_gl/gl_studio.c:769:20: warning: cast increases required alignment of target type [-Wcast-align]
- pbonecontroller = (mstudiobonecontroller_t *)((byte *)m_pStudioHeader + m_pStudioHeader->bonecontrollerindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioCalcRotations’:
- ../ref_gl/gl_studio.c:854:10: warning: cast increases required alignment of target type [-Wcast-align]
- pbone = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioMergeBones’:
- ../ref_gl/gl_studio.c:889:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
- ^
- ../ref_gl/gl_studio.c:895:11: warning: cast increases required alignment of target type [-Wcast-align]
- pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioSetupBones’:
- ../ref_gl/gl_studio.c:955:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
- ^
- ../ref_gl/gl_studio.c:998:14: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->latched.prevsequence;
- ^
- ../ref_gl/gl_studio.c:1037:11: warning: cast increases required alignment of target type [-Wcast-align]
- pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
- ^
- ../ref_gl/gl_studio.c:1047:14: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + m_pPlayerInfo->gaitsequence;
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioSaveBones’:
- ../ref_gl/gl_studio.c:1097:11: warning: cast increases required alignment of target type [-Wcast-align]
- pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioBuildNormalTable’:
- ../ref_gl/gl_studio.c:1134:11: warning: cast increases required alignment of target type [-Wcast-align]
- pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + j;
- ^
- ../ref_gl/gl_studio.c:1135:14: warning: cast increases required alignment of target type [-Wcast-align]
- ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioGenerateNormals’:
- ../ref_gl/gl_studio.c:1182:11: warning: cast increases required alignment of target type [-Wcast-align]
- pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + j;
- ^
- ../ref_gl/gl_studio.c:1183:14: warning: cast increases required alignment of target type [-Wcast-align]
- ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioCalcAttachments’:
- ../ref_gl/gl_studio.c:1310:9: warning: cast increases required alignment of target type [-Wcast-align]
- pAtt = (mstudioattachment_t *)((byte *)m_pStudioHeader + m_pStudioHeader->attachmentindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioSetupModel’:
- ../ref_gl/gl_studio.c:1331:16: warning: cast increases required alignment of target type [-Wcast-align]
- m_pBodyPart = (mstudiobodyparts_t *)((byte *)m_pStudioHeader + m_pStudioHeader->bodypartindex) + bodypart;
- ^
- ../ref_gl/gl_studio.c:1336:16: warning: cast increases required alignment of target type [-Wcast-align]
- m_pSubModel = (mstudiomodel_t *)((byte *)m_pStudioHeader + m_pBodyPart->modelindex) + index;
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioSetupSkin’:
- ../ref_gl/gl_studio.c:1847:29: warning: cast increases required alignment of target type [-Wcast-align]
- if( !ptexture ) ptexture = (mstudiotexture_t *)((byte *)ptexturehdr + ptexturehdr->textureindex); // fallback
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioGetTexture’:
- ../ref_gl/gl_studio.c:1873:18: warning: cast increases required alignment of target type [-Wcast-align]
- else ptexture = (mstudiotexture_t *)((byte *)thdr + thdr->textureindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioDrawPoints’:
- ../ref_gl/gl_studio.c:2305:13: warning: cast increases required alignment of target type [-Wcast-align]
- ptexture = (mstudiotexture_t *)((byte *)m_pStudioHeader + m_pStudioHeader->textureindex);
- ^
- ../ref_gl/gl_studio.c:2309:10: warning: cast increases required alignment of target type [-Wcast-align]
- pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex);
- ^
- ../ref_gl/gl_studio.c:2310:17: warning: cast increases required alignment of target type [-Wcast-align]
- pstudioverts = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->vertindex);
- ^
- ../ref_gl/gl_studio.c:2311:17: warning: cast increases required alignment of target type [-Wcast-align]
- pstudionorms = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->normindex);
- ^
- ../ref_gl/gl_studio.c:2313:13: warning: cast increases required alignment of target type [-Wcast-align]
- pskinref = (short *)((byte *)m_pStudioHeader + m_pStudioHeader->skinindex);
- ^
- ../ref_gl/gl_studio.c:2395:17: warning: cast increases required alignment of target type [-Wcast-align]
- pstudionorms = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->normindex);
- ^
- ../ref_gl/gl_studio.c:2406:14: warning: cast increases required alignment of target type [-Wcast-align]
- ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioDrawHulls’:
- ../ref_gl/gl_studio.c:2491:26: warning: cast increases required alignment of target type [-Wcast-align]
- mstudiobbox_t *pbbox = (mstudiobbox_t *)((byte *)m_pStudioHeader + m_pStudioHeader->hitboxindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioDrawBones’:
- ../ref_gl/gl_studio.c:2572:26: warning: cast increases required alignment of target type [-Wcast-align]
- mstudiobone_t *pbones = (mstudiobone_t *) ((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioDrawAttachments’:
- ../ref_gl/gl_studio.c:2632:18: warning: cast increases required alignment of target type [-Wcast-align]
- pattachments = (mstudioattachment_t *)((byte *)m_pStudioHeader + m_pStudioHeader->attachmentindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_GetEntityRenderMode’:
- ../ref_gl/gl_studio.c:2762:13: warning: cast increases required alignment of target type [-Wcast-align]
- ptexture = (mstudiotexture_t *)((byte *)phdr + phdr->textureindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioClientEvents’:
- ../ref_gl/gl_studio.c:2819:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + sequence;
- ^
- ../ref_gl/gl_studio.c:2827:11: warning: cast increases required alignment of target type [-Wcast-align]
- pevent = (mstudioevent_t *)((byte *)m_pStudioHeader + pseqdesc->eventindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioSetupRenderer’:
- ../ref_gl/gl_studio.c:2913:33: warning: cast increases required alignment of target type [-Wcast-align]
- mstudioboneinfo_t *boneinfo = (mstudioboneinfo_t *)((byte *)phdr + phdr->boneindex + phdr->numbones * sizeof( mstudiobone_t ));
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioDrawPointsShadow’:
- ../ref_gl/gl_studio.c:2987:11: warning: cast increases required alignment of target type [-Wcast-align]
- pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + k;
- ^
- ../ref_gl/gl_studio.c:2988:14: warning: cast increases required alignment of target type [-Wcast-align]
- ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘R_StudioProcessGait’:
- ../ref_gl/gl_studio.c:3279:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + RI.currententity->curstate.sequence;
- ^
- ../ref_gl/gl_studio.c:3325:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + pplayer->gaitsequence;
- ^
- ../ref_gl/gl_studio.c: In function ‘Mod_StudioLoadTextures’:
- ../ref_gl/gl_studio.c:3856:13: warning: cast increases required alignment of target type [-Wcast-align]
- ptexture = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
- ^
- ../ref_gl/gl_studio.c: In function ‘Mod_StudioUnloadTextures’:
- ../ref_gl/gl_studio.c:3878:13: warning: cast increases required alignment of target type [-Wcast-align]
- ptexture = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
- ^
- [ 40/258] Compiling ref_soft/r_bsp.c
- [ 41/258] Compiling ref_soft/r_draw.c
- [ 42/258] Linking build/ref_gl/libref_gl.so
- [ 43/258] Compiling ref_soft/r_aclip.c
- [ 44/258] Compiling ref_soft/r_triapi.c
- ../ref_soft/r_image.c: In function ‘GL_ResampleTexture’:
- ../ref_soft/r_image.c:274:14: warning: cast increases required alignment of target type [-Wcast-align]
- uint *in = (uint *)source;
- ^
- ../ref_soft/r_image.c:286:8: warning: cast increases required alignment of target type [-Wcast-align]
- out = (uint *)scaledImage;
- ^
- ../ref_soft/r_image.c: In function ‘GL_CreateInternalTextures’:
- ../ref_soft/r_image.c:1283:6: warning: cast increases required alignment of target type [-Wcast-align]
- ((uint *)pic->buffer)[y*16+x] = 0xFFFF00FF;
- ^
- ../ref_soft/r_image.c:1284:10: warning: cast increases required alignment of target type [-Wcast-align]
- else ((uint *)pic->buffer)[y*16+x] = 0xFF000000;
- ^
- ../ref_soft/r_image.c:1311:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((uint *)pic->buffer)[x] = 0xFFFFFFFF;
- ^
- ../ref_soft/r_image.c:1317:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((uint *)pic->buffer)[x] = 0xFF7F7F7F;
- ^
- ../ref_soft/r_image.c:1323:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((uint *)pic->buffer)[x] = 0xFF000000;
- ^
- [ 45/258] Compiling ref_soft/r_vgui.c
- ../ref_soft/r_edge.c: In function ‘D_AlphaSurf’:
- ../ref_soft/r_edge.c:1096:16: warning: cast increases required alignment of target type [-Wcast-align]
- cacheblock = (pixel_t *)pcurrentcache->data;
- ^
- ../ref_soft/r_edge.c: In function ‘D_SolidSurf’:
- ../ref_soft/r_edge.c:1205:15: warning: cast increases required alignment of target type [-Wcast-align]
- cacheblock = (pixel_t *)pcurrentcache->data;
- ^
- [ 46/258] Compiling ref_soft/r_rast.c
- [ 47/258] Compiling ref_soft/r_decals.c
- [ 48/258] Compiling ref_soft/r_trialias.c
- [ 49/258] Compiling ref_soft/r_part.c
- [ 50/258] Compiling ref_soft/r_studio.c
- [ 51/258] Compiling ref_soft/r_surf.c
- [ 52/258] Compiling ref_soft/r_polyse.c
- [ 53/258] Compiling ref_soft/r_scan.c
- [ 54/258] Compiling mainui/controls/BaseItem.cpp
- ../ref_soft/r_surf.c: In function ‘D_SCAlloc’:
- ../ref_soft/r_surf.c:1080:14: warning: cast increases required alignment of target type [-Wcast-align]
- sc_rover = (surfcache_t *)( (byte *)new + size);
- ^
- ../ref_soft/r_surf.c: In function ‘D_CacheSurface’:
- ../ref_soft/r_surf.c:1403:23: warning: cast increases required alignment of target type [-Wcast-align]
- r_drawsurf.surfdat = (pixel_t *)cache->data;
- ^
- [ 55/258] Compiling mainui/controls/BaseClientWindow.cpp
- [ 56/258] Compiling mainui/miniutl/utlbuffer.cpp
- [ 57/258] Compiling mainui/menus/Zoo.cpp
- ../ref_soft/r_scan.c: In function ‘D_DrawZSpans’:
- ../ref_soft/r_scan.c:1408:6: warning: cast increases required alignment of target type [-Wcast-align]
- *(int *)pdest = ltemp;
- ^
- [ 58/258] Compiling mainui/Scissor.cpp
- [ 59/258] Compiling mainui/menus/VideoModes.cpp
- [ 60/258] Compiling mainui/MenuStrings.cpp
- ../ref_soft/r_studio.c: In function ‘R_StudioComputeBBox’:
- ../ref_soft/r_studio.c:245:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
- ^
- ../ref_soft/r_studio.c: In function ‘CL_GetSequenceDuration’:
- ../ref_soft/r_studio.c:699:15: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)pstudiohdr + pstudiohdr->seqindex) + sequence;
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioCalcBoneAdj’:
- ../ref_soft/r_studio.c:766:20: warning: cast increases required alignment of target type [-Wcast-align]
- pbonecontroller = (mstudiobonecontroller_t *)((byte *)m_pStudioHeader + m_pStudioHeader->bonecontrollerindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioCalcRotations’:
- ../ref_soft/r_studio.c:851:10: warning: cast increases required alignment of target type [-Wcast-align]
- pbone = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioMergeBones’:
- ../ref_soft/r_studio.c:886:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
- ^
- ../ref_soft/r_studio.c:892:11: warning: cast increases required alignment of target type [-Wcast-align]
- pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioSetupBones’:
- ../ref_soft/r_studio.c:952:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->curstate.sequence;
- ^
- ../ref_soft/r_studio.c:995:14: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + e->latched.prevsequence;
- ^
- ../ref_soft/r_studio.c:1034:11: warning: cast increases required alignment of target type [-Wcast-align]
- pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
- ^
- ../ref_soft/r_studio.c:1044:14: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + m_pPlayerInfo->gaitsequence;
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioSaveBones’:
- ../ref_soft/r_studio.c:1094:11: warning: cast increases required alignment of target type [-Wcast-align]
- pbones = (mstudiobone_t *)((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioBuildNormalTable’:
- ../ref_soft/r_studio.c:1131:11: warning: cast increases required alignment of target type [-Wcast-align]
- pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + j;
- ^
- ../ref_soft/r_studio.c:1132:14: warning: cast increases required alignment of target type [-Wcast-align]
- ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioGenerateNormals’:
- ../ref_soft/r_studio.c:1179:11: warning: cast increases required alignment of target type [-Wcast-align]
- pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + j;
- ^
- ../ref_soft/r_studio.c:1180:14: warning: cast increases required alignment of target type [-Wcast-align]
- ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioCalcAttachments’:
- ../ref_soft/r_studio.c:1309:9: warning: cast increases required alignment of target type [-Wcast-align]
- pAtt = (mstudioattachment_t *)((byte *)m_pStudioHeader + m_pStudioHeader->attachmentindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioSetupModel’:
- ../ref_soft/r_studio.c:1335:16: warning: cast increases required alignment of target type [-Wcast-align]
- m_pBodyPart = (mstudiobodyparts_t *)((byte *)m_pStudioHeader + m_pStudioHeader->bodypartindex) + bodypart;
- ^
- ../ref_soft/r_studio.c:1340:16: warning: cast increases required alignment of target type [-Wcast-align]
- m_pSubModel = (mstudiomodel_t *)((byte *)m_pStudioHeader + m_pBodyPart->modelindex) + index;
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioSetupSkin’:
- ../ref_soft/r_studio.c:1836:29: warning: cast increases required alignment of target type [-Wcast-align]
- if( !ptexture ) ptexture = (mstudiotexture_t *)((byte *)ptexturehdr + ptexturehdr->textureindex); // fallback
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioGetTexture’:
- ../ref_soft/r_studio.c:1862:18: warning: cast increases required alignment of target type [-Wcast-align]
- else ptexture = (mstudiotexture_t *)((byte *)thdr + thdr->textureindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioDrawPoints’:
- ../ref_soft/r_studio.c:2078:13: warning: cast increases required alignment of target type [-Wcast-align]
- ptexture = (mstudiotexture_t *)((byte *)m_pStudioHeader + m_pStudioHeader->textureindex);
- ^
- ../ref_soft/r_studio.c:2082:10: warning: cast increases required alignment of target type [-Wcast-align]
- pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex);
- ^
- ../ref_soft/r_studio.c:2083:17: warning: cast increases required alignment of target type [-Wcast-align]
- pstudioverts = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->vertindex);
- ^
- ../ref_soft/r_studio.c:2084:17: warning: cast increases required alignment of target type [-Wcast-align]
- pstudionorms = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->normindex);
- ^
- ../ref_soft/r_studio.c:2086:13: warning: cast increases required alignment of target type [-Wcast-align]
- pskinref = (short *)((byte *)m_pStudioHeader + m_pStudioHeader->skinindex);
- ^
- ../ref_soft/r_studio.c:2168:17: warning: cast increases required alignment of target type [-Wcast-align]
- pstudionorms = (vec3_t *)((byte *)m_pStudioHeader + m_pSubModel->normindex);
- ^
- ../ref_soft/r_studio.c:2177:14: warning: cast increases required alignment of target type [-Wcast-align]
- ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioDrawBones’:
- ../ref_soft/r_studio.c:2334:26: warning: cast increases required alignment of target type [-Wcast-align]
- mstudiobone_t *pbones = (mstudiobone_t *) ((byte *)m_pStudioHeader + m_pStudioHeader->boneindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_GetEntityRenderMode’:
- ../ref_soft/r_studio.c:2526:13: warning: cast increases required alignment of target type [-Wcast-align]
- ptexture = (mstudiotexture_t *)((byte *)phdr + phdr->textureindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioClientEvents’:
- ../ref_soft/r_studio.c:2583:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + sequence;
- ^
- ../ref_soft/r_studio.c:2591:11: warning: cast increases required alignment of target type [-Wcast-align]
- pevent = (mstudioevent_t *)((byte *)m_pStudioHeader + pseqdesc->eventindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioSetupRenderer’:
- ../ref_soft/r_studio.c:2677:33: warning: cast increases required alignment of target type [-Wcast-align]
- mstudioboneinfo_t *boneinfo = (mstudioboneinfo_t *)((byte *)phdr + phdr->boneindex + phdr->numbones * sizeof( mstudiobone_t ));
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioDrawPointsShadow’:
- ../ref_soft/r_studio.c:2751:11: warning: cast increases required alignment of target type [-Wcast-align]
- pmesh = (mstudiomesh_t *)((byte *)m_pStudioHeader + m_pSubModel->meshindex) + k;
- ^
- ../ref_soft/r_studio.c:2752:14: warning: cast increases required alignment of target type [-Wcast-align]
- ptricmds = (short *)((byte *)m_pStudioHeader + pmesh->triindex);
- ^
- ../ref_soft/r_studio.c: In function ‘R_StudioProcessGait’:
- ../ref_soft/r_studio.c:3049:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + RI.currententity->curstate.sequence;
- ^
- ../ref_soft/r_studio.c:3095:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqindex) + pplayer->gaitsequence;
- ^
- ../ref_soft/r_studio.c: In function ‘Mod_StudioLoadTextures’:
- ../ref_soft/r_studio.c:3628:13: warning: cast increases required alignment of target type [-Wcast-align]
- ptexture = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
- ^
- ../ref_soft/r_studio.c: In function ‘Mod_StudioUnloadTextures’:
- ../ref_soft/r_studio.c:3650:13: warning: cast increases required alignment of target type [-Wcast-align]
- ptexture = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
- ^
- [ 61/258] Compiling mainui/menus/VideoOptions.cpp
- [ 62/258] Compiling mainui/menus/Video.cpp
- [ 63/258] Linking build/ref_soft/libref_soft.so
- [ 64/258] Compiling mainui/controls/BackgroundBitmap.cpp
- [ 65/258] Compiling mainui/EventSystem.cpp
- [ 66/258] Compiling mainui/menus/TouchButtons.cpp
- [ 67/258] Compiling mainui/miniutl/bitstring.cpp
- [ 68/258] Compiling mainui/unicode_strtools.cpp
- [ 69/258] Compiling mainui/menus/ServerBrowser.cpp
- [ 70/258] Compiling mainui/menus/SaveLoad.cpp
- [ 71/258] Compiling mainui/CFGScript.cpp
- [ 72/258] Compiling mainui/menus/PlayerSetup.cpp
- [ 73/258] Compiling mainui/menus/PlayerIntroduceDialog.cpp
- [ 74/258] Compiling mainui/Btns.cpp
- [ 75/258] Compiling mainui/menus/NewGame.cpp
- [ 76/258] Compiling mainui/menus/TouchEdit.cpp
- [ 77/258] Compiling mainui/BaseMenu.cpp
- [ 78/258] Compiling mainui/menus/Main.cpp
- [ 79/258] Compiling mainui/menus/LoadGame.cpp
- [ 80/258] Compiling mainui/menus/InputDevices.cpp
- [ 81/258] Compiling mainui/menus/Multiplayer.cpp
- [ 82/258] Compiling mainui/menus/Gamepad.cpp
- [ 83/258] Compiling mainui/menus/GameOptions.cpp
- [ 84/258] Compiling mainui/menus/FileDialog.cpp
- [ 85/258] Compiling mainui/menus/CustomGame.cpp
- [ 86/258] Compiling mainui/menus/Touch.cpp
- [ 87/258] Compiling mainui/menus/Credits.cpp
- [ 88/258] Compiling mainui/EngineCallback.cpp
- [ 89/258] Compiling mainui/menus/ConnectionWarning.cpp
- [ 90/258] Compiling mainui/menus/Controls.cpp
- [ 91/258] Compiling mainui/menus/Configuration.cpp
- [ 92/258] Compiling mainui/menus/ConnectionProgress.cpp
- [ 93/258] Compiling mainui/menus/Audio.cpp
- [ 94/258] Compiling mainui/font/WinAPIFont.cpp
- [ 95/258] Compiling mainui/menus/AdvancedControls.cpp
- [ 96/258] Compiling mainui/font/StbFont.cpp
- [ 97/258] Compiling mainui/font/FreeTypeFont.cpp
- [ 98/258] Compiling mainui/font/FontManager.cpp
- [ 99/258] Compiling mainui/font/BitmapFont.cpp
- [100/258] Compiling mainui/font/BaseFontBackend.cpp
- [101/258] Compiling mainui/controls/YesNoMessageBox.cpp
- ../mainui/font/FreeTypeFont.cpp: In member function ‘virtual void CFreeTypeFont::GetCharRGBA(int, Point, Size, unsigned char*, Size&)’:
- ../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]
- uint32_t *xdst = (uint32_t*)(dst + 4 * ( m_iBlur + m_iOutlineSize ));
- ^
- In file included from ../mainui/font/BaseFontBackend.h:21,
- from ../mainui/font/FreeTypeFont.h:21,
- from ../mainui/font/FreeTypeFont.cpp:20:
- ../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]’:
- ../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]’
- ../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>]’
- ../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>]’
- ../mainui/font/FreeTypeFont.cpp:242:43: required from here
- ../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]
- return (i != INVALID_RBTREE_IDX ) ? *(CUtlRBTreeInternal::Links_t<I> *)( (byte*)pMemBase + (unNodeSize*i) ) : m_Sentinel;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../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]’:
- ../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]’
- ../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>]’
- ../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>]’
- ../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>]’
- ../mainui/font/FreeTypeFont.cpp:30:45: required from here
- ../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]
- return *(CUtlRBTreeInternal::Links_t<I> *)( (byte*)pMemBase + (unNodeSize*i) );
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [102/258] Compiling mainui/controls/Table.cpp
- [103/258] Compiling mainui/controls/TabView.cpp
- [104/258] Compiling mainui/controls/Switch.cpp
- [105/258] Compiling mainui/controls/SpinControl.cpp
- In file included from ../mainui/font/BaseFontBackend.h:21,
- from ../mainui/font/BaseFontBackend.cpp:15:
- ../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]’:
- ../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]’
- ../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]’
- ../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>]’
- ../mainui/font/BaseFontBackend.cpp:213:37: required from here
- ../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]
- return (i != INVALID_RBTREE_IDX ) ? *(CUtlRBTreeInternal::Links_t<I> *)( (byte*)pMemBase + (unNodeSize*i) ) : m_Sentinel;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../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]’:
- ../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]’
- ../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>]’
- ../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>]’
- ../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>]’
- ../mainui/font/BaseFontBackend.cpp:25:15: required from here
- ../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]
- return *(CUtlRBTreeInternal::Links_t<I> *)( (byte*)pMemBase + (unNodeSize*i) );
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [106/258] Compiling mainui/controls/Slider.cpp
- [107/258] Compiling mainui/controls/ScrollView.cpp
- [108/258] Compiling mainui/controls/ProgressBar.cpp
- [109/258] Compiling mainui/controls/PlayerModelView.cpp
- [110/258] Compiling mainui/controls/PicButton.cpp
- [111/258] Compiling mainui/controls/MessageBox.cpp
- [112/258] Compiling mainui/controls/ItemsHolder.cpp
- [113/258] Compiling mainui/controls/Framework.cpp
- [114/258] Compiling mainui/controls/Field.cpp
- [115/258] Compiling mainui/controls/Editable.cpp
- [116/258] Compiling mainui/controls/CheckBox.cpp
- [117/258] Compiling mainui/controls/Bitmap.cpp
- [118/258] Compiling mainui/controls/BaseWindow.cpp
- [119/258] Compiling mainui/menus/CreateGame.cpp
- [120/258] Compiling mainui/udll_int.cpp
- [121/258] Compiling mainui/miniutl/utlmemory.cpp
- [122/258] Compiling mainui/miniutl/utlstring.cpp
- [123/258] Compiling mainui/menus/TouchOptions.cpp
- [124/258] Compiling mainui/miniutl/generichash.cpp
- [125/258] Compiling mainui/Utils.cpp
- [126/258] Compiling mainui/miniutl/strtools.cpp
- ../mainui/miniutl/generichash.cpp: In function ‘uint32 MurmurHash3_32(const void*, size_t, uint32, bool)’:
- ../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]
- const uint32 * blocks = (const uint32 *)(data + nblocks*4);
- ^
- ../mainui/miniutl/generichash.cpp: In function ‘void MurmurHash3_128(const void*, int, uint32, void*)’:
- ../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]
- const uint64 * blocks = ( const uint64 * )( data );
- ^
- [127/258] Compiling mainui/controls/Action.cpp
- [128/258] Compiling mainui/menus/dynamic/ScriptMenu.cpp
- [129/258] Compiling mainui/WindowSystem.cpp
- [130/258] Compiling engine/common/build.c
- [131/258] Compiling engine/client/s_load.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/build.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [132/258] Compiling engine/client/s_dsp.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/s_load.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [133/258] Compiling engine/client/cl_cmds.c
- [134/258] Compiling engine/common/base_cmd.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/base_cmd.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [135/258] Compiling engine/server/sv_log.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_cmds.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [136/258] Compiling engine/server/sv_main.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/s_dsp.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [137/258] Compiling engine/server/sv_client.c
- [138/258] Compiling engine/client/cl_efx.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_log.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [139/258] Compiling engine/platform/linux/sys_linux.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/platform/platform.h:20,
- from ../engine/platform/linux/sys_linux.c:19:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [140/258] Linking build/mainui/libmenu.so
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_main.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/server/sv_main.c: In function ‘SV_ReadPackets’:
- ../engine/server/sv_main.c:361:48: warning: cast increases required alignment of target type [-Wcast-align]
- if( MSG_GetMaxBytes( &net_message ) >= 4 && *(int *)net_message.pData == -1 )
- ^
- [141/258] Compiling engine/client/cl_demo.c
- [142/258] Compiling engine/client/cl_game.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_efx.c:3:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [143/258] Compiling engine/client/cl_events.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_client.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/server/sv_client.c: In function ‘SV_TestBandWidth’:
- ../engine/server/sv_client.c:773:3: warning: cast increases required alignment of target type [-Wcast-align]
- *(uint *)&send.pData[crcpos] = crcValue;
- ^
- [144/258] Compiling engine/platform/linux/in_evdev.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_demo.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [145/258] Compiling engine/common/sys_con.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/platform/platform.h:20,
- from ../engine/platform/linux/in_evdev.c:15:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [146/258] Compiling engine/client/cl_pmove.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/sys_con.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [147/258] Compiling engine/common/soundlib/libmpg/synth.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_events.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [148/258] Compiling engine/common/soundlib/libmpg/tabinit.c
- ../engine/common/soundlib/libmpg/synth.c: In function ‘synth_1to1’:
- ../engine/common/soundlib/libmpg/synth.c:31:20: warning: cast increases required alignment of target type [-Wcast-align]
- short *samples = (short *) (fr->buffer.data + fr->buffer.fill);
- ^
- ../engine/common/soundlib/libmpg/synth.c: In function ‘synth_1to1_m2s’:
- ../engine/common/soundlib/libmpg/synth.c:160:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((short *)samples)[1] = ((short *)samples)[0];
- ^
- ../engine/common/soundlib/libmpg/synth.c:160:28: warning: cast increases required alignment of target type [-Wcast-align]
- ((short *)samples)[1] = ((short *)samples)[0];
- ^
- ../engine/common/soundlib/libmpg/synth.c: In function ‘synth_1to1_mono’:
- ../engine/common/soundlib/libmpg/synth.c:188:5: warning: cast increases required alignment of target type [-Wcast-align]
- *((short *)samples) = *tmp1;
- ^
- [149/258] Compiling engine/common/pm_trace.c
- [150/258] Compiling engine/common/soundlib/libmpg/index.c
- [151/258] Compiling engine/platform/linux/vid_fbdev.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/platform/platform.h:20,
- from ../engine/platform/linux/vid_fbdev.c:1:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [152/258] Compiling engine/client/console.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_game.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [153/258] Compiling engine/common/soundlib/libmpg/libmpg.c
- [154/258] Compiling engine/client/s_mix.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/pm_trace.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [155/258] Compiling engine/common/soundlib/libmpg/dct36.c
- [156/258] Compiling engine/server/sv_pmove.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_pmove.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [157/258] Compiling engine/client/in_joy.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/in_joy.c:17:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [158/258] Compiling engine/client/cl_render.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/s_mix.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/client/s_mix.c: In function ‘S_TransferPaintBuffer’:
- ../engine/client/s_mix.c:69:9: warning: cast increases required alignment of target type [-Wcast-align]
- pbuf = (dword *)dma.buffer;
- ^
- ../engine/client/s_mix.c: In function ‘S_PaintStereoFrom8’:
- ../engine/client/s_mix.c:242:9: warning: cast increases required alignment of target type [-Wcast-align]
- data = (word *)pData;
- ^
- ../engine/client/s_mix.c: In function ‘S_PaintStereoFrom16’:
- ../engine/client/s_mix.c:274:9: warning: cast increases required alignment of target type [-Wcast-align]
- data = (uint *)pData;
- ^
- [159/258] Compiling engine/server/sv_filter.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_pmove.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- In file included from ../engine/server/server.h:22,
- from ../engine/server/sv_pmove.c:17:
- ../engine/server/sv_pmove.c: In function ‘SV_AddLinksToPmove’:
- ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
- #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
- ^
- ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
- #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
- ^~~~~~~~~~~~~~~~
- ../engine/server/sv_pmove.c:224:11: note: in expansion of macro ‘EDICT_FROM_AREA’
- check = EDICT_FROM_AREA( l );
- ^~~~~~~~~~~~~~~
- ../engine/server/sv_pmove.c: In function ‘SV_AddLaddersToPmove’:
- ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
- #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
- ^
- ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
- #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
- ^~~~~~~~~~~~~~~~
- ../engine/server/sv_pmove.c:313:11: note: in expansion of macro ‘EDICT_FROM_AREA’
- check = EDICT_FROM_AREA( l );
- ^~~~~~~~~~~~~~~
- [160/258] Compiling engine/client/input.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/console.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/client/console.c: In function ‘Con_LoadVariableWidthFont’:
- ../engine/client/console.c:602:10: warning: cast increases required alignment of target type [-Wcast-align]
- src = (qfont_t *)buffer;
- ^
- ../engine/client/console.c: In function ‘Con_DrawGenericString’:
- ../engine/client/console.c:1051:3: warning: cast increases required alignment of target type [-Wcast-align]
- *(uint *)color = *(uint *)setColor;
- ^
- ../engine/client/console.c:1051:20: warning: cast increases required alignment of target type [-Wcast-align]
- *(uint *)color = *(uint *)setColor;
- ^
- ../engine/client/console.c: In function ‘Con_VidInit’:
- ../engine/client/console.c:2427:16: warning: cast increases required alignment of target type [-Wcast-align]
- lmp_t *cb = (lmp_t *)FS_LoadFile( "gfx/conback.lmp", &length, false );
- ^
- [161/258] Compiling engine/common/zone.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_render.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/client/cl_render.c: In function ‘CL_RenderGetParm’:
- ../engine/client/cl_render.c:164:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- return *(int *)&world.deluxedata;
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/cl_render.c:166:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- return *(int *)&world.shadowdata;
- ^~~~~~~~~~~~~~~~~~~~~~~~
- [162/258] Compiling engine/common/mod_studio.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_filter.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [163/258] Compiling engine/common/soundlib/snd_wav.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/zone.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/zone.c: In function ‘_Mem_Alloc’:
- ../engine/common/zone.c:62:21: warning: cast increases required alignment of target type [-Wcast-align]
- mempool_t *pool = (mempool_t *)poolptr;
- ^
- ../engine/common/zone.c: In function ‘_Mem_Free’:
- ../engine/common/zone.c:147:16: warning: cast increases required alignment of target type [-Wcast-align]
- Mem_FreeBlock((memheader_t *)((byte *)data - sizeof( memheader_t )), filename, fileline );
- ^
- ../engine/common/zone.c: In function ‘_Mem_Realloc’:
- ../engine/common/zone.c:159:12: warning: cast increases required alignment of target type [-Wcast-align]
- memhdr = (memheader_t *)((byte *)memptr - sizeof( memheader_t ));
- ^
- ../engine/common/zone.c: In function ‘_Mem_FreePool’:
- ../engine/common/zone.c:200:20: warning: cast increases required alignment of target type [-Wcast-align]
- mempool_t *pool = (mempool_t *)*poolptr;
- ^
- ../engine/common/zone.c: In function ‘_Mem_EmptyPool’:
- ../engine/common/zone.c:223:20: warning: cast increases required alignment of target type [-Wcast-align]
- mempool_t *pool = (mempool_t *)poolptr;
- ^
- ../engine/common/zone.c: In function ‘Mem_CheckAlloc’:
- ../engine/common/zone.c:240:12: warning: cast increases required alignment of target type [-Wcast-align]
- target = (memheader_t *)((byte *)data - sizeof( memheader_t ));
- ^
- ../engine/common/zone.c: In function ‘Mem_IsAllocatedExt’:
- ../engine/common/zone.c:262:23: warning: cast increases required alignment of target type [-Wcast-align]
- if( poolptr ) pool = (mempool_t *)poolptr;
- ^
- ../engine/common/zone.c: In function ‘Mem_CheckHeaderSentinels’:
- ../engine/common/zone.c:274:8: warning: cast increases required alignment of target type [-Wcast-align]
- mem = (memheader_t *)((byte *) data - sizeof(memheader_t));
- ^
- [164/258] Compiling engine/client/cl_qparse.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/input.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [165/258] Compiling engine/server/sv_custom.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/soundlib/soundlib.h:19,
- from ../engine/common/soundlib/snd_wav.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [166/258] Compiling engine/client/avi/avi_win.c
- [167/258] Compiling engine/common/soundlib/libmpg/mpg123.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/mod_studio.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/mod_studio.c: In function ‘Mod_HullForStudio’:
- ../engine/common/mod_studio.c:266:12: warning: cast increases required alignment of target type [-Wcast-align]
- phitbox = (mstudiobbox_t *)((byte *)mod_studiohdr + mod_studiohdr->hitboxindex);
- ^
- ../engine/common/mod_studio.c: In function ‘Mod_StudioCalcBoneAdj’:
- ../engine/common/mod_studio.c:314:20: warning: cast increases required alignment of target type [-Wcast-align]
- pbonecontroller = (mstudiobonecontroller_t *)((byte *)mod_studiohdr + mod_studiohdr->bonecontrollerindex);
- ^
- ../engine/common/mod_studio.c: In function ‘Mod_StudioCalcRotations’:
- ../engine/common/mod_studio.c:384:10: warning: cast increases required alignment of target type [-Wcast-align]
- pbone = (mstudiobone_t *)((byte *)mod_studiohdr + mod_studiohdr->boneindex);
- ^
- ../engine/common/mod_studio.c: In function ‘R_StudioCalcBoneQuaternion’:
- ../engine/common/mod_studio.c:420:37: warning: cast increases required alignment of target type [-Wcast-align]
- mstudioanimvalue_t *panimvalue = (mstudioanimvalue_t *)((byte *)panim + panim->offset[j+3]);
- ^
- ../engine/common/mod_studio.c: In function ‘R_StudioCalcBonePosition’:
- ../engine/common/mod_studio.c:508:37: warning: cast increases required alignment of target type [-Wcast-align]
- mstudioanimvalue_t *panimvalue = (mstudioanimvalue_t *)((byte *)panim + panim->offset[j]);
- ^
- ../engine/common/mod_studio.c: In function ‘R_StudioGetAnim’:
- ../engine/common/mod_studio.c:604:14: warning: cast increases required alignment of target type [-Wcast-align]
- pseqgroup = (mstudioseqgroup_t *)((byte *)m_pStudioHeader + m_pStudioHeader->seqgroupindex) + pseqdesc->seqgroup;
- ^
- ../engine/common/mod_studio.c:629:26: warning: cast increases required alignment of target type [-Wcast-align]
- if( IDSEQGRPHEADER != *(uint *)buf ) Host_Error( "StudioGetAnim: %s is corrupted\n", filepath );
- ^
- ../engine/common/mod_studio.c: In function ‘SV_StudioSetupBones’:
- ../engine/common/mod_studio.c:678:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)mod_studiohdr + mod_studiohdr->seqindex) + sequence;
- ^
- ../engine/common/mod_studio.c:679:11: warning: cast increases required alignment of target type [-Wcast-align]
- pbones = (mstudiobone_t *)((byte *)mod_studiohdr + mod_studiohdr->boneindex);
- ^
- ../engine/common/mod_studio.c: In function ‘Mod_StudioGetAttachment’:
- ../engine/common/mod_studio.c:772:9: warning: cast increases required alignment of target type [-Wcast-align]
- pAtt = (mstudioattachment_t *)((byte *)mod_studiohdr + mod_studiohdr->attachmentindex) + iAtt;
- ^
- ../engine/common/mod_studio.c: In function ‘Mod_StudioComputeBounds’:
- ../engine/common/mod_studio.c:888:14: warning: cast increases required alignment of target type [-Wcast-align]
- pbodypart = (mstudiobodyparts_t *)((byte *)pstudiohdr + pstudiohdr->bodypartindex);
- ^
- ../engine/common/mod_studio.c:901:12: warning: cast increases required alignment of target type [-Wcast-align]
- pverts = (vec3_t *)((byte *)pstudiohdr + m_pSubModel[i].vertindex);
- ^
- ../engine/common/mod_studio.c:907:11: warning: cast increases required alignment of target type [-Wcast-align]
- pbones = (mstudiobone_t *)((byte *)pstudiohdr + pstudiohdr->boneindex);
- ^
- ../engine/common/mod_studio.c:912:14: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)pstudiohdr + pstudiohdr->seqindex) + i;
- ^
- ../engine/common/mod_studio.c:913:15: warning: cast increases required alignment of target type [-Wcast-align]
- pseqgroup = (mstudioseqgroup_t *)((byte *)pstudiohdr + pstudiohdr->seqgroupindex) + pseqdesc->seqgroup;
- ^
- ../engine/common/mod_studio.c:916:12: warning: cast increases required alignment of target type [-Wcast-align]
- panim = (mstudioanim_t *)((byte *)pstudiohdr + pseqdesc->animindex);
- ^
- ../engine/common/mod_studio.c: In function ‘Mod_GetStudioBounds’:
- ../engine/common/mod_studio.c:951:7: warning: cast increases required alignment of target type [-Wcast-align]
- if( *(uint *)f == IDSTUDIOHEADER )
- ^
- ../engine/common/mod_studio.c: In function ‘Mod_StudioBodyVariations’:
- ../engine/common/mod_studio.c:997:14: warning: cast increases required alignment of target type [-Wcast-align]
- pbodypart = (mstudiobodyparts_t *)((byte *)pstudiohdr + pstudiohdr->bodypartindex);
- ^
- ../engine/common/mod_studio.c: In function ‘R_StudioLoadHeader’:
- ../engine/common/mod_studio.c:1021:9: warning: cast increases required alignment of target type [-Wcast-align]
- phdr = (studiohdr_t *)pin;
- ^
- [168/258] Compiling engine/client/cl_gameui.c
- [169/258] Compiling engine/common/mod_bmodel.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_custom.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/server/sv_custom.c: In function ‘SV_ParseConsistencyResponse’:
- ../engine/server/sv_custom.c:125:18: warning: cast increases required alignment of target type [-Wcast-align]
- if( value != *(int *)r->rgucMD5_hash )
- ^
- [170/258] Compiling engine/common/imagelib/img_utils.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_qparse.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [171/258] Compiling engine/common/sequence.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_gameui.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [172/258] Compiling engine/client/avi/avi_stub.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/avi/avi_stub.c:18:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [173/258] Compiling engine/common/infostring.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/infostring.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [174/258] Compiling engine/common/common.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/imagelib/imagelib.h:19,
- from ../engine/common/imagelib/img_utils.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/imagelib/img_utils.c: In function ‘Image_SetPalette’:
- ../engine/common/imagelib/img_utils.c:293:18: warning: cast increases required alignment of target type [-Wcast-align]
- d_table[i] = *(uint *)rgba;
- ^
- ../engine/common/imagelib/img_utils.c:303:18: warning: cast increases required alignment of target type [-Wcast-align]
- d_table[i] = *(uint *)rgba;
- ^
- ../engine/common/imagelib/img_utils.c:313:18: warning: cast increases required alignment of target type [-Wcast-align]
- d_table[i] = *(uint *)rgba;
- ^
- ../engine/common/imagelib/img_utils.c:324:18: warning: cast increases required alignment of target type [-Wcast-align]
- d_table[i] = *(uint *)rgba;
- ^
- ../engine/common/imagelib/img_utils.c: In function ‘Image_Copy8bitRGBA’:
- ../engine/common/imagelib/img_utils.c:585:14: warning: cast increases required alignment of target type [-Wcast-align]
- int *iout = (int *)out;
- ^
- ../engine/common/imagelib/img_utils.c: In function ‘Image_Decompress’:
- ../engine/common/imagelib/img_utils.c:1251:50: warning: cast increases required alignment of target type [-Wcast-align]
- if( !image.d_currentpal ) image.d_currentpal = (uint *)image.palette;
- ^
- ../engine/common/imagelib/img_utils.c: In function ‘Image_ApplyFilter’:
- ../engine/common/imagelib/img_utils.c:1392:9: warning: cast increases required alignment of target type [-Wcast-align]
- fout = (uint *)image.tempbuffer;
- ^
- ../engine/common/imagelib/img_utils.c:1393:8: warning: cast increases required alignment of target type [-Wcast-align]
- fin = (uint *)pic->buffer;
- ^
- ../engine/common/imagelib/img_utils.c: In function ‘Image_Process’:
- ../engine/common/imagelib/img_utils.c:1519:32: warning: cast increases required alignment of target type [-Wcast-align]
- out = Image_ResampleInternal((uint *)pic->buffer, pic->width, pic->height, w, h, pic->type, &resampled );
- ^
- [175/258] Compiling engine/common/model.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/sequence.c:17:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [176/258] Compiling engine/common/imagelib/img_png.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/model.c:15:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/model.c: In function ‘Mod_LoadModel’:
- ../engine/common/model.c:293:11: warning: cast increases required alignment of target type [-Wcast-align]
- switch( *(uint *)buf )
- ^
- [177/258] Compiling engine/common/masterlist.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/common.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/common.c: In function ‘LZSS_IsCompressed’:
- ../engine/common/common.c:194:24: warning: cast increases required alignment of target type [-Wcast-align]
- lzss_header_t *phdr = (lzss_header_t *)source;
- ^
- ../engine/common/common.c: In function ‘LZSS_GetActualSize’:
- ../engine/common/common.c:203:24: warning: cast increases required alignment of target type [-Wcast-align]
- lzss_header_t *phdr = (lzss_header_t *)source;
- ^
- ../engine/common/common.c: In function ‘LZSS_CompressNoAlloc’:
- ../engine/common/common.c:247:26: warning: cast increases required alignment of target type [-Wcast-align]
- lzss_header_t *header = (lzss_header_t *)pStart;
- ^
- [178/258] Compiling engine/common/hpak.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/masterlist.c:15:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [179/258] Compiling engine/common/imagelib/img_wad.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/imagelib/imagelib.h:19,
- from ../engine/common/imagelib/img_png.c:18:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [180/258] Compiling engine/platform/sdl/sys_sdl.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/mod_bmodel.c:15:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/mod_bmodel.c: In function ‘Mod_LoadLump’:
- ../engine/common/mod_bmodel.c:224:17: warning: cast increases required alignment of target type [-Wcast-align]
- int version = ((dheader_t *)in)->version;
- ^
- ../engine/common/mod_bmodel.c:231:25: warning: cast increases required alignment of target type [-Wcast-align]
- dextrahdr_t *header = (dextrahdr_t *)((byte *)in + sizeof( dheader_t ));
- ^
- ../engine/common/mod_bmodel.c:238:23: warning: cast increases required alignment of target type [-Wcast-align]
- dheader_t *header = (dheader_t *)in;
- ^
- ../engine/common/mod_bmodel.c: In function ‘Mod_AmbientLevels’:
- ../engine/common/mod_bmodel.c:762:3: warning: cast increases required alignment of target type [-Wcast-align]
- *(int *)pvolumes = *(int *)leaf->ambient_sound_level;
- ^
- ../engine/common/mod_bmodel.c:762:22: warning: cast increases required alignment of target type [-Wcast-align]
- *(int *)pvolumes = *(int *)leaf->ambient_sound_level;
- ^
- ../engine/common/mod_bmodel.c: In function ‘Mod_CreateFaceBevels’:
- ../engine/common/mod_bmodel.c:1146:7: warning: cast increases required alignment of target type [-Wcast-align]
- fb = (mfacebevel_t *)facebevel;
- ^
- ../engine/common/mod_bmodel.c:1148:14: warning: cast increases required alignment of target type [-Wcast-align]
- fb->edges = (mplane_t *)facebevel;
- ^
- ../engine/common/mod_bmodel.c: In function ‘Mod_LoadColoredLighting’:
- ../engine/common/mod_bmodel.c:1384:7: warning: cast increases required alignment of target type [-Wcast-align]
- if( *(uint *)in != IDDELUXEMAPHEADER || *((uint *)in + 1) != DELUXEMAP_VERSION )
- ^
- ../engine/common/mod_bmodel.c:1384:44: warning: cast increases required alignment of target type [-Wcast-align]
- if( *(uint *)in != IDDELUXEMAPHEADER || *((uint *)in + 1) != DELUXEMAP_VERSION )
- ^
- ../engine/common/mod_bmodel.c: In function ‘Mod_LoadDeluxemap’:
- ../engine/common/mod_bmodel.c:1439:7: warning: cast increases required alignment of target type [-Wcast-align]
- if( *(uint *)in != IDDELUXEMAPHEADER || *((uint *)in + 1) != DELUXEMAP_VERSION )
- ^
- ../engine/common/mod_bmodel.c:1439:44: warning: cast increases required alignment of target type [-Wcast-align]
- if( *(uint *)in != IDDELUXEMAPHEADER || *((uint *)in + 1) != DELUXEMAP_VERSION )
- ^
- ../engine/common/mod_bmodel.c: In function ‘Mod_LoadTextures’:
- ../engine/common/mod_bmodel.c:1957:8: warning: cast increases required alignment of target type [-Wcast-align]
- mt = (mip_t *)((byte *)in + in->dataofs[i] );
- ^
- ../engine/common/mod_bmodel.c: In function ‘Mod_LoadBmodelLumps’:
- ../engine/common/mod_bmodel.c:2746:23: warning: cast increases required alignment of target type [-Wcast-align]
- dheader_t *header = (dheader_t *)mod_base;
- ^
- ../engine/common/mod_bmodel.c:2747:26: warning: cast increases required alignment of target type [-Wcast-align]
- dextrahdr_t *extrahdr = (dextrahdr_t *)((byte *)mod_base + sizeof( dheader_t ));
- ^
- ../engine/common/mod_bmodel.c: In function ‘Mod_TestBmodelLumps’:
- ../engine/common/mod_bmodel.c:2864:22: warning: cast increases required alignment of target type [-Wcast-align]
- dheader_t *header = (dheader_t *)mod_base;
- ^
- ../engine/common/mod_bmodel.c: In function ‘Mod_CheckLump’:
- ../engine/common/mod_bmodel.c:2972:11: warning: cast increases required alignment of target type [-Wcast-align]
- header = (dheader_t *)buffer;
- ^
- ../engine/common/mod_bmodel.c:2980:13: warning: cast increases required alignment of target type [-Wcast-align]
- extrahdr = (dextrahdr_t *)((byte *)buffer + sizeof( dheader_t ));
- ^
- ../engine/common/mod_bmodel.c: In function ‘Mod_ReadLump’:
- ../engine/common/mod_bmodel.c:3033:11: warning: cast increases required alignment of target type [-Wcast-align]
- header = (dheader_t *)buffer;
- ^
- ../engine/common/mod_bmodel.c:3041:13: warning: cast increases required alignment of target type [-Wcast-align]
- extrahdr = (dextrahdr_t *)((byte *)buffer + sizeof( dheader_t ));
- ^
- ../engine/common/mod_bmodel.c: In function ‘Mod_SaveLump’:
- ../engine/common/mod_bmodel.c:3129:11: warning: cast increases required alignment of target type [-Wcast-align]
- header = (dheader_t *)buffer;
- ^
- ../engine/common/mod_bmodel.c:3138:13: warning: cast increases required alignment of target type [-Wcast-align]
- extrahdr = (dextrahdr_t *)((byte *)buffer + sizeof( dheader_t ));
- ^
- [181/258] Compiling engine/common/imagelib/img_bmp.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../engine/platform/sdl/sys_sdl.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [182/258] Compiling engine/client/ref_common.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/hpak.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [183/258] Compiling engine/common/identification.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/imagelib/imagelib.h:19,
- from ../engine/common/imagelib/img_wad.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/imagelib/img_wad.c: In function ‘Image_LoadFNT’:
- ../engine/common/imagelib/img_wad.c:113:15: warning: cast increases required alignment of target type [-Wcast-align]
- numcolors = *(short *)pal, pal += sizeof( short );
- ^
- ../engine/common/imagelib/img_wad.c: In function ‘Image_LoadMDL’:
- ../engine/common/imagelib/img_wad.c:157:8: warning: cast increases required alignment of target type [-Wcast-align]
- pin = (mstudiotexture_t *)buffer;
- ^
- ../engine/common/imagelib/img_wad.c: In function ‘Image_LoadLMP’:
- ../engine/common/imagelib/img_wad.c:324:16: warning: cast increases required alignment of target type [-Wcast-align]
- numcolors = *(short *)pal;
- ^
- ../engine/common/imagelib/img_wad.c: In function ‘Image_LoadMIP’:
- ../engine/common/imagelib/img_wad.c:379:16: warning: cast increases required alignment of target type [-Wcast-align]
- numcolors = *(short *)pal;
- ^
- [184/258] Compiling engine/common/host.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/identification.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [185/258] Compiling engine/common/gamma.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/ref_common.c:1:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [186/258] Compiling engine/common/crashhandler.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/imagelib/imagelib.h:19,
- from ../engine/common/imagelib/img_bmp.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/imagelib/img_bmp.c: In function ‘Image_LoadBMP’:
- ../engine/common/imagelib/img_bmp.c:273:19: warning: cast increases required alignment of target type [-Wcast-align]
- shortPixel = *(word *)buf_p, buf_p += 2;
- ^
- [187/258] Compiling engine/common/custom.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../engine/common/host.c:18:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [188/258] Compiling engine/platform/sdl/s_sdl.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/gamma.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [189/258] Compiling engine/client/s_utils.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/crashhandler.c:17:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [190/258] Compiling engine/common/cmd.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/custom.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [191/258] Compiling engine/platform/posix/sys_posix.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/platform/sdl/s_sdl.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [192/258] Compiling engine/platform/posix/lib_posix.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/s_utils.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/client/s_utils.c: In function ‘S_ZeroCrossingBefore’:
- ../engine/client/s_utils.c:81:19: warning: cast increases required alignment of target type [-Wcast-align]
- short *pData = (short *)(pWaveData->buffer + sample * sampleSize);
- ^
- ../engine/client/s_utils.c: In function ‘S_ZeroCrossingAfter’:
- ../engine/client/s_utils.c:178:19: warning: cast increases required alignment of target type [-Wcast-align]
- short *pData = (short *)(pWaveData->buffer + sample * sampleSize);
- ^
- [193/258] Compiling engine/server/sv_init.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/platform/platform.h:20,
- from ../engine/platform/posix/sys_posix.c:21:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [194/258] Compiling engine/client/mod_dbghulls.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/platform/platform.h:20,
- from ../engine/platform/posix/lib_posix.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [195/258] Compiling engine/server/sv_frame.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/cmd.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [196/258] Compiling engine/client/cl_view.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_init.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/server/sv_init.c: In function ‘CRC32_MapFile’:
- ../engine/server/sv_init.c:804:11: warning: cast increases required alignment of target type [-Wcast-align]
- header = (dheader_t *)headbuf;
- ^
- [197/258] Compiling engine/common/soundlib/libmpg/parse.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/mod_dbghulls.c:15:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c: In function ‘free_hull_polys’:
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:35:13: note: in expansion of macro ‘list_entry’
- for( pos = list_entry( (head)->next, winding_t, member ), \
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:496:2: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, hull_polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:36:11: note: in expansion of macro ‘list_entry’
- n = list_entry( pos->member.next, winding_t, member ); \
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:496:2: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, hull_polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:38:20: note: in expansion of macro ‘list_entry’
- pos = n, n = list_entry( n->member.next, winding_t, member ))
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:496:2: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, hull_polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c: In function ‘do_hull_recursion’:
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:35:13: note: in expansion of macro ‘list_entry’
- for( pos = list_entry( (head)->next, winding_t, member ), \
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:524:4: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:36:11: note: in expansion of macro ‘list_entry’
- n = list_entry( pos->member.next, winding_t, member ); \
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:524:4: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:38:20: note: in expansion of macro ‘list_entry’
- pos = n, n = list_entry( n->member.next, winding_t, member ))
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:524:4: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:35:13: note: in expansion of macro ‘list_entry’
- for( pos = list_entry( (head)->next, winding_t, member ), \
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:533:4: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:36:11: note: in expansion of macro ‘list_entry’
- n = list_entry( pos->member.next, winding_t, member ); \
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:533:4: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:38:20: note: in expansion of macro ‘list_entry’
- pos = n, n = list_entry( n->member.next, winding_t, member ))
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:533:4: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c: In function ‘hull_windings_r’:
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:35:13: note: in expansion of macro ‘list_entry’
- for( pos = list_entry( (head)->next, winding_t, member ), \
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:557:2: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:36:11: note: in expansion of macro ‘list_entry’
- n = list_entry( pos->member.next, winding_t, member ); \
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:557:2: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:38:20: note: in expansion of macro ‘list_entry’
- pos = n, n = list_entry( n->member.next, winding_t, member ))
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:557:2: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c: In function ‘remove_paired_polys’:
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:35:13: note: in expansion of macro ‘list_entry’
- for( pos = list_entry( (head)->next, winding_t, member ), \
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:634:2: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, &model->polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:36:11: note: in expansion of macro ‘list_entry’
- n = list_entry( pos->member.next, winding_t, member ); \
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:634:2: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, &model->polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- ../engine/client/mod_dbghulls.c:25:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((type *)((char *)(ptr) - (size_t)(&((type *)0)->member)))
- ^
- ../engine/client/mod_dbghulls.c:38:20: note: in expansion of macro ‘list_entry’
- pos = n, n = list_entry( n->member.next, winding_t, member ))
- ^~~~~~~~~~
- ../engine/client/mod_dbghulls.c:634:2: note: in expansion of macro ‘list_for_each_entry_safe’
- list_for_each_entry_safe( w, next, &model->polys, chain )
- ^~~~~~~~~~~~~~~~~~~~~~~~
- [198/258] Compiling engine/client/s_vox.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_frame.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [199/258] Compiling engine/common/soundlib/snd_mp3.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_view.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [200/258] Compiling engine/common/soundlib/snd_main.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/soundlib/soundlib.h:19,
- from ../engine/common/soundlib/snd_mp3.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [201/258] Compiling engine/client/cl_efrag.c
- [202/258] Compiling engine/platform/linux/s_alsa.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/s_vox.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [203/258] Compiling engine/common/soundlib/libmpg/format.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/soundlib/soundlib.h:19,
- from ../engine/common/soundlib/snd_main.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [204/258] Compiling engine/server/sv_move.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/platform/platform.h:20,
- from ../engine/platform/linux/s_alsa.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [205/258] Compiling engine/common/imagelib/img_quant.c
- ../engine/common/soundlib/libmpg/format.c: In function ‘conv_s16_to_u16’:
- ../engine/common/soundlib/libmpg/format.c:410:22: warning: cast increases required alignment of target type [-Wcast-align]
- int16_t *ssamples = (int16_t *)buf->data;
- ^
- ../engine/common/soundlib/libmpg/format.c:411:23: warning: cast increases required alignment of target type [-Wcast-align]
- uint16_t *usamples = (uint16_t *)buf->data;
- ^
- [206/258] Compiling engine/server/sv_cmds.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_efrag.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [207/258] Compiling engine/common/net_encode.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/imagelib/imagelib.h:19,
- from ../engine/common/imagelib/img_quant.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [208/258] Compiling engine/platform/sdl/vid_sdl.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_move.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [209/258] Compiling engine/common/lib_common.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_cmds.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [210/258] Compiling engine/common/net_buffer.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/lib_common.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [211/258] Compiling engine/client/cl_video.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../engine/platform/sdl/vid_sdl.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [212/258] Compiling engine/common/pm_surface.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_video.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [213/258] Compiling engine/client/cl_remap.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/net_encode.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/net_encode.c: In function ‘Delta_CompareField’:
- ../engine/common/net_encode.c:959:13: warning: cast increases required alignment of target type [-Wcast-align]
- fromF = *(short *)((byte *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:960:11: warning: cast increases required alignment of target type [-Wcast-align]
- toF = *(short *)((byte *)to + pField->offset );
- ^
- ../engine/common/net_encode.c:964:13: warning: cast increases required alignment of target type [-Wcast-align]
- fromF = *(word *)((byte *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:965:11: warning: cast increases required alignment of target type [-Wcast-align]
- toF = *(word *)((byte *)to + pField->offset );
- ^
- ../engine/common/net_encode.c:981:13: warning: cast increases required alignment of target type [-Wcast-align]
- fromF = *(int *)((byte *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:982:11: warning: cast increases required alignment of target type [-Wcast-align]
- toF = *(int *)((byte *)to + pField->offset );
- ^
- ../engine/common/net_encode.c:986:13: warning: cast increases required alignment of target type [-Wcast-align]
- fromF = *(uint *)((byte *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:987:11: warning: cast increases required alignment of target type [-Wcast-align]
- toF = *(uint *)((byte *)to + pField->offset );
- ^
- ../engine/common/net_encode.c:1000:13: warning: cast increases required alignment of target type [-Wcast-align]
- fromF = *((int *)((byte *)from + pField->offset ));
- ^
- ../engine/common/net_encode.c:1001:11: warning: cast increases required alignment of target type [-Wcast-align]
- toF = *((int *)((byte *)to + pField->offset ));
- ^
- In file included from ../engine/common/net_encode.c:18:
- ../engine/common/net_encode.c:1005:20: warning: cast increases required alignment of target type [-Wcast-align]
- val_a = Q_rint((*(float *)((byte *)from + pField->offset )) * 100.0f );
- ^
- ../public/xash3d_mathlib.h:80:22: note: in definition of macro ‘Q_rint’
- #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
- ^
- ../engine/common/net_encode.c:1005:20: warning: cast increases required alignment of target type [-Wcast-align]
- val_a = Q_rint((*(float *)((byte *)from + pField->offset )) * 100.0f );
- ^
- ../public/xash3d_mathlib.h:80:42: note: in definition of macro ‘Q_rint’
- #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
- ^
- ../engine/common/net_encode.c:1005:20: warning: cast increases required alignment of target type [-Wcast-align]
- val_a = Q_rint((*(float *)((byte *)from + pField->offset )) * 100.0f );
- ^
- ../public/xash3d_mathlib.h:80:62: note: in definition of macro ‘Q_rint’
- #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
- ^
- ../engine/common/net_encode.c:1006:20: warning: cast increases required alignment of target type [-Wcast-align]
- val_b = Q_rint((*(float *)((byte *)to + pField->offset )) * 100.0f );
- ^
- ../public/xash3d_mathlib.h:80:22: note: in definition of macro ‘Q_rint’
- #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
- ^
- ../engine/common/net_encode.c:1006:20: warning: cast increases required alignment of target type [-Wcast-align]
- val_b = Q_rint((*(float *)((byte *)to + pField->offset )) * 100.0f );
- ^
- ../public/xash3d_mathlib.h:80:42: note: in definition of macro ‘Q_rint’
- #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
- ^
- ../engine/common/net_encode.c:1006:20: warning: cast increases required alignment of target type [-Wcast-align]
- val_b = Q_rint((*(float *)((byte *)to + pField->offset )) * 100.0f );
- ^
- ../public/xash3d_mathlib.h:80:62: note: in definition of macro ‘Q_rint’
- #define Q_rint(x) ((x) < 0.0f ? ((int)((x)-0.5f)) : ((int)((x)+0.5f)))
- ^
- ../engine/common/net_encode.c:1009:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- fromF = *((int *)&val_a);
- ~^~~~~~~~~~~~~~
- ../engine/common/net_encode.c:1010:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- toF = *((int *)&val_b);
- ~^~~~~~~~~~~~~~
- ../engine/common/net_encode.c:1014:13: warning: cast increases required alignment of target type [-Wcast-align]
- val_a = (*(float *)((byte *)from + pField->offset ));
- ^
- ../engine/common/net_encode.c:1015:13: warning: cast increases required alignment of target type [-Wcast-align]
- val_b = (*(float *)((byte *)to + pField->offset ));
- ^
- ../engine/common/net_encode.c:1030:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- fromF = *((int *)&val_a);
- ~^~~~~~~~~~~~~~
- ../engine/common/net_encode.c:1031:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- toF = *((int *)&val_b);
- ~^~~~~~~~~~~~~~
- ../engine/common/net_encode.c: In function ‘Delta_WriteField’:
- ../engine/common/net_encode.c:1139:14: warning: cast increases required alignment of target type [-Wcast-align]
- iValue = *(int16_t *)((int8_t *)to + pField->offset );
- ^
- ../engine/common/net_encode.c:1141:14: warning: cast increases required alignment of target type [-Wcast-align]
- iValue = *(uint16_t *)((int8_t *)to + pField->offset );
- ^
- ../engine/common/net_encode.c:1153:14: warning: cast increases required alignment of target type [-Wcast-align]
- iValue = *(int32_t *)((int8_t *)to + pField->offset );
- ^
- ../engine/common/net_encode.c:1155:14: warning: cast increases required alignment of target type [-Wcast-align]
- iValue = *(uint32_t *)((int8_t *)to + pField->offset );
- ^
- ../engine/common/net_encode.c:1165:14: warning: cast increases required alignment of target type [-Wcast-align]
- flValue = *(float *)((byte *)to + pField->offset );
- ^
- ../engine/common/net_encode.c:1172:14: warning: cast increases required alignment of target type [-Wcast-align]
- flAngle = *(float *)((byte *)to + pField->offset );
- ^
- ../engine/common/net_encode.c:1180:14: warning: cast increases required alignment of target type [-Wcast-align]
- flValue = *(float *)((byte *)to + pField->offset );
- ^
- ../engine/common/net_encode.c:1188:14: warning: cast increases required alignment of target type [-Wcast-align]
- flValue = *(float *)((byte *)to + pField->offset );
- ^
- ../engine/common/net_encode.c: In function ‘Delta_ReadField’:
- ../engine/common/net_encode.c:1252:15: warning: cast increases required alignment of target type [-Wcast-align]
- iValue = *(int16_t *)((uint8_t *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:1254:15: warning: cast increases required alignment of target type [-Wcast-align]
- iValue = *(uint16_t *)((uint8_t *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:1257:5: warning: cast increases required alignment of target type [-Wcast-align]
- *(int16_t *)((uint8_t *)to + pField->offset ) = iValue;
- ^
- ../engine/common/net_encode.c:1259:5: warning: cast increases required alignment of target type [-Wcast-align]
- *(uint16_t *)((uint8_t *)to + pField->offset ) = iValue;
- ^
- ../engine/common/net_encode.c:1275:15: warning: cast increases required alignment of target type [-Wcast-align]
- iValue = *(int32_t *)((uint8_t *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:1277:15: warning: cast increases required alignment of target type [-Wcast-align]
- iValue = *(uint32_t *)((uint8_t *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:1280:5: warning: cast increases required alignment of target type [-Wcast-align]
- *(int32_t *)((uint8_t *)to + pField->offset ) = iValue;
- ^
- ../engine/common/net_encode.c:1282:5: warning: cast increases required alignment of target type [-Wcast-align]
- *(uint32_t *)((uint8_t *)to + pField->offset ) = iValue;
- ^
- ../engine/common/net_encode.c:1297:15: warning: cast increases required alignment of target type [-Wcast-align]
- flValue = *(float *)((byte *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:1299:4: warning: cast increases required alignment of target type [-Wcast-align]
- *(float *)((byte *)to + pField->offset ) = flValue;
- ^
- ../engine/common/net_encode.c:1309:15: warning: cast increases required alignment of target type [-Wcast-align]
- flAngle = *(float *)((byte *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:1311:4: warning: cast increases required alignment of target type [-Wcast-align]
- *(float *)((byte *)to + pField->offset ) = flAngle;
- ^
- ../engine/common/net_encode.c:1323:14: warning: cast increases required alignment of target type [-Wcast-align]
- flTime = *(float *)((byte *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:1325:4: warning: cast increases required alignment of target type [-Wcast-align]
- *(float *)((byte *)to + pField->offset ) = flTime;
- ^
- ../engine/common/net_encode.c:1337:14: warning: cast increases required alignment of target type [-Wcast-align]
- flTime = *(float *)((byte *)from + pField->offset );
- ^
- ../engine/common/net_encode.c:1339:4: warning: cast increases required alignment of target type [-Wcast-align]
- *(float *)((byte *)to + pField->offset ) = flTime;
- ^
- [214/258] Compiling engine/common/mod_sprite.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/pm_surface.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [215/258] Compiling engine/platform/sdl/events.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/net_buffer.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/net_buffer.c: In function ‘MSG_WriteUBitLong’:
- ../engine/common/net_buffer.c:171:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((dword *)sb->pData)[iDWord] &= BitWriteMasks[iCurBitMasked][nBitsLeft];
- ^
- ../engine/common/net_buffer.c:172:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((dword *)sb->pData)[iDWord] |= curData << iCurBitMasked;
- ^
- ../engine/common/net_buffer.c:184:5: warning: cast increases required alignment of target type [-Wcast-align]
- ((dword *)sb->pData)[iDWord+1] &= BitWriteMasks[iCurBitMasked][nBitsLeft];
- ^
- ../engine/common/net_buffer.c:185:5: warning: cast increases required alignment of target type [-Wcast-align]
- ((dword *)sb->pData)[iDWord+1] |= curData << iCurBitMasked;
- ^
- ../engine/common/net_buffer.c: In function ‘MSG_WriteBits’:
- ../engine/common/net_buffer.c:241:28: warning: cast increases required alignment of target type [-Wcast-align]
- MSG_WriteUBitLong( sb, *(( dword *)pOut ), 32 );
- ^
- ../engine/common/net_buffer.c: In function ‘MSG_WriteBitFloat’:
- ../engine/common/net_buffer.c:312:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- intVal = *((int *)&val );
- ~^~~~~~~~~~~~~
- ../engine/common/net_buffer.c: In function ‘MSG_ReadUBitLong’:
- ../engine/common/net_buffer.c:433:12: warning: cast increases required alignment of target type [-Wcast-align]
- dword1 = ((uint *)sb->pData)[idword1];
- ^
- ../engine/common/net_buffer.c:448:18: warning: cast increases required alignment of target type [-Wcast-align]
- uint dword2 = ((uint *)sb->pData)[idword1+1] & ExtraMasks[nExtraBits];
- ^
- ../engine/common/net_buffer.c: In function ‘MSG_ReadBitFloat’:
- ../engine/common/net_buffer.c:480:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- return *((float *)&val);
- ~^~~~~~~~~~~~~~
- ../engine/common/net_buffer.c: In function ‘MSG_ReadBits’:
- ../engine/common/net_buffer.c:499:5: warning: cast increases required alignment of target type [-Wcast-align]
- *((dword *)pOut) = MSG_ReadUBitLong( sb, 32 );
- ^
- [216/258] Compiling engine/common/imagelib/img_tga.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/mod_sprite.c:17:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [217/258] Compiling engine/common/filesystem.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_remap.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/client/cl_remap.c: In function ‘CL_AllocRemapInfo’:
- ../engine/client/cl_remap.c:284:9: warning: cast increases required alignment of target type [-Wcast-align]
- src = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
- ^
- ../engine/client/cl_remap.c:307:9: warning: cast increases required alignment of target type [-Wcast-align]
- src = (mstudiotexture_t *)(((byte *)phdr) + phdr->textureindex);
- ^
- [218/258] Compiling engine/common/host_state.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/host_state.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [219/258] Compiling engine/common/cvar.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/imagelib/imagelib.h:19,
- from ../engine/common/imagelib/img_tga.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/imagelib/img_tga.c: In function ‘Image_LoadTGA’:
- ../engine/common/imagelib/img_tga.c:47:27: warning: cast increases required alignment of target type [-Wcast-align]
- targa_header.x_origin = *(short *)buf_p; buf_p += 2;
- ^
- ../engine/common/imagelib/img_tga.c:48:27: warning: cast increases required alignment of target type [-Wcast-align]
- targa_header.y_origin = *(short *)buf_p; buf_p += 2;
- ^
- ../engine/common/imagelib/img_tga.c:49:38: warning: cast increases required alignment of target type [-Wcast-align]
- targa_header.width = image.width = *(short *)buf_p; buf_p += 2;
- ^
- ../engine/common/imagelib/img_tga.c:50:40: warning: cast increases required alignment of target type [-Wcast-align]
- targa_header.height = image.height = *(short *)buf_p; buf_p += 2;
- ^
- [220/258] Compiling engine/client/s_mouth.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../engine/platform/sdl/events.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [221/258] Compiling engine/common/con_utils.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/s_mouth.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [222/258] Compiling engine/server/sv_phys.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/cvar.c:17:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [223/258] Compiling engine/client/cl_parse.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/con_utils.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/con_utils.c: In function ‘Cmd_GetMapList’:
- ../engine/common/con_utils.c:100:13: warning: cast increases required alignment of target type [-Wcast-align]
- header = (dheader_t *)buf;
- ^
- ../engine/common/con_utils.c:111:13: warning: cast increases required alignment of target type [-Wcast-align]
- hdrext = (dextrahdr_t *)((byte *)buf + sizeof( dheader_t ));
- ^
- ../engine/common/con_utils.c: In function ‘Cmd_CheckMapsList_R’:
- ../engine/common/con_utils.c:892:13: warning: cast increases required alignment of target type [-Wcast-align]
- header = (dheader_t *)buf;
- ^
- [224/258] Compiling engine/common/soundlib/snd_utils.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/soundlib/soundlib.h:19,
- from ../engine/common/soundlib/snd_utils.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/soundlib/snd_utils.c: In function ‘Sound_ResampleInternal’:
- ../engine/common/soundlib/snd_utils.c:200:16: warning: cast increases required alignment of target type [-Wcast-align]
- sample = ((short *)data)[srcsample*2+0];
- ^
- ../engine/common/soundlib/snd_utils.c:201:17: warning: cast increases required alignment of target type [-Wcast-align]
- sample2 = ((short *)data)[srcsample*2+1];
- ^
- ../engine/common/soundlib/snd_utils.c:211:7: warning: cast increases required alignment of target type [-Wcast-align]
- ((short *)sound.tempbuffer)[i*2+0] = sample;
- ^
- ../engine/common/soundlib/snd_utils.c:212:7: warning: cast increases required alignment of target type [-Wcast-align]
- ((short *)sound.tempbuffer)[i*2+1] = sample2;
- ^
- ../engine/common/soundlib/snd_utils.c:228:34: warning: cast increases required alignment of target type [-Wcast-align]
- if( inwidth == 2 ) sample = ((short *)data)[srcsample];
- ^
- ../engine/common/soundlib/snd_utils.c:231:26: warning: cast increases required alignment of target type [-Wcast-align]
- if( outwidth == 2 ) ((short *)sound.tempbuffer)[i] = sample;
- ^
- [225/258] Compiling engine/client/cl_debug.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_phys.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [226/258] Compiling engine/platform/sdl/in_sdl.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_debug.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [227/258] Compiling engine/common/soundlib/libmpg/frame.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../engine/platform/sdl/in_sdl.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [228/258] Compiling engine/client/cl_tent.c
- ../engine/common/soundlib/libmpg/frame.c: In function ‘frame_buffers’:
- ../engine/common/soundlib/libmpg/frame.c:226:16: warning: cast increases required alignment of target type [-Wcast-align]
- fr->decwin = (float *)fr->rawdecwin;
- ^
- [229/258] Compiling engine/common/system.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_parse.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/client/cl_parse.c: In function ‘CL_SendConsistencyInfo’:
- ../engine/client/cl_parse.c:1511:17: warning: cast increases required alignment of target type [-Wcast-align]
- pc->value = *(int *)md5;
- ^
- [230/258] Compiling engine/client/in_touch.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/system.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [231/258] Compiling engine/common/soundlib/libmpg/dct64.c
- [232/258] Compiling engine/common/imagelib/img_main.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/imagelib/imagelib.h:19,
- from ../engine/common/imagelib/img_main.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/imagelib/img_main.c: In function ‘FS_AddSideToPack’:
- ../engine/common/imagelib/img_main.c:191:31: warning: cast increases required alignment of target type [-Wcast-align]
- out = Image_ResampleInternal((uint *)image.rgba, image.width, image.height, image.source_width, image.source_height, image.source_type, &resampled );
- ^
- [233/258] Compiling engine/common/launcher.c
- [234/258] Compiling engine/client/cl_scrn.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/in_touch.c:15:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [235/258] Compiling engine/client/keys.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_tent.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [236/258] Compiling engine/common/dedicated.c
- [237/258] Compiling engine/client/s_main.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_scrn.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/client/cl_scrn.c: In function ‘SCR_LoadVariableWidthFont’:
- ../engine/client/cl_scrn.c:622:9: warning: cast increases required alignment of target type [-Wcast-align]
- src = (qfont_t *)buffer;
- ^
- [238/258] Compiling engine/common/soundlib/libmpg/layer3.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/filesystem.c:31:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/filesystem.c: In function ‘FS_Search’:
- ../engine/common/filesystem.c:3700:23: warning: cast increases required alignment of target type [-Wcast-align]
- search->filenames = (char **)((char *)search + sizeof( search_t ));
- ^
- [239/258] Compiling engine/common/net_ws.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/keys.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [240/258] Compiling engine/common/soundlib/libmpg/reader.c
- [241/258] Compiling engine/client/cl_main.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/s_main.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/client/s_main.c: In function ‘S_RawSamplesStereo’:
- ../engine/client/s_main.c:1074:21: warning: cast increases required alignment of target type [-Wcast-align]
- const short *in = (const short *)data;
- ^
- [242/258] Compiling engine/client/cl_custom.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/net_ws.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/net_ws.c: In function ‘NET_NetadrToSockadr’:
- ../engine/common/net_ws.c:277:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((struct sockaddr_in *)s)->sin_family = AF_INET;
- ^
- ../engine/common/net_ws.c:278:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((struct sockaddr_in *)s)->sin_port = a->port;
- ^
- ../engine/common/net_ws.c:279:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((struct sockaddr_in *)s)->sin_addr.s_addr = INADDR_BROADCAST;
- ^
- ../engine/common/net_ws.c:283:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((struct sockaddr_in *)s)->sin_family = AF_INET;
- ^
- ../engine/common/net_ws.c:284:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((struct sockaddr_in *)s)->sin_addr.s_addr = *(int *)&a->ip;
- ^
- ../engine/common/net_ws.c:284:49: warning: cast increases required alignment of target type [-Wcast-align]
- ((struct sockaddr_in *)s)->sin_addr.s_addr = *(int *)&a->ip;
- ^
- ../engine/common/net_ws.c:285:4: warning: cast increases required alignment of target type [-Wcast-align]
- ((struct sockaddr_in *)s)->sin_port = a->port;
- ^
- ../engine/common/net_ws.c: In function ‘NET_SockadrToNetadr’:
- ../engine/common/net_ws.c:299:4: warning: cast increases required alignment of target type [-Wcast-align]
- *(int *)&a->ip = ((struct sockaddr_in *)s)->sin_addr.s_addr;
- ^
- ../engine/common/net_ws.c:299:21: warning: cast increases required alignment of target type [-Wcast-align]
- *(int *)&a->ip = ((struct sockaddr_in *)s)->sin_addr.s_addr;
- ^
- ../engine/common/net_ws.c:300:14: warning: cast increases required alignment of target type [-Wcast-align]
- a->port = ((struct sockaddr_in *)s)->sin_port;
- ^
- ../engine/common/net_ws.c: In function ‘NET_GetHostByName’:
- ../engine/common/net_ws.c:325:20: warning: cast increases required alignment of target type [-Wcast-align]
- ip = *((int*)&((struct sockaddr_in *)cur->ai_addr)->sin_addr);
- ^
- ../engine/common/net_ws.c: In function ‘NET_StringToSockaddr’:
- ../engine/common/net_ws.c:458:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((struct sockaddr_in *)sadr)->sin_family = AF_INET;
- ^
- ../engine/common/net_ws.c:459:3: warning: cast increases required alignment of target type [-Wcast-align]
- ((struct sockaddr_in *)sadr)->sin_port = 0;
- ^
- ../engine/common/net_ws.c:469:5: warning: cast increases required alignment of target type [-Wcast-align]
- ((struct sockaddr_in *)sadr)->sin_port = htons((short)Q_atoi( colon + 1 ));
- ^
- ../engine/common/net_ws.c:475:13: warning: cast increases required alignment of target type [-Wcast-align]
- *(int *)&((struct sockaddr_in *)sadr)->sin_addr = inet_addr( copy );
- ^
- ../engine/common/net_ws.c:528:13: warning: cast increases required alignment of target type [-Wcast-align]
- *(int *)&((struct sockaddr_in *)sadr)->sin_addr = ip;
- ^
- ../engine/common/net_ws.c: In function ‘NET_QueuePacket’:
- ../engine/common/net_ws.c:1120:31: warning: cast increases required alignment of target type [-Wcast-align]
- if( sock == NS_CLIENT && *(int *)data == NET_HEADER_SPLITPACKET )
- ^
- [243/258] Compiling engine/common/imagelib/img_dds.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_custom.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [244/258] Compiling engine/client/titles.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/titles.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [245/258] Compiling engine/server/sv_game.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_main.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/client/cl_main.c: In function ‘CL_ReadNetMessage’:
- ../engine/client/cl_main.c:2206:27: warning: cast increases required alignment of target type [-Wcast-align]
- if( cls.legacymode && *((int *)&net_message_buffer) == 0xFFFFFFFE )
- ^
- ../engine/client/cl_main.c:2214:48: warning: cast increases required alignment of target type [-Wcast-align]
- if( MSG_GetMaxBytes( &net_message ) >= 4 && *(int *)net_message.pData == -1 )
- ^
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/imagelib/imagelib.h:19,
- from ../engine/common/imagelib/img_dds.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/imagelib/img_dds.c: In function ‘Image_CheckDXT5Alpha’:
- ../engine/common/imagelib/img_dds.c:69:15: warning: cast increases required alignment of target type [-Wcast-align]
- bitmask = ((uint *)fin)[1];
- ^
- [246/258] Compiling engine/client/vgui/vgui_draw.c
- [247/258] Compiling engine/common/net_chan.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/vgui/vgui_draw.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [248/258] Compiling engine/common/pm_debug.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/pm_debug.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [249/258] Compiling engine/common/world.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/net_chan.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/common/net_chan.c: In function ‘NetSplit_GetLong’:
- ../engine/common/net_chan.c:123:30: warning: cast increases required alignment of target type [-Wcast-align]
- netsplit_packet_t *packet = (netsplit_packet_t*)data;
- ^
- [250/258] Compiling engine/server/sv_world.c
- [251/258] Compiling engine/client/cl_frame.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/world.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [252/258] Compiling engine/client/vid_common.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/vid_common.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [253/258] Compiling engine/client/s_stream.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_frame.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/client/cl_frame.c: In function ‘CL_GetStudioEstimatedFrame’:
- ../engine/client/cl_frame.c:251:15: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)pstudiohdr + pstudiohdr->seqindex) + sequence;
- ^
- [254/258] Compiling engine/server/sv_save.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/s_stream.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [255/258] Compiling engine/client/cl_mobile.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_mobile.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- [256/258] Compiling engine/client/cl_netgraph.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_world.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/server/sv_world.c: In function ‘SV_CheckSphereIntersection’:
- ../engine/server/sv_world.c:140:13: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)pstudiohdr + pstudiohdr->seqindex) + sequence;
- ^
- ../engine/server/sv_world.c: In function ‘SV_HullForStudioModel’:
- ../engine/server/sv_world.c:377:15: warning: cast increases required alignment of target type [-Wcast-align]
- pseqdesc = (mstudioseqdesc_t *)((byte *)pstudio + pstudio->seqindex) + ent->v.sequence;
- ^
- In file included from ../engine/server/server.h:22,
- from ../engine/server/sv_world.c:17:
- ../engine/server/sv_world.c: In function ‘SV_TouchLinks’:
- ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
- #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
- ^
- ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
- #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
- ^~~~~~~~~~~~~~~~
- ../engine/server/sv_world.c:515:11: note: in expansion of macro ‘EDICT_FROM_AREA’
- touch = EDICT_FROM_AREA( l );
- ^~~~~~~~~~~~~~~
- ../engine/server/sv_world.c: In function ‘SV_WaterLinks’:
- ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
- #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
- ^
- ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
- #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
- ^~~~~~~~~~~~~~~~
- ../engine/server/sv_world.c:719:11: note: in expansion of macro ‘EDICT_FROM_AREA’
- touch = EDICT_FROM_AREA( l );
- ^~~~~~~~~~~~~~~
- ../engine/server/sv_world.c: In function ‘SV_ClipToLinks’:
- ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
- #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
- ^
- ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
- #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
- ^~~~~~~~~~~~~~~~
- ../engine/server/sv_world.c:1255:11: note: in expansion of macro ‘EDICT_FROM_AREA’
- touch = EDICT_FROM_AREA( l );
- ^~~~~~~~~~~~~~~
- ../engine/server/sv_world.c: In function ‘SV_ClipToPortals’:
- ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
- #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
- ^
- ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
- #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
- ^~~~~~~~~~~~~~~~
- ../engine/server/sv_world.c:1287:11: note: in expansion of macro ‘EDICT_FROM_AREA’
- touch = EDICT_FROM_AREA( l );
- ^~~~~~~~~~~~~~~
- ../engine/server/sv_world.c: In function ‘SV_ClipToWorldBrush’:
- ../engine/physint.h:21:38: warning: cast increases required alignment of target type [-Wcast-align]
- #define STRUCT_FROM_LINK( l, t, m ) ((t *)((byte *)l - (int)&(((t *)0)->m)))
- ^
- ../engine/physint.h:22:31: note: in expansion of macro ‘STRUCT_FROM_LINK’
- #define EDICT_FROM_AREA( l ) STRUCT_FROM_LINK( l, edict_t, area )
- ^~~~~~~~~~~~~~~~
- ../engine/server/sv_world.c:1319:11: note: in expansion of macro ‘EDICT_FROM_AREA’
- touch = EDICT_FROM_AREA( l );
- ^~~~~~~~~~~~~~~
- [257/258] Compiling engine/common/cfgscript.c
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_game.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/server/sv_game.c: In function ‘SV_WriteEntityPatch’:
- ../engine/server/sv_game.c:782:11: warning: cast increases required alignment of target type [-Wcast-align]
- header = (dheader_t *)buf;
- ^
- ../engine/server/sv_game.c: In function ‘SV_ReadEntityScript’:
- ../engine/server/sv_game.c:836:11: warning: cast increases required alignment of target type [-Wcast-align]
- header = (dheader_t *)buf;
- ^
- In file included from ../engine/server/sv_game.c:17:
- ../engine/server/sv_game.c: In function ‘SV_FindEntityByString’:
- ../engine/server/sv_game.c:1570:17: warning: cast increases required alignment of target type [-Wcast-align]
- t = STRING( *(string_t *)&((byte *)&ed->v)[desc->fieldOffset] );
- ^
- ../engine/server/server.h:64:40: note: in definition of macro ‘STRING’
- #define STRING( offset ) SV_GetString( offset )
- ^~~~~~
- ../engine/server/sv_game.c: In function ‘pfnMessageEnd’:
- ../engine/server/sv_game.c:2686:4: warning: cast increases required alignment of target type [-Wcast-align]
- *(word *)&sv.multicast.pData[svgame.msg_size_index] = svgame.msg_realsize;
- ^
- ../engine/server/sv_game.c: In function ‘pfnPEntityOfEntOffset’:
- ../engine/server/sv_game.c:3297:9: warning: cast increases required alignment of target type [-Wcast-align]
- return (edict_t *)((byte *)svgame.edicts + iEntOffset);
- ^
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/common/cfgscript.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/client/cl_netgraph.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- In file included from /usr/include/SDL2/SDL.h:36,
- from ../common/port.h:151,
- from ../engine/common/common.h:39,
- from ../engine/server/sv_save.c:16:
- /usr/include/SDL2/SDL_audio.h:228:9: warning: packed attribute causes inefficient alignment for ‘needed’ [-Wattributes]
- int needed; /**< Set to 1 if conversion possible */
- ^~~~~~
- /usr/include/SDL2/SDL_audio.h:229:21: warning: packed attribute causes inefficient alignment for ‘src_format’ [-Wattributes]
- SDL_AudioFormat src_format; /**< Source audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:230:21: warning: packed attribute causes inefficient alignment for ‘dst_format’ [-Wattributes]
- SDL_AudioFormat dst_format; /**< Target audio format */
- ^~~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:231:12: warning: packed attribute causes inefficient alignment for ‘rate_incr’ [-Wattributes]
- double rate_incr; /**< Rate conversion increment */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:232:12: warning: packed attribute causes inefficient alignment for ‘buf’ [-Wattributes]
- Uint8 *buf; /**< Buffer to hold entire audio data */
- ^~~
- /usr/include/SDL2/SDL_audio.h:233:9: warning: packed attribute causes inefficient alignment for ‘len’ [-Wattributes]
- int len; /**< Length of original audio buffer */
- ^~~
- /usr/include/SDL2/SDL_audio.h:234:9: warning: packed attribute causes inefficient alignment for ‘len_cvt’ [-Wattributes]
- int len_cvt; /**< Length of converted audio buffer */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:235:9: warning: packed attribute causes inefficient alignment for ‘len_mult’ [-Wattributes]
- int len_mult; /**< buffer must be len*len_mult big */
- ^~~~~~~~
- /usr/include/SDL2/SDL_audio.h:236:12: warning: packed attribute causes inefficient alignment for ‘len_ratio’ [-Wattributes]
- double len_ratio; /**< Given len, final size is len*len_ratio */
- ^~~~~~~~~
- /usr/include/SDL2/SDL_audio.h:237:21: warning: packed attribute causes inefficient alignment for ‘filters’ [-Wattributes]
- SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */
- ^~~~~~~
- /usr/include/SDL2/SDL_audio.h:238:9: warning: packed attribute causes inefficient alignment for ‘filter_index’ [-Wattributes]
- int filter_index; /**< Current audio conversion function */
- ^~~~~~~~~~~~
- ../engine/server/sv_save.c: In function ‘SV_GetSaveComment’:
- ../engine/server/sv_save.c:2354:16: warning: cast increases required alignment of target type [-Wcast-align]
- nFieldSize = *(short *)pData;
- ^
- ../engine/server/sv_save.c:2356:27: warning: cast increases required alignment of target type [-Wcast-align]
- pFieldName = pTokenList[*(short *)pData];
- ^
- ../engine/server/sv_save.c:2380:17: warning: cast increases required alignment of target type [-Wcast-align]
- nFieldSize = *(short *)pData;
- ^
- ../engine/server/sv_save.c:2383:28: warning: cast increases required alignment of target type [-Wcast-align]
- pFieldName = pTokenList[*(short *)pData];
- ^
- [258/258] Linking build/engine/libxash.so
- Waf: Leaving directory `/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build'
- 'build' finished successfully (9m44.081s)
- Setting top to : /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk
- Setting out to : /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk/build
- Build type : release
- Checking for 'gcc' (C compiler) : /usr/bin/gcc
- Target OS : linux
- Target CPU : arm
- Target binfmt : elf
- Checking for 'g++' (C++ compiler) : /usr/bin/g++
- Target OS : linux
- Target CPU : arm
- Target binfmt : elf
- Checking for program 'strip' : /usr/bin/strip
- Checking for program 'objcopy' : /usr/bin/objcopy
- Checking if 'gcc' can target 32-bit : yes
- Determining library postfix : started
- -> processing test results : _armv8_32hf
- Checking for required C flags : yes
- Checking for required C++ flags : yes
- Checking supported flags for gcc in parallel : started
- ... -Werror=bool-compare : yes
- ... -fdiagnostics-color=always : yes
- ... -Werror=implicit-function-declaration : yes
- ... -Wstrict-aliasing : yes
- ... -Werror=int-conversion : yes
- ... -Werror=tautological-compare : yes
- ... -Werror=declaration-after-statement : yes
- ... -Werror=bool-operation : yes
- ... -Werror=vla : yes
- ... -Werror=return-type : yes
- ... -Werror=implicit-int : yes
- ... -Werror=parentheses : yes
- ... -Werror=duplicated-cond : yes
- -> processing test results : all ok
- Checking supported flags for g++ in parallel : started
- ... -Werror=bool-compare : yes
- ... -Wstrict-aliasing : yes
- ... -Werror=return-type : yes
- ... -fdiagnostics-color=always : yes
- ... -Werror=bool-operation : yes
- ... -Werror=parentheses : yes
- ... -Werror=tautological-compare : yes
- ... -Werror=duplicated-cond : yes
- ... -Werror=vla : yes
- -> processing test results : all ok
- Checking for header tgmath.h : yes
- Checking if tgmath.h is usable : yes
- Checking if cmath is usable : yes
- --> cl_dll : in progress
- <-- cl_dll : done
- --> dlls : in progress
- <-- dlls : done
- 'configure' finished successfully (12.711s)
- Build commands will be stored in build/compile_commands.json
- Waf: Entering directory `/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk/build'
- [ 1/167] Compiling cl_dll/view.cpp
- [ 2/167] Compiling cl_dll/death.cpp
- [ 3/167] Compiling dlls/mp5.cpp
- [ 4/167] Compiling cl_dll/hl/hl_weapons.cpp
- [ 5/167] Compiling pm_shared/pm_shared.c
- [ 6/167] Compiling pm_shared/pm_debug.c
- [ 7/167] Compiling cl_dll/tri.cpp
- [ 8/167] Compiling cl_dll/cdll_int.cpp
- [ 9/167] Compiling dlls/handgrenade.cpp
- [ 10/167] Compiling cl_dll/hl/hl_objects.cpp
- [ 11/167] Compiling cl_dll/saytext.cpp
- [ 12/167] Compiling cl_dll/parsemsg.cpp
- [ 13/167] Compiling cl_dll/ammo_secondary.cpp
- [ 14/167] Compiling cl_dll/overview.cpp
- [ 15/167] Compiling cl_dll/message.cpp
- [ 16/167] Compiling cl_dll/ammo.cpp
- [ 17/167] Compiling dlls/glock.cpp
- In file included from ../pm_shared/pm_shared.c:22:
- ../pm_shared/pm_shared.c: In function ‘PM_CheckVelocity’:
- ../common/mathlib.h:53:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- #define IS_NAN(x) (((*(int *)&x)&nanmask)==nanmask)
- ../pm_shared/pm_shared.c:731:7: note: in expansion of macro ‘IS_NAN’
- if( IS_NAN( pmove->velocity[i] ) )
- ^~~~~~
- ../common/mathlib.h:53:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- #define IS_NAN(x) (((*(int *)&x)&nanmask)==nanmask)
- ../pm_shared/pm_shared.c:736:7: note: in expansion of macro ‘IS_NAN’
- if( IS_NAN( pmove->origin[i] ) )
- ^~~~~~
- [ 18/167] Compiling cl_dll/ammohistory.cpp
- [ 19/167] Compiling cl_dll/input_xash3d.cpp
- [ 20/167] Compiling cl_dll/StudioModelRenderer.cpp
- [ 21/167] Compiling cl_dll/input_mouse.cpp
- [ 22/167] Compiling cl_dll/input_goldsource.cpp
- [ 23/167] Compiling cl_dll/MOTD.cpp
- [ 24/167] Compiling dlls/gauss.cpp
- [ 25/167] Compiling cl_dll/hl/hl_events.cpp
- [ 26/167] Compiling pm_shared/pm_math.c
- [ 27/167] Compiling cl_dll/input.cpp
- [ 28/167] Compiling cl_dll/in_camera.cpp
- [ 29/167] Compiling cl_dll/GameStudioModelRenderer.cpp
- [ 30/167] Compiling cl_dll/hud_update.cpp
- [ 31/167] Compiling cl_dll/hud_spectator.cpp
- [ 32/167] Compiling dlls/tripmine.cpp
- [ 33/167] Compiling dlls/egon.cpp
- [ 34/167] Compiling cl_dll/hud_redraw.cpp
- [ 35/167] Compiling cl_dll/hud_msg.cpp
- [ 36/167] Compiling cl_dll/menu.cpp
- [ 37/167] Compiling cl_dll/hud.cpp
- [ 38/167] Compiling cl_dll/health.cpp
- [ 39/167] Compiling dlls/shotgun.cpp
- [ 40/167] Compiling dlls/crowbar.cpp
- [ 41/167] Compiling cl_dll/hl/hl_baseentity.cpp
- [ 42/167] Compiling cl_dll/geiger.cpp
- [ 43/167] Compiling cl_dll/flashlight.cpp
- [ 44/167] Compiling cl_dll/events.cpp
- [ 45/167] Compiling dlls/satchel.cpp
- [ 46/167] Compiling cl_dll/ev_common.cpp
- [ 47/167] Compiling dlls/rpg.cpp
- [ 48/167] Compiling dlls/crossbow.cpp
- [ 49/167] Compiling cl_dll/ev_hldm.cpp
- [ 50/167] Compiling cl_dll/entity.cpp
- [ 51/167] Compiling dlls/squeakgrenade.cpp
- [ 52/167] Compiling cl_dll/demo.cpp
- [ 53/167] Compiling dlls/python.cpp
- [ 54/167] Compiling cl_dll/text_message.cpp
- [ 55/167] Compiling cl_dll/scoreboard.cpp
- [ 56/167] Compiling cl_dll/status_icons.cpp
- [ 57/167] Compiling cl_dll/util.cpp
- [ 58/167] Compiling cl_dll/train.cpp
- [ 59/167] Compiling cl_dll/battery.cpp
- [ 60/167] Compiling cl_dll/statusbar.cpp
- [ 61/167] Compiling cl_dll/com_weapons.cpp
- [ 62/167] Compiling cl_dll/studio_util.cpp
- [ 63/167] Compiling dlls/hornetgun.cpp
- ../cl_dll/com_weapons.cpp: In function ‘float UTIL_SharedRandomFloat(unsigned int, float, float)’:
- ../cl_dll/com_weapons.cpp:240:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- U_Srand( (int)seed + *(int *)&low + *(int *)&high );
- ^~~~~~~~~~~
- ../cl_dll/com_weapons.cpp:240:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- U_Srand( (int)seed + *(int *)&low + *(int *)&high );
- ^~~~~~~~~~~~
- [ 64/167] Compiling dlls/multiplay_gamerules.cpp
- [ 65/167] Compiling dlls/client.cpp
- [ 66/167] Compiling dlls/aflock.cpp
- [ 67/167] Compiling dlls/game.cpp
- [ 68/167] Compiling pm_shared/pm_shared.c
- [ 69/167] Linking build/cl_dll/client_armv8_32hf.so
- [ 70/167] Compiling pm_shared/pm_debug.c
- [ 71/167] Compiling dlls/explode.cpp
- [ 72/167] Compiling dlls/observer.cpp
- [ 73/167] Compiling dlls/gman.cpp
- [ 74/167] Compiling dlls/cbase.cpp
- [ 75/167] Compiling dlls/defaultai.cpp
- [ 76/167] Compiling dlls/mp5.cpp
- [ 77/167] Compiling dlls/crossbow.cpp
- In file included from ../pm_shared/pm_shared.c:22:
- ../pm_shared/pm_shared.c: In function ‘PM_CheckVelocity’:
- ../common/mathlib.h:53:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- #define IS_NAN(x) (((*(int *)&x)&nanmask)==nanmask)
- ../pm_shared/pm_shared.c:731:7: note: in expansion of macro ‘IS_NAN’
- if( IS_NAN( pmove->velocity[i] ) )
- ^~~~~~
- ../common/mathlib.h:53:23: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- #define IS_NAN(x) (((*(int *)&x)&nanmask)==nanmask)
- ../pm_shared/pm_shared.c:736:7: note: in expansion of macro ‘IS_NAN’
- if( IS_NAN( pmove->origin[i] ) )
- ^~~~~~
- [ 78/167] Compiling dlls/monstermaker.cpp
- [ 79/167] Compiling dlls/monsterstate.cpp
- [ 80/167] Compiling dlls/zombie.cpp
- [ 81/167] Compiling dlls/turret.cpp
- [ 82/167] Compiling dlls/util.cpp
- [ 83/167] Compiling dlls/singleplay_gamerules.cpp
- [ 84/167] Compiling dlls/tentacle.cpp
- [ 85/167] Compiling dlls/items.cpp
- [ 86/167] Compiling dlls/subs.cpp
- [ 87/167] Compiling dlls/hornetgun.cpp
- [ 88/167] Compiling dlls/soundent.cpp
- ../dlls/util.cpp: In function ‘float UTIL_SharedRandomFloat(unsigned int, float, float)’:
- ../dlls/util.cpp:116:24: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- U_Srand( (int)seed + *(int *)&low + *(int *)&high );
- ^~~~~~~~~~~
- ../dlls/util.cpp:116:39: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
- U_Srand( (int)seed + *(int *)&low + *(int *)&high );
- ^~~~~~~~~~~~
- [ 89/167] Compiling dlls/bloater.cpp
- [ 90/167] Compiling dlls/shotgun.cpp
- [ 91/167] Compiling dlls/combat.cpp
- [ 92/167] Compiling dlls/satchel.cpp
- [ 93/167] Compiling dlls/playermonster.cpp
- [ 94/167] Compiling dlls/python.cpp
- [ 95/167] Compiling dlls/apache.cpp
- [ 96/167] Compiling dlls/plane.cpp
- [ 97/167] Compiling dlls/handgrenade.cpp
- [ 98/167] Compiling dlls/mortar.cpp
- [ 99/167] Compiling dlls/nodes.cpp
- [100/167] Compiling dlls/weapons.cpp
- [101/167] Compiling dlls/tempmonster.cpp
- [102/167] Compiling dlls/maprules.cpp
- [103/167] Compiling dlls/islave.cpp
- [104/167] Compiling dlls/bmodels.cpp
- [105/167] Compiling dlls/h_cycler.cpp
- [106/167] Compiling dlls/scripted.cpp
- [107/167] Compiling dlls/hassassin.cpp
- [108/167] Compiling dlls/barnacle.cpp
- [109/167] Compiling dlls/h_cine.cpp
- [110/167] Compiling dlls/animating.cpp
- [111/167] Compiling dlls/glock.cpp
- [112/167] Compiling dlls/rpg.cpp
- [113/167] Compiling dlls/gauss.cpp
- [114/167] Compiling dlls/lights.cpp
- [115/167] Compiling pm_shared/pm_math.c
- [116/167] Compiling dlls/func_tank.cpp
- [117/167] Compiling dlls/egon.cpp
- [118/167] Compiling dlls/xen.cpp
- [119/167] Compiling dlls/crowbar.cpp
- [120/167] Compiling dlls/controller.cpp
- [121/167] Compiling dlls/world.cpp
- [122/167] Compiling dlls/talkmonster.cpp
- [123/167] Compiling dlls/teamplay_gamerules.cpp
- [124/167] Compiling dlls/ichthyosaur.cpp
- [125/167] Compiling dlls/skill.cpp
- [126/167] Compiling dlls/headcrab.cpp
- [127/167] Compiling dlls/roach.cpp
- [128/167] Compiling dlls/barney.cpp
- [129/167] Compiling dlls/monsters.cpp
- [130/167] Compiling dlls/osprey.cpp
- [131/167] Compiling dlls/triggers.cpp
- [132/167] Compiling dlls/houndeye.cpp
- [133/167] Compiling dlls/sound.cpp
- [134/167] Compiling dlls/h_export.cpp
- [135/167] Compiling dlls/animation.cpp
- [136/167] Compiling dlls/ggrenade.cpp
- [137/167] Compiling dlls/nihilanth.cpp
- [138/167] Compiling dlls/flyingmonster.cpp
- [139/167] Compiling dlls/agrunt.cpp
- [140/167] Compiling dlls/doors.cpp
- [141/167] Compiling dlls/bullsquid.cpp
- [142/167] Compiling dlls/squadmonster.cpp
- [143/167] Compiling dlls/hgrunt.cpp
- [144/167] Compiling dlls/leech.cpp
- [145/167] Compiling dlls/player.cpp
- [146/167] Compiling dlls/spectator.cpp
- [147/167] Compiling dlls/h_ai.cpp
- [148/167] Compiling dlls/pathcorner.cpp
- [149/167] Compiling dlls/plats.cpp
- [150/167] Compiling dlls/squeakgrenade.cpp
- [151/167] Compiling dlls/healthkit.cpp
- [152/167] Compiling dlls/scientist.cpp
- [153/167] Compiling dlls/gamerules.cpp
- [154/167] Compiling dlls/effects.cpp
- [155/167] Compiling dlls/hornet.cpp
- [156/167] Compiling dlls/tripmine.cpp
- [157/167] Compiling dlls/airtank.cpp
- [158/167] Compiling dlls/bigmomma.cpp
- [159/167] Compiling dlls/h_battery.cpp
- [160/167] Compiling dlls/globals.cpp
- [161/167] Compiling dlls/gargantua.cpp
- [162/167] Compiling dlls/buttons.cpp
- [163/167] Compiling dlls/genericmonster.cpp
- [164/167] Compiling dlls/rat.cpp
- [165/167] Compiling dlls/func_break.cpp
- [166/167] Compiling dlls/schedule.cpp
- [167/167] Linking build/dlls/hl_armv8_32hf.so
- Waf: Leaving directory `/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk/build'
- 'build' finished successfully (5m59.682s)
- /home/pi/RetroPie-Setup
- /home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs /home/pi/RetroPie-Setup
- '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/game_launch/xash3d' -> '/opt/retropie/ports/xash3d-fwgs/xash3d'
- '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/engine/libxash.so' -> '/opt/retropie/ports/xash3d-fwgs/libxash.so'
- '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/mainui/libmenu.so' -> '/opt/retropie/ports/xash3d-fwgs/libmenu.so'
- '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/ref_soft/libref_soft.so' -> '/opt/retropie/ports/xash3d-fwgs/libref_soft.so'
- '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/xash3d-fwgs/build/ref_gl/libref_gl.so' -> '/opt/retropie/ports/xash3d-fwgs/libref_gl.so'
- '/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'
- '/home/pi/RetroPie-Setup/tmp/build/xash3d-fwgs/hlsdk/build/dlls/hl_armv8_32hf.so' -> '/opt/retropie/ports/xash3d-fwgs/hl_armv8_32hf.so'
- /home/pi/RetroPie-Setup
- /opt/retropie/ports/xash3d-fwgs /home/pi/RetroPie-Setup
- = = = = = = = = = = = = = = = = = = = = =
- Configuring 'xash3d-fwgs' : xash3d-fwgs - Half-Life Engine Port
- = = = = = = = = = = = = = = = = = = = = =
- /home/pi/RetroPie-Setup
- Log ended at: Thu 25 Mar 21:04:22 GMT 2021
- Total running time: 0 hours, 17 mins, 38 secs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement