Hi Pelle,
I also got that compiler error and could reduce it to the following example code:
#include <stdbool.h>
void f1(bool x)
{
// Do nothing
}
// Compiler (V6.50) generates error code:1 -> "bug_demo.c(9): fatal error: Internal error: get_rule()."
void f2(int i)
{
f1( i );
}
A cast f1( (bool)i ) doesn't help. It has to be written f1( i ? true : false ) to avoid the error.
BTW: I use Windows Vista (if that matters).
Kindly regards,
Andreas