P
pete
In another forum I'm arguing against an outlandish claim: that
modifying a variable marked as const in a C source file generates a
run-time error because it is (as is claimed) undefined behavior.
The other guy's reference is n1570, ( http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
) section 6.7.3.
That section does indeed seem to support his argument. Horrifying!
So I ask you, sisters and brothers, what IS this n1570? And does it
have any force of law?
Thanks!
modifying a variable marked as const in a C source file generates a
run-time error because it is (as is claimed) undefined behavior.
The other guy's reference is n1570, ( http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
) section 6.7.3.
That section does indeed seem to support his argument. Horrifying!
So I ask you, sisters and brothers, what IS this n1570? And does it
have any force of law?
Thanks!