delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/22/20:16:09

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: NULL redefined! :(
Date: Sun, 22 Mar 1998 20:04:41 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 16
Message-ID: <3515B529.5634@cs.com>
References: <3 DOT 0 DOT 16 DOT 19980322131142 DOT 47cf61a8 AT hem1 DOT passagen DOT se>
NNTP-Posting-Host: ppp238.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Peter Palotas wrote:
> 
> It seems as the c-library and the C++ library isn't fully compatible or
> something (as of version 2.8.0)... When including <algo.h> or <stack.h> in
> my C++ files I get warnings about NULL being redefined in stdlib.h, and
> string.h ...

Try including those headers _after_ stdlib.h and string.h.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "Animals can be driven crazy by pla- |
|       aka Fighteer I       | cing too many in too small a pen.    |
|   mailto:fighteer AT cs DOT com   | Homo sapiens is the only animal that |
| http://www.cs.com/fighteer | voluntarily does this to himself."   |
---------------------------------------------------------------------

- Raw text -


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