Date: Wed, 25 Mar 1998 17:31:52 +0300 (IDT) From: Eli Zaretskii To: "Salvador Eduardo Tropea (SET)" , DJ Delorie cc: Peter Palotas , djgpp-workers AT delorie DOT com Subject: Re: NULL redefined! :( In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 25 Mar 1998, Salvador Eduardo Tropea (SET) wrote: > 1) __null exists only in C++ so __cplusplus is needed. > 2) Is equivalent to 0, that's: > > a) char *foo=0; then (foo==0) is true. > b) passing foo to a C module and making (foo==0) in the C code works OK. Thanks for checking this. DJ, given these results, where exactly do we risk to break ANSI C programs with the following in : #ifdef __cplusplus #define NULL __null #else #define NULL 0 #endif