Thanks for the quick response..

it looks like if you forget to specify a return value the compile can hang forever (ie > 1 hour before i gave up).

so something like this:

static int blah(int foo, int bar)
{
  int baz = 10

  while (baz)
  {
    baz--
    if (something_else())
      return 1;
  }
  // ACK!.. no return here
}

seems to cause things to break.


On 9/14/05, Li-Ta Lo <[EMAIL PROTECTED]> wrote:
On Wed, 2005-09-14 at 10:14 -0700, San Mehat wrote:
> Hey all,
>
> I've been making some modifications to the ck804 early smbus code and
> i'm noticin that romcc appears to be chewing seemingly forever.
> Any ideas on how to diagnose this?
>

I think you are running out of registers. If wait long enough, ROMCC
will complain not enough registers.

--
Li-Ta Lo < [EMAIL PROTECTED]>
Los Alamos National Lab


-- 
LinuxBIOS mailing list
[email protected]
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to