[pedevel] Re: Strange crash again

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: pedevel@xxxxxxxxxxxxx
  • Date: Sun, 09 May 2004 02:00:33 +0200

On 2004-05-08 at 23:02:09 [+0200], Rainer Riedl wrote:
> > Assure that all variables (especially class or struct) are explicitly
> > initialized.
> > Often the debug version will include initializing variables to zero, but 
> > the
> > nondebug version will omit, thus getting you random values in the 
> > variables.
> > One's code is not supposed to rely on the initial values but sometimes it
> > ends
> > up that it does. (in which case one ought to explicitly initialize to 
> > zero)
> I finally found out what happend. I had still switched to gnupro-20010413. I
> was told that this version has some bugs but I need it to get some packages
> compiled at all. So perhaps the interessing question is, is this a bug in 
> the
> newer gnupro or is it a bug in the pe code that is just luckily not 
> triggered
> with the original version.

In doubt I would attribute the problem to the broken compiler. Especially STL 
usage leads to almost certain crashes.

CU, Ingo

Other related posts: