Having added a new struct of particles & created an array of these via NEW
No errors on PC VC6 build only PPC ARM release build. (trying to get a full debug version working but have a release version with debug info currentlyas PF is not playing ball)
Question 1:- Does NEW use stack or heap & if heap how do I know if this has enough space. I've changed project link settings but error still happens. nb: I made stack allocation much bigger to no avail & I can still get error even with a few particles so it may be allignment & not allocation.
Question 2:- How / where do I force allignment. I saw a Pragma command but no example.
thanks in advance
- Code:
particles = new particle_data[MAX_PARTICLE];//up to MAX_PARTICLE active bullets etc
No errors on PC VC6 build only PPC ARM release build. (trying to get a full debug version working but have a release version with debug info currentlyas PF is not playing ball)
Question 1:- Does NEW use stack or heap & if heap how do I know if this has enough space. I've changed project link settings but error still happens. nb: I made stack allocation much bigger to no avail & I can still get error even with a few particles so it may be allignment & not allocation.
Question 2:- How / where do I force allignment. I saw a Pragma command but no example.
thanks in advance