bugmake - Bugs: bug #28426, make parses dependencies...

 
 

bug #28426: make parses dependencies incorrectly

Submitter:  Ian Lynagh <igloo>
Submitted:  Mon 28 Dec 2009 12:23:51 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Duplicate Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  4.0 Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 10 Sep 2012 05:22:54 AM UTC, comment #1: 

This is working properly in the current CVS version of GNU make.

Paul D. Smith <psmith>
Group administrator
Mon 28 Dec 2009 12:23:51 PM UTC, original submission:  


With the Makefile attached (and also copied below for convenience), CVS make parses the dependencies wrong:


$ make
General rule for: b
General rule for: bar
Special rule for foo\\, deps: b bar
Special rule for default, deps: foo\\


"b" should not be a dependency, however.


default: foo\\
        @echo 'Special rule for $@, deps: $^'

foo\\\\: bar
        @echo 'Special rule for $@, deps: $^'

%:
        @echo 'General rule for: $@'


Ian Lynagh <igloo>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #19382:  Makefile added by igloo (143B - 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)
  • -email is unavailable- added by igloo (Submitted the item)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-10 psmith StatusNone Duplicate
        Open/ClosedOpen Closed
    2009-12-28 igloo Attached File- Added Makefile, #19382

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code