From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 16 Apr 1999 13:30:58 -0400 From: rob@plan9.bell-labs.com rob@plan9.bell-labs.com Subject: [9fans] new german book about plan9 Topicbox-Message-UUID: 945ac48a-eac8-11e9-9e20-41e7f4b1d025 Content-Type: text/plain; charset=UTF-8 Message-ID: <19990416173058.c1TEYnQSFGS9H-MiYUhgo_mzhOe9blewinAedBShf4w@z> 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