From: Kenn Humborg (kenn at domain linux.ie)
Date: Thu 11 May 2000 - 10:10:38 IST
On Thu, May 11, 2000 at 08:47:55AM +0000, Caolan McNamara wrote:
> Yes there is a subtle gotcha, but it only matters with setting null
> pointers with the bitpattern of 0 rather than the logical 0 which is
> translated to non 0 bit patterns by the compiler on certain platforms.
> http://www.eskimo.com/~scs/C-faq/q7.31.html
> http://www.eskimo.com/~scs/C-faq/s5.html
>
> Though to be honest the machines with non 0 null pointers are obscurce
> enough that I'll never see them and probably nothing will work compile
> anyway.
So those machines wouldn't support C++ then. The C++ standard now
specifies that NULL is 0, not (void *)0.
Although I can't figure out why they did *that*...
Later,
Kenn
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:06 GMT