setjmp/longjmp

Doug Gwyn gwyn at smoke.BRL.MIL
Tue May 2 15:32:12 AEST 1989


In article <10203 at socslgw.csl.sony.JUNET> diamond at csl.sony.junet (Norman Diamond) writes:
>Perhaps the marketplace should be encouraged to support this pseudo-standard.
>If customers refuse to buy compilers with misfeatures, even if the compilers
>are compliant, correct results can be obtained.

Please get with the program.  The main reason a C standard was developed
was precisely because of this kind of "every vendor decide for himself"
approach to implementing C, which made portable programming excessively
difficult.  The are sound reasons for virtually every specification in
the forthcoming C standard, and most "why" questions are addressed by the
accompanying Rationale document.  Even if an implementer personally
disagrees with the rationale (and nearly everybody will probably find
some particular point he thinks should have been specified differently),
so long as the specification is unambiguous you do your customers no
favor by deviating from it.  You will probably also lose sales when your
compiler fails standard conformance tests.



More information about the Comp.std.c mailing list