On Sun, 2006-05-07 at 10:32 +0000, Stefan Huelswitt wrote:
If NULL == 0 for C++ it should make no difference, but gcc4 complains with 0 but not with NULL. So there is a differnce.
I think it has something to do with integers vs pointers and 64-bit archs. Some info eg. here: http://www.linuxonly.nl/docs/sentinel/ . g++ 4.1.0 complains about use of 0 as the sentinel on both i386 and x86_64 here though, and using NULL on neither.