bugmake - Bugs: bug #45598, Enumeration in print_target_props...

 
 

bug #45598: Enumeration in print_target_props missing enumeration us_none ?

Submitted by:  Rocky Bernstein <rocky>
Submitted on:  Wed 22 Jul 2015 05:46:42 AM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Not A BugPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 4.1Operating System: Any
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 10 Apr 2016 07:19:29 PM UTC, comment #1:

Hi. I can't find any version of file.c, since the beginning of history, which had a function print_target_props() in it. Similarly, the very first commit of mine where I changed update_status to be an enum (4b81f5ca92) already had appropriate switch statements in the file.c:print_file() method.

I'm not sure what code you're looking at, but it's not official GNU make code...?

Paul D. Smith <psmith>
Project Administrator
Wed 22 Jul 2015 05:46:42 AM UTC, original submission:

In print_target_props of file.c I think the update_status is missing a case for us_none, and the enumeration value for us_question might be wrong (i.e. is the enumeration value for us_question).

See attached patch.

I am not sure how to create a test case that reproduces this.

Rocky Bernstein <rocky>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

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)
  • -unavailable- added by rocky (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 10 Apr 2016 07:19:29 PM UTCpsmithStatusNone=>Not A Bug
      Open/ClosedOpen=>Closed
    Wed 22 Jul 2015 05:46:42 AM UTCrockyAttached File-=>Added 0001-GNU-Make-bug-in-enumeration-values.patch, #34482

    Back to the top


    Powered by Savane 3.1-cleanup1