Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


- - - - -

Crash: class and array with initial size


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 fanwars   Members   -  Reputation: 1022

Like
0Likes
Like

Posted 10 March 2013 - 03:59 AM

There seems to be a small problem with arrays and classes when initializing with some initial size...
A bit modified version of TestArrayHandle() made the whole program crash:
class A{
A(){}
float[] cts(12);
};

void TestArrayHandle()
{
A aa;
//...
}
I'm using the latest version.

Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3416

Like
0Likes
Like

Posted 10 March 2013 - 09:50 AM

I'll look into this. Thanks.


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

#3 Andreas Jonsson   Moderators   -  Reputation: 3416

Like
0Likes
Like

Posted 10 March 2013 - 05:38 PM

I've fixed this problem in revision 1591. 

 

Regards,

Andreas


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS