Re: casting



On Sat, 10 Jun 2006 08:19:35 +0000, Richard Heathfield
<invalid@xxxxxxxxxxxxxxx> wrote:

jaysome said:

<snip>

So what you're saying is that the consequences of "implementation
defined behaviour" could be the same as the consequences of "undefined
behaviour"?

If that were the case, and I'm not saying that it is or isn't,
shouldn't we expect some hard-core pedantics to start telling us that
use of "implementation defined behaviou" could lead to formatting of
our hard drives?

It *can*. And in some cases it does.

The difference is that, for implementation-defined behaviour, the
implementation is required to *document* this effect. If you want to format
your drive, such a feature can be extremely useful, n'est-ce-pas?

But it still leaves me uneasy about investing in
HowToEasilyFormatYourHardDrive.com. I've lost a lot of money on other
ventures, so maybe I'll take your advice on this one. Put me down for
$500.00.

--
jay
.



Relevant Pages

  • Re: casting
    ... If that were the case, and I'm not saying that it is or isn't, ... use of "implementation defined behaviou" could lead to formatting of ... our hard drives? ...
    (comp.lang.c)
  • Re: casting
    ... If that were the case, and I'm not saying that it is or isn't, ... use of "implementation defined behaviou" could lead to formatting of ... our hard drives? ... These terms are all defined in section 3 of the standard. ...
    (comp.lang.c)
  • Re: AS/400 savsys on 1gb or 2gb QIC needed for Model 436
    ... So are you saying that I cannot do a scratch install of V4R3M0? ... after formatting the hard drives? ...
    (comp.sys.ibm.as400.misc)
  • Re: ZZ Top
    ... With Billy Gibbons playing that odd new ... guitar he uses now: ... You can boot your system from the CD and clone your hard drives ...
    (alt.guitar.amps)
  • Re: starting into H&S
    ... If you meant print the command as entered by the user, that is not, in general, possible. ... You can, of course, format your source however you want, but I'm not going to bother reading it when the formatting is that nasty. ... It stays the same until the program changes it, and if the program needs the old value then the programmer has to make sure it will still be available. ...
    (comp.lang.c)