Re: Cannot find source of undefined identifier

From: John Harrison (
Date: 03/30/04

Date: Tue, 30 Mar 2004 20:38:53 +0100

"John Carson" <> wrote in message
> "Dave" <> wrote in message
> >
> > Actually, I get the error on VC++ 7.1 (that is my platform). And I
> > had noted it on Comeau as well...
> Compiles fine for me on VC++7.1.

Compiles if you have Disable Language Extensions turned off, not if you have
it turned on.

I also have no real idea of the cause, something to do with the lookup of
dependent names I guess. I know this stuff is real tricky and I try not to
think about it too much.

Incidentally changing

while (!is_goal(current_state))


while (!GOAL_TEST_T::is_goal(current_state))

also gets it to compile