0ad/source/lib/allocators
wraitii 8ae3c09dc0 Fix renderer crash in GCC 7.5.
The 'arena' allocator does not take memory alignment into account, which
can result in crashes at -O3 with gcc 7.5 (presumably because of SSE
instructions).

This accounts for alignment issues, fixing the issue.
Also do various cleanup in lib/allocators.

Reported by: Bellaz89, Freagarach
Comments by: vladislavbelov
Differential Revision: https://code.wildfiregames.com/D3181
This was SVN commit r24517.
2021-01-06 14:56:17 +00:00
..
tests Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00
allocator_checker.h Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
allocator_policies.h Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00
DynamicArena.h Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00
dynarray.cpp Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
dynarray.h Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
freelist.cpp Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
freelist.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
overrun_protector.h Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
page_aligned.cpp Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
page_aligned.h Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
pool.cpp Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00
pool.h Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
shared_ptr.cpp Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
shared_ptr.h Make all Wildfire Games copyright headers consistent by always ending with a period and using (C) instead of (c). 2017-07-10 14:26:24 +00:00
stateless_allocators.h Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00
STLAllocators.h Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00