bug-make
[Top][All Lists]
Advanced

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

Re: Backslash handling not POSIX-compliant


From: Paul Smith
Subject: Re: Backslash handling not POSIX-compliant
Date: Tue, 28 Jul 2020 09:15:22 -0400
User-agent: Evolution 3.36.3-0ubuntu1

On Tue, 2020-07-28 at 08:07 +0300, Ivan Kozlov wrote:
> Doubling the backslash suppresses special newline handling in GNU
> make. I don’t see anything in the standard that allows this. It
> defines an escaped newline as one preceded by a backslash and doesn’t
> say anything about backslashes being treated specially otherwise.

It is documented behavior in the GNU make manual so I'm not going to
change this for standard makefiles.

However, we could consider making it work differently for makefiles
where .POSIX: is set.  I am not really excited about doing that but we
can consider it.




reply via email to

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