1
0
forked from 0ad/0ad
0ad/source/lib/allocators/tests
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
..
test_adapters.h Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00
test_allocators.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
test_DynamicArena.h Fix renderer crash in GCC 7.5. 2021-01-06 14:56:17 +00:00