bug-make
[Top][All Lists]
Advanced

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

[bug #16505] Line-continuation backslashes are not stripped


From: Eli Zaretskii
Subject: [bug #16505] Line-continuation backslashes are not stripped
Date: Wed, 3 May 2006 11:33:08 +0300
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Follow-up Comment #1, bug #16505 (project make):

This is not a regression, but a deliberate change whose purpose is to follow
the Posix specifications.  From NEWS:

------------- quotation ----------------------
* WARNING: Backward-incompatibility!  
In order to comply with POSIX, the way in which GNU make processes
backslash-newline sequences in command strings has changed.  If your
makefiles use backslash-newline sequences inside of single-quoted strings in
command scripts you will be impacted by this change.  See the GNU make manual
subsection "Splitting Command Lines" (node "Splitting Lines"), in section
"Command Syntax", chapter "Writing the Commands in Rules", for details.
------------- end quotation -------------------

So your Makefile is in violation of Posix.  The simplest change to get it to
work is to use double quotes instead of single quotes (and escape the inner
double quotes as appropriate).



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16505>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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