9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] porting help please
@ 2009-09-08 15:44 Fernan Bolando
  2009-09-09  8:36 ` Greg Comeau
  2009-09-09  8:36 ` Greg Comeau
  0 siblings, 2 replies; 3+ messages in thread
From: Fernan Bolando @ 2009-09-08 15:44 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-09-09  8:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-08 15:44 [9fans] porting help please Fernan Bolando
2009-09-09  8:36 ` Greg Comeau
2009-09-09  8:36 ` Greg Comeau

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).