Help with Compilation

I’m trying to compile a kernel and I am receiving the following error:

1>### Assertion failure at line 1426 of …/…/be/cg/cgemit.cxx:

1>### Compiler Error in file c:/windows/temp/tmp_00000804-2.i during Assembly phase:

1>### operand 0 is not a register

Is there anyway to identify the offending code?

This very incomplete pseudo-code demostrates my dilema:

// this code compiles fine

A a;

a.Init();

a.IsAtEnd();

a.NextBlock();

// this code generates the error

A a;

a.Init();

for(; a.IsAtEnd(); a.NextBlock())

{

}

The code is built in release mode with optimizations turned off.

I’m compiling on windows with the latest sdk. If need be I can come up with a stripped down version that compiles and demostrates the problem.

Thanks,

george

Skip it. My problems have to do with me trying to code in a c++ manner. I’ve refactored the code to compile.

-george