Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | "J. J. Farrell" <jjf@bcs.org.uk> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: what is n1570? |
| Date | 2011-06-29 23:32 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <iug95r$ujp$1@dont-email.me> (permalink) |
| References | <5903d461-260f-4d81-a120-e0d787c3c0f1@z7g2000prh.googlegroups.com> |
pete wrote: > > 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. It may or may not generate a run-time error, but it certainly causes undefined behaviour. Why would writing to a variable which has been declared to be read-only do anything else? > 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! What is horrifying about it? > So I ask you, sisters and brothers, what IS this n1570? It's a draft of the next C Standard, as is pretty obvious from its front page. > And does it have any force of law? Not of itself.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
what is n1570? pete <pete@pwilson.net> - 2011-06-29 08:24 -0700
Re: what is n1570? Noob <root@127.0.0.1> - 2011-06-29 18:08 +0200
Re: what is n1570? Shao Miller <sha0.miller@gmail.com> - 2011-06-29 12:29 -0400
Re: what is n1570? Keith Thompson <kst-u@mib.org> - 2011-06-29 10:26 -0700
Re: what is n1570? Seebs <usenet-nospam@seebs.net> - 2011-06-29 17:46 +0000
Re: what is n1570? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2011-06-29 14:37 -0600
Re: what is n1570? Seebs <usenet-nospam@seebs.net> - 2011-06-29 21:15 +0000
Re: what is n1570? Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2011-06-29 20:39 -0600
Re: what is n1570? Seebs <usenet-nospam@seebs.net> - 2011-06-30 14:52 +0000
Re: what is n1570? pete <pete@pwilson.net> - 2011-07-01 12:43 -0700
Re: what is n1570? Lauri Alanko <la@iki.fi> - 2011-07-01 19:50 +0000
Re: what is n1570? Keith Thompson <kst-u@mib.org> - 2011-07-01 13:23 -0700
Re: what is n1570? "J. J. Farrell" <jjf@bcs.org.uk> - 2011-06-29 23:32 +0100
Re: what is n1570? Keith Thompson <kst-u@mib.org> - 2011-06-29 16:55 -0700
csiph-web