Gabriel Dos Reis wrote:

C and C++ are general programming language geared toward system
programming.

Yes, and my two examples are completely consistent with that. A C
compiler that uses the trapping arithmetic on the MIPS is entirely
conforming, and has the advantage that if you develop with such a
compiler you avoid silly mistakes of expecting signed integers to
wrap, so your code will be more portable.

"has the semantics that Gabriel Dos Reis wants" is not an evaluable
predicate!

Reply via email to