s.huelswitt@gmx.de (Stefan Huelswitt) wrote:
Well, normaly NULL is defined as (void *)0, which is a pointer...
only in C. in C++ NULL == 0.
stddef.h:
#ifndef __cplusplus #define NULL ((void *)0) #else /* C++ */ #define NULL 0
As I don't have gcc 4.x running I need a confirmation from someone with gcc 4.x that this is still ok.
i don't think this definition has changed.
clemens