"Kelsey Bjarnason" wrote in message
news

r4jv7-...
>You've essentially lied to the compiler;
There is no such thing as "lying to the compiler" in ISO C.
> telling it (where main calls
>foo) that the value will not - indeed cannot - be modified, but then you
>modify it.
The meaning of "const" in ISO C is not defined by the English
word "constant" but only by the standard. The wording of
the standard does not support your claim.
Really, this next group has become almost useless. A few years
ago Richard Heathfield, Dan Pop, Lawrence Kirby, and
if necessary Steve Summit himself would have all agreed on what
the standard says, and thus the question would have been solved
with final authority.
I am sure that I am right, but of course so you are. This group
no longer has the necesary amount of universally respected,
active (and aggressive) C experts to decide such questions.
That we are still arguing about this is the proof.
c.l.c. with it's strict definition of what's on topic (i.e. if it's not
in the standard it's off-topic here) used to be good for exactly
one thing: answering questions like this with final authority.
Now that this trait is gone this group might as well disband.
Really, I don't come here for endless internet debates with
random nobodys (such as yourself) whose opinion is about
as relevant as my own.
Next time I will just try to figure out what the standard
says myself and don't even bother with this group. Such
endless arguing is just a waste of time.