Mail Archives: djgpp/1995/07/11/02:06:15
grotheer AT PROBLEM_WITH_INEWS_DOMAIN_FILE (Olaf Grotheer) writes:
> I have written a bit of source code that will cause the compiler to die
> with a message "Segmentation violation in pointer 0x00000009 at d8:585a9",
> when I try gcc -c test.cpp -o test.o
> [snip]
> I get this kind of crash quite regularly. The only way I have of locating an
> error of this kind is quite cubersome: I comment out parts of my code in order
> to figure out which line is offensive...
To make GCC diagnostics better, invoke it with -Wall switch.
> difference, I got a 486 and use MS-DOS. My version of DJGPP is
> djdev112, bnu24, gas23, gpp260, lgp260, gcc260
GCC 2.6.0 is known to die on incorrect C++ source files. Get and install the
latest DJGPP version which includes GCC 2.6.3.
- Raw text -