bugmake - Bugs: bug #35468, Pattern-specific private variable...

 
 

bug #35468: Pattern-specific private variable addition doesn't work

Submitter:  None
Submitted:  Tue 07 Feb 2012 05:41:57 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  3.82 Operating System:  POSIX-Based
Fixed Release:  4.0 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 04 Mar 2012 08:09:45 AM UTC, comment #1: 

Fixed and committed.

Paul D. Smith <psmith>
Group administrator
Tue 07 Feb 2012 05:41:57 PM UTC, original submission:  

I'm using GNU Make version 3.82 + the fix for bug #32872 (thanks for that). Although the specific case in bug #32872 is fixed, I still see a problem relating to pattern specific private variables.

With the following makefile (also attached):

%: P += pattern
%: private PP += pattern private
all: S += static
all: private SP += static private
all: ; @echo P=$(P); echo PP=$(PP); echo S=$(S); echo SP=$(SP)

I get the following output when building all:

P=pattern
PP=
S=static
SP=static private

However I expected to see:

P=pattern
PP=pattern private
S=static
SP=static private

It seems that addition with pattern-specific variables doesn't work if that variable is marked as private.  It does work if the variable is not private or if using static target-specific variables, so I think the pattern-specific private variable addition should also work.

regards,
Rob.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #25002:  makefile added by None (163B - application/octet-stream)

 

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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-03-04 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0
    2012-02-07 None Attached File- Added makefile, #25002

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code