bug-make
[Top][All Lists]
Advanced

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

[bug #29403] Make does not resolve backslashes


From: Paul D. Smith
Subject: [bug #29403] Make does not resolve backslashes
Date: Thu, 01 Apr 2010 17:15:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8

Update of bug #29403 (project make):

                  Status:                    None => Not A Bug              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

The new behavior is intended, and is required by the POSIX standard for make.
 Please see the NEWS file in the GNU make distribution and the GNU make manual
for more details.


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


A simple fix is to put the backslashed text into a variable assignment then
use that variable instead of the literal string: backslash/newlines within
variable assignment still work as before.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29403>

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





reply via email to

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