Mail Archives: djgpp-workers/1998/03/25/09:31:46
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 <stddef.h>:
#ifdef __cplusplus
#define NULL __null
#else
#define NULL 0
#endif
- Raw text -