On 5/19/24 18:25, Paul D. Smith wrote:
Follow-up Comment #6, bug #60736 (group make):
I think that using a warn option is better than forcing this to always warn.
But I still think that the warning makes global usage useless, and since
there's no way to control warnings on a per-target basis (to
On Mon, 2024-05-20 at 07:25 +0200, Henrik Carlqvist wrote:
> On Sun, 19 May 2024 18:02:45 -0400 (EDT)
> > Many programs use a single dash to mean "read from stdin" but make
> > doesn't
> > do this.
>
> Yes, it does:
>
> -8<
> nazgul:/tmp> make -f -
Yes, if
Follow-up Comment #3, bug #65759 (group make):
Yes it is a valid filename but the problem, as pointed out in the original
description, is that make doesn't treat it that way. At least not all the
time. It appears that the code wants to treat it as if you'd used "-f-" but
it doesn't appear to wor
Follow-up Comment #4, bug #65759 (group make):
(original poster) Understood about --. WRT -, I don't think it should be an
error, I think it should be treated as a filename as Dmitry says.
IMHO the interesting question is: given that - should be treated as a valid
filename, should it be required