From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <1327f5027eaa9481a13e08f02cae8327@proxima.alt.za> Date: Wed, 14 Dec 2011 09:20:26 +0000 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=00151747c0eed4d95204b409e0ac Subject: Re: [9fans] C compiler error? Topicbox-Message-UUID: 4f01d8b0-ead7-11e9-9d60-3106f5b1d025 --00151747c0eed4d95204b409e0ac Content-Type: text/plain; charset=UTF-8 > Is Anthony's CL to be abandoned in favour of the change to the Plan 9 C compiler (give or take the other nit of a "static" definition)? see my earlier remark: "it's reasonable to use any integer type in a switch, although the compilers don't currently support it. it's compatible with the standard, which allows any integer type. *i'd cancel the change request and work round it* (eg, add a cast) until the compilers can be changed to support it." Instead of making a small patch to the Go file locally, you could also apply Russ's change locally to 8c, which might be easier. That change will keep you going, but it doesn't look like a good one as it stands to apply to the full compiler suite. As my remark above suggests, the compiler suite should, however, support using any integer type in a switch. --00151747c0eed4d95204b409e0ac Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable >=C2=A0=C2=A0Is Anthony's CL to be abandoned in= =C2=A0favour of the change to the Plan 9 C compil= er (give or take the other=C2=A0nit of a "st= atic" definition)?

see my earlier remark:

"it's reasonable to = use any integer type in a switch, although the compilers don't currentl= y support it.
it's compatible with the standard, which allows any integer type. *i= 9;d cancel the change request and work round it* (eg, add a cast) until
the compilers can be changed to support it."

Instead of making a small patch to the Go file locally, you could also app= ly Russ's change locally to 8c, which might be easier.
That c= hange will keep you going, but it doesn't look like a good one as it st= ands to apply to the full compiler suite.
As my remark above suggests, the compiler suite should, however, suppo= rt using any integer type in a switch.

--00151747c0eed4d95204b409e0ac--