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

 
 

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

Submitted by:  None
Submitted on:  Tue 07 Feb 2012 05:41:57 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 3.82Operating System: POSIX-Based
Fixed Release: 4.0Triage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Fixed and committed.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
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 File(s):
   
   
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
  • -unavailable- added by psmith (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 04 Mar 2012 08:09:45 AM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.0
    Tue 07 Feb 2012 05:41:57 PM UTCNoneAttached File-=>Added makefile, #25002

    Back to the top


    Powered by Savane 3.1-cleanup1