9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Noah Evans <noah.evans@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Cc: lucio@proxima.alt.za
Subject: Re: [9fans] C compiler error?
Date: Tue, 13 Dec 2011 14:52:03 +0100	[thread overview]
Message-ID: <CAJVRB2XJ2KOC1sGd+Tb3a-3ZL7Jan9OEKH+oEWWTnutQ3M-cxg@mail.gmail.com> (raw)
In-Reply-To: <b4a32963cb60beb0953df22f90d2b1ae@chula.quanstro.net>

Erik, are you looking at the tip? IIRC the webpage points to a stable
version not the tip.

Noah



On Tue, Dec 13, 2011 at 2:36 PM, erik quanstrom <quanstro@quanstro.net> wrote:
> On Tue Dec 13 07:43:08 EST 2011, lucio@proxima.alt.za wrote:
>> New features in Go require a new function in the reflect.c module
>> (src/cmd/gc/reflect.c).  The C compiler (8c, in this case) reports an
>> error which does not seem to apply:
>>
>> 8c -I/go/include -I/go/386/include -FTVw ../gc/reflect.c
>> ../gc/reflect.c:987 switch expression must be integer
>>
>> This is a bit of a stumbling block.  I'm hoping there's someone on
>> this mailing list that can address this problem quicker than it would
>> be possible for me.  More details off line.
>
> i don't see 987 lines in reflect.c.  from http://golang.org/src/cmd/gc/reflect.c,
> i only see 939.
>
> in any event, it's likely that your switch type is a uvlong.  8c doesn't allow
> that.
>
> - erik
>



  reply	other threads:[~2011-12-13 13:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-13 12:42 Lucio De Re
2011-12-13 13:36 ` erik quanstrom
2011-12-13 13:52   ` Noah Evans [this message]
     [not found]   ` <CAJVRB2XJ2KOC1sGd+Tb3a-3ZL7Jan9OEKH+oEWWTnutQ3M-cxg@mail.gmail.c>
2011-12-13 13:55     ` erik quanstrom
2011-12-13 14:07       ` yy
2011-12-13 22:38         ` Charles Forsyth
2011-12-13 23:01           ` Russ Cox
2011-12-14  4:05             ` Lucio De Re
2011-12-14  4:08               ` Lucio De Re
2011-12-14  4:19               ` Russ Cox
2011-12-14  9:20                 ` Charles Forsyth
2011-12-14 10:10                   ` Anthony Martin
2011-12-14 10:29                     ` Charles Forsyth
2011-12-14 10:34                       ` Charles Forsyth
2011-12-15  2:59                       ` Anthony Martin
2011-12-15  9:02                         ` Charles Forsyth
2011-12-13 13:57 ` Anthony Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJVRB2XJ2KOC1sGd+Tb3a-3ZL7Jan9OEKH+oEWWTnutQ3M-cxg@mail.gmail.com \
    --to=noah.evans@gmail.com \
    --cc=9fans@9fans.net \
    --cc=lucio@proxima.alt.za \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).