9fans archive / 1999 / 04 / 12 / prev next
From: rob@pla... rob@pla...
Subject: [9fans] new german book about plan9
Date: Fri, 16 Apr 1999 13:30:58 -0400
There is a section in the French introduction wondering why something like
print("%c\n", 'รป');
can work. It is indeed a little surprising, but in any case we
recently changed the compiler to warn not only when a character
constant overflows, but also if it turns on a sign bit (that is, if it
overflows one bit sooner). This program now draws a warning. It also
still works....
-rob