From: Ted Larsson Newsgroups: comp.os.msdos.djgpp Subject: Trouble when upgrading to gcc 2.8.1 Date: Tue, 18 Aug 1998 23:53:50 +0200 Organization: Chalmers University of Technology, Sweden Lines: 31 Message-ID: <35D9F7ED.AC0455EE@dd.chalmers.se> NNTP-Posting-Host: dynamic-200-106.dialup.chalmers.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hello! I upgraded from 2.7.2.1 to 2.8.1 some time ago. I've seen a lot of questions about this in the newsgroup, people having trouble just because they hadn't read the FAQ/readme files (maybe that's my problem too, I hope not). Anyway, I downloaded gcc281b.zip, gpp281b.zip and lgp2811.zip. Then I read the above mentioned files, and deleted some files before unzipping, as suggested. The deleted files are: cc1.exe, cc1plus.exe, cpp.exe, gcc.exe, gxx.exe from the bin directory, and djgpp.djl, specs and libstcx.a from the lib directory. Is this all? Have I missed something? Programs seem to compile & link all right, but I have noticed a few minor things: * The compiler no longer recognizes the word NULL; gives an error message. Why? * I have made a linked-list template class and a test program for it. Stepping through the list (double-linked) only works in one direction when compiled with DJGPP, but in both dirs with VC++ 4.2. (I take that as this part of the program is correct, and something is wrong with DJGPP...). What should I do? Reinstall everything? Thanks for your time, /Ted