Thanks for the quick response..<br>
<br>
it looks like if you forget to specify a return value the compile can hang forever (ie > 1 hour before i gave up).<br>
<br>
so something like this:<br>
<br>
static int blah(int foo, int bar)<br>
{<br>
  int baz = 10<br>
<br>
  while (baz)<br>
  {<br>
    baz--<br>
    if (something_else())<br>
      return 1;<br>
  }<br>
  // ACK!.. no return here<br>
}<br>
<br>
seems to cause things to break.<br>
<br><br><div><span class="gmail_quote">On 9/14/05, <b class="gmail_sendername">Li-Ta Lo</b> <<a href="mailto:ollie@lanl.gov">ollie@lanl.gov</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, 2005-09-14 at 10:14 -0700, San Mehat wrote:<br>> Hey all,<br>><br>> I've been making some modifications to the ck804 early smbus code and<br>> i'm noticin that romcc appears to be chewing seemingly forever.
<br>> Any ideas on how to diagnose this?<br>><br><br>I think you are running out of registers. If wait long enough, ROMCC<br>will complain not enough registers.<br><br>--<br>Li-Ta Lo <<a href="mailto:ollie@lanl.gov">
ollie@lanl.gov</a>><br>Los Alamos National Lab<br><br></blockquote></div><br>