Fwiw, the bugs in 6c and 8c where the cast fails was fixed in 9front with https://code.9front.org/hg/plan9front/rev/7cf7079502a7
On Thu, Aug 2, 2018 at 5:38 AM, Charles Forsyth <[email protected]> wrote: > Oh. I meant that I'd fix it. > > On Thu, 2 Aug 2018 at 01:29, Bakul Shah <[email protected]> wrote: >> >> On Aug 1, 2018, at 4:35 PM, Charles Forsyth <[email protected]> >> wrote: >> >> > even so, the format and intention of the example seems practical (with >> > the correct cast to uintptr) and "An implementation may accept other forms >> > of constant expressions". >> > it should be fairly easy to add as an extension with consistent handling >> > across ?c. >> >> Both gcc and clang handle this case. This example was derived from >> ObjectIcon (it works on plan9/x86 & unix systems but not on plan9/arm). >> >> I am not familiar with the C compiler sources but will take a look. >> >> Thanks for your response.
