[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: definition of NULL correct?
>> I don't see why. Plenty of expressions - mostly involving casts -
>> become syntax errors when you tack a "sizeof" on in front of them.
>> I don't see anything prohibiting "NULL" from being another.
Actually, since then, I have seen such a thing.
(mentioned upthread), 2.1.2, item 1, quite clearly requires the extra
parens, so if that's anything we want to conform to....
>> (especially since I believe NULL should never be used)
> Should I ask why or is that borrowing trouble?
Depends on the extent to which you agree with me. :)
ftp.rodents-montreal.org:/mouse/NULL-considered-harmful (also available
over http, if you prefer) lays out my thinking on the matter.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Main Index |
Thread Index |