delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/18/22:00:29

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: 19 Aug 1998 01:03:23 GMT
Organization: University of Lulea, Sweden
Lines: 21
Message-ID: <6rd88r$jbr$5@news.luth.se>
References: <35D9F7ED DOT AC0455EE 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

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?

: *  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?

Your program is probably incorrect as pointers (and probably doubly
linked lists) are working fine for a lot of other people.
Post some compilable code that exhibits this behaviour and why it's
wrong and somebody can probably point at your error.


Sallinen, Some Aspects of Peltroniemi Hintrik's Funeral March,

							MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019