bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why "*** extraneous `endef'. Stop."?


From: Philip Guenther
Subject: Re: Why "*** extraneous `endef'. Stop."?
Date: Sun, 6 Sep 2009 17:12:30 -0700

On Sun, Sep 6, 2009 at 8:09 AM, Sergey Zubkovsky<address@hidden> wrote:
> It seems to me this is a bug.
>
> All will be fine if we just rewrite 'ifneq (1,1)' as 'ifeq (1,1)'.
>
> That is why I sent the question.
> I hope someone will add an item in the bug tracker (who know `make' better
> than me and will confirm this supposition).

Sure looks like a bug to me.  Note that this has nothing to do with
$(eval); it's presence in your example just confuses the issue.  You
can see the issue directly with this:

ifneq (1,1)
define var1
define var2
endef
endef
endif


I suggest you visit
    http://savannah.gnu.org/projects/make

and submit the bug.


Philip Guenther




reply via email to

[Prev in Thread] Current Thread [Next in Thread]