delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/06/29/02:00:10

Date: Mon, 29 Jun 1998 01:07:45 -0400 (EDT)
Message-Id: <199806290507.BAA29783@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
Subject: NULL and C++ headers

Note that the alpha has the "#undef NULL" workaround (NOT A FIX) for
the C++ NULL/__null issue.  This is temporary, to solicit feedback.
If left in, I'd like to do something like this:

#ifdef NULL
#if NULL .ne. "0"  /* don't know how yet */
#warn Your program defined NULL to something unexpected
#warn DJGPP's stdio.h has set NULL back to what it should be
#endif
#undef NULL
#endif
#define NULL ...

- Raw text -


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