unknow file type: Result too large

Jul 12, 2009 at 8:01pm
hi
I have big program (*.exe have 2.5MB).
and sudenly I start geting an error.
1
2
3
4
5
try{
 //...
}catch(const char* e){
  perror(e);
}

give the message:
unknown file type: Result too large
I try search google for "unknown file type c++" but find nothing.
I'm running at codeblock and windows vista 64bit.
I can not even find place where exactly error apperar, when I remove try catch debuger print:
1
2
Program exited with code 03.
Debugger finished with status 0

and exit :( .

I have 2GB of RAM and using only 1GB, so it seem that there is place in memory for use.

Is there a way to find out what is wrong, where is the bug ?

What that error realy meaning ?

PS. sorry for my poor english.
Jul 13, 2009 at 3:49am
Which compiler are you using?
Jul 13, 2009 at 4:21am
tdm-mingw-1.902.0-f1
gcc-4.4.0-tdm-1

but the same results are with
standard mingw added to codeblock:
gcc-g++-3.4.5-20060117-1-vista.tar.gz
Jul 14, 2009 at 3:57pm
help!!!
Jul 14, 2009 at 4:33pm
Try to figure out what threw the error then...I guess you are just going to have to step through a bunch of code.
Jul 15, 2009 at 4:31am
 
player= new Player();

that throw an error
1
2
3
4
5
6
Player::Player():
 item(), // stop here
 //... program do not came here
{
  //.... program do not came here
}

item is type Array<Item*> but it do not came to Array<K>::Array() at all.
Last edited on Jul 16, 2009 at 4:46am
Topic archived. No new replies allowed.