0ad/source
Ykkrosh 85e2e72eb7 Fix TestHeaderless failure on GCC 4.9.
Once 'delete' is called on an object, that object no longer exists, and
accessing its member variables is undefined behaviour. GCC 4.9's
optimiser recognises this, and eliminates any writes to member variables
inside the destructor, since it knows they cannot legally be read later.

BoundaryTagManager relied on ~FreedBlock resetting its memory to 0, so
this optimisation broke it. Replace the placement new/delete with plain
non-magic Setup/Reset functions, to avoid the optimisation.

Fixes #2481.

This was SVN commit r15334.
2014-06-11 19:50:38 +00:00
..
collada Fix VS2013 build errors, warnings 2013-11-03 12:46:07 +00:00
graphics Give RMS access to the simulation templates. Fixes #1589. Patch by Itms. 2014-06-07 12:12:53 +00:00
gui Improve gui moddability by allowing to load an entire directory of scripts at once, and being able to split up big gui XML files. Fixes #2622 2014-06-11 17:14:35 +00:00
i18n Fixes a few building warnings and convention issues from 19ca1e3ebf 2014-05-07 23:33:21 +00:00
lib Fix TestHeaderless failure on GCC 4.9. 2014-06-11 19:50:38 +00:00
lobby Bump lobby version string. 2014-05-25 03:21:32 +00:00
maths Add BoundingSphere, SOverlaySphere. 2014-06-01 18:05:46 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Support newer version of miniupnpc api. Refs #2552. 2014-05-19 21:01:06 +00:00
pch Sacrifices a goat to the gods of insanity. 2014-04-24 20:05:48 +00:00
ps Changes XMB format to store UTF-8 strings and removes pointless UTF-16 conversions, refs #204, #244. 2014-06-08 03:23:37 +00:00
renderer Add BoundingSphere, SOverlaySphere. 2014-06-01 18:05:46 +00:00
scriptinterface Reenable JS warnings that were disabled in db0376fdc2. 2014-05-18 13:25:08 +00:00
simulation2 Give gaia back it's vision. 2014-06-11 18:20:02 +00:00
soundmanager Fixes rare crash in sound manager, due to worker thread dereferencing global pointer before it had been assigned. Fixes #2333, refs #2387, #2317. 2014-06-02 02:09:58 +00:00
third_party Add plural forms for Gaelic. Fixes #2575. 2014-05-20 17:11:47 +00:00
tools New unit renderer. 2014-06-01 18:24:50 +00:00
contributors.txt Ticket #2127 - Performance and style improvements in scriptinterface. 2013-09-16 19:10:06 +00:00
main.cpp Move XMPP polling to the mainloop. Should reduce lobby disconnects. Fixes #2491 2014-04-27 05:37:34 +00:00
test_setup.cpp Changes tests to use global g_ScriptRuntime instead of creating a new JSRuntime for each test. 2014-04-25 21:19:51 +00:00