Skip to contentSkip to conversation

C undefined behavior fix

PATCH [email protected] 1 participant 1 message Jan 4, 2002

lore
Share & tools
lore
#0 lore raw

<<But this is not the memory model of C! Adding an offset to a pointer is an operation involving objects defined by the C language, and not machine registers. Sometimes, this makes a noticeable difference.

Quoted 1 line
Quoted 1 line

Indeed Alex Stepanov notes that Ada unlike C, *does* have general pointer arithmetic, assuming a linear address space, and finds the lack of this in C a problem :-) :-)