[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weird text-dependent bug in $(eval ...), simple test case
From: |
Jamie Lokier |
Subject: |
Re: Weird text-dependent bug in $(eval ...), simple test case |
Date: |
Wed, 10 Feb 2010 23:10:53 +0000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Martin Dorey wrote:
> > (b) the messages are only produced for some words
>
> That's not the case for me, with Debian Lenny's 3.81.
>
> address@hidden:~/tmp$ dpkg -S `which make`
> make: /usr/bin/make
> address@hidden:~/tmp$ dpkg --status make
> ...
> Version: 3.81-5
> ...
> address@hidden:~/tmp$ make -f buggyMakefile
> buggyMakefile:2: target `normal' given more than once in the same rule.
> buggyMakefile:2: target `c99-pedantic' given more than once in the same rule.
> buggyMakefile:2: target `c89-pedantic' given more than once in the same rule.
> buggyMakefile:2: target `foobar' given more than once in the same rule.
> buggyMakefile:2: target `baz' given more than once in the same rule.
> make: `normal' is up to date.
> address@hidden:~/tmp$
>
> > GNU MAke 3.81
>
> That capital A... surely not a hardware fault?
No, quite sure it's a typo when editing.
Note that the above output from Lenny is also wrong; there shouldn't
be any error messages. There are no duplicate targets, because
"normal" is not the same target as "normal/".
-- Jamie