delorie.com/archives/browse.cgi | search |
> From: rpolzer AT web DOT de (Rudolf Polzer) > Newsgroups: comp.os.msdos.djgpp > Date: Sat, 27 Jan 2001 11:29:17 +0100 > > But I just also tested a simple test program: > > void main() > { > char *p = 0; > *p = 'X'; > } > > which compiles (with a warning about main being void) and crashes with a > SIGSEGV at the correct address. I see a GPF, but this is still enough > information because of the correct line numbers. What correct address? What exactly does this program print on Windows? Please post the entire crash message.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |