Re: NULL macro

2009-01-21 Thread Simon Josefsson
Bruno Haible writes: > Peter Seebach and Simon Josefsson wrote: >> > Note that NULL could >> > be the same, or it could be already converted to (void *), so it depends on >> > the implementation whether: >> > >> >printf("%p\n", NULL); >> > >> > is legit. (Which means it's not portable...) >>

Re: NULL macro

2009-01-21 Thread Bruno Haible
Peter Seebach and Simon Josefsson wrote: > > Note that NULL could > > be the same, or it could be already converted to (void *), so it depends on > > the implementation whether: > > > > printf("%p\n", NULL); > > > > is legit. (Which means it's not portable...) > > Indeed, and a quite realisti