IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Ionic Wind Support Team on February 27, 2006, 09:31:43 AM

Title: Nasty bug with NEW found
Post by: Ionic Wind Support Team on February 27, 2006, 09:31:43 AM
A bug with the NEW operator was found that will be fixed in Alpha 2 Rev 8.

If you had a typedef such as

#typedef CHAR unsigned byte

And then allocated an array of that type

p = new(CHAR, 500);

The compiler was calculating the wrong size for the aliased type.  The size would be random causing phantom crashes.

There will be an update this evening that address the problem