Re: Cannot find source of undefined identifier

From: John Harrison (john_andronicus_at_hotmail.com)
Date: 03/30/04


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


"John Carson" <donaldquixote@datafast.net.au> wrote in message
news:4069cacb$1@usenet.per.paradox.net.au...
> "Dave" <better_cs_now@yahoo.com> wrote in message
> news:106jibr390u7tfa@news.supernews.com
> >
> > 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))

to

while (!GOAL_TEST_T::is_goal(current_state))

also gets it to compile

john



Relevant Pages