From: Fernan Bolando <fernanbolando@mailc.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] porting help please
Date: Tue, 8 Sep 2009 23:44:36 +0800 [thread overview]
Message-ID: <1d5d51400909080844q1bee4c3s114ccc5e51ce52f5@mail.gmail.com> (raw)
Hi all
I know it's cheating, but can anybody help me fix an initializer is
not constant error from pcc
error: initializer is not a constant: F0_Prelude_46primLeave
--h file ---
#define VAP_TAG 1
#define WORDSHIFT 5
#define WORDSIZE (1<<WORDSHIFT)
#define WORDMASK (WORDSIZE-1)
#define NS (WORDSIZE>>3)
#define ZAP_BIT (1L<<(WORDSIZE-1))
----
-- c file ----
unsigned F0_Prelude_46primLeave[] = {
CAPTAG(FN_Prelude_46primLeave,1)
#ifdef PROFILE
, useLabel(PROF_primLeave)
, 0
, 0
, 0
#endif
----
--
http://www.fernski.com
next reply other threads:[~2009-09-08 15:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-08 15:44 Fernan Bolando [this message]
2009-09-09 8:36 ` Greg Comeau
2009-09-09 8:36 ` Greg Comeau
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=1d5d51400909080844q1bee4c3s114ccc5e51ce52f5@mail.gmail.com \
--to=fernanbolando@mailc.net \
--cc=9fans@9fans.net \
/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).