Mail Archives: djgpp/1994/10/21/00:04:42
I just moved from C to C++ and I've been getting a lot of compiler
crashes. I remember people talking about this before, but I had thought
it was fixed in the new release. Anyway, I'm getting two kinds of
crashes: infinite recursion (I guess - I get a neverending stack trace
when I ^C) and segmentation violation. I've found out what causes the
infinite recursion (so far it seems to happen when I declare a class
constructor that takes the same class as its argument and I don't make
the argument a reference variable), but I don't know what causes the
segmentation violation. This is really annoying if I'm trying to _fix_
the bug that _caused_ it - I don't know what/where the bug is! :(
So, if there's a fix for this problem please tell me what it is,
otherwise please let me know what it is that will cause CC1PLUS.EXE to
segmentation fault.
Thankee. :)
Kim
- Raw text -