On 26.05.2012 03:39, Mehrdad wrote:
On Friday, 25 May 2012 at 06:50:22 UTC, Don Clugston wrote:
This is important for repeatability: if it was permitted, the results
would be arbitrary and might vary unpredictably with subtle changes in
the code, or change between compiler releases.
Wait, what?
Pointer semantics are well-defined... what's wrong with comparing two
unrelated pointers?
Actually it isn't well-defined in C. You can compare unrelated pointers
for equality, but can't compare their ordering.
(I think this is because of the segmented architecture in 16 bit DOS).