From: ams AT ludd DOT luth DOT se (Martin Str|mberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: Trouble when upgrading to gcc 2.8.1 Date: 20 Aug 1998 17:18:06 GMT Organization: University of Lulea, Sweden Lines: 35 Message-ID: <6rhloe$l8e$4@news.luth.se> References: <35D9F7ED DOT AC0455EE AT dd DOT chalmers DOT se> <6rd88r$jbr$5 AT news DOT luth DOT se> <35DBE03C DOT D0F3DD8E AT dd DOT chalmers DOT se> NNTP-Posting-Host: queeg.ludd.luth.se To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ted Larsson (f93tela AT dd DOT chalmers DOT se) wrote: : Martin Str|mberg wrote: : > : > Ted Larsson (f93tela AT dd DOT chalmers DOT se) wrote: : > : * The compiler no longer recognizes the word NULL; gives an error : > : message. Why? : > : > Eh! Are you sure you have included the right header files? : : No, I didn't include any files... didn't need to with the old version. : What file(s) should I include? Where can I read about other changes : between 2.7.2.1 and 2.8.1? Hmm, just grep for NULL in djgpp/include. Probably stdlib.h is a good choice. Look at the info for libc's malloc; it probably says there which header file you'll need. I'm not on my DJGPP system now, so I can't be exact. As for changes between 2.7.2.1 and 2.8.1, I don't know but the CHANGELOG and perhaps other readme files in the sources can tell you? Anyone else have an idea? : By the way, I haven't really figured out the gdb debugger. I really like : the VC++ debugger, so I wonder, can I get gdb to display debugging info : in a similar manner? Links to any tutorials? I don't know how that debugger looks, but you could try fsdb, edebug32 and rhide and see if those suit you better. Link to any tutorials for gdb? Have you read the info pages? Cocteau Twins, Blue Bell Knoll, MartinS