bugmake - Bugs: bug #35231, Backward compatibility: Versions...

 
 

bug #35231: Backward compatibility: Versions prior to 3.81 allowed spaces in variable names

Submitter:  None
Submitted:  Tue 03 Jan 2012 11:48:26 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Not A Bug Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  3.82 Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 03 Jan 2012 11:56:24 PM UTC, comment #1: 

Hi; this issue is listed as a known backward-incompatibility in the NEWS file for GNU make 3.82.

Indeed, we intentionally removed support for spaces in variable names, to support new capabilities in future versions of GNU make.

Cheers!

Paul D. Smith <psmith>
Group administrator
Tue 03 Jan 2012 11:48:26 PM UTC, original submission:  

I ran across an ancient makefile previously used with gmake 3.74.  The following idiom works on 3.81:

  set something = something else

  all:
    @echo ${set something}

My guess is the 'set something' line is a carry-over from some even older build system; it didn't cause an error in make, so it was ignored.

Personally I'd be inclined to ditch allowing spaces in variable names, but in case there's a good reason to keep it around I figured I'd write it up.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-01-03 psmith StatusNone Not A Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code