bugGNU Mailutils - Bugs: bug #35939, #define ⇒ enum?

 
 

bug #35939: #define ⇒ enum?

Submitted by:  Markus Elfring <elfring>
Submitted on:  Wed 21 Mar 2012 07:08:09 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 05 Apr 2012 08:39:48 AM UTC, comment #2:

Do prefixes like MU_LOG and MU_SIEVE_MATCH indicate better candidates for the suggested conversion of preprocessors symbols to enumeration elements?

Markus Elfring <elfring>
Thu 22 Mar 2012 06:30:08 AM UTC, comment #1:

No, these are bitmasks, not constants. Revamping them as enums will blurr their meaning.

Sergey Poznyakoff <gray>
Project Administrator
Wed 21 Mar 2012 07:08:09 PM UTC, original submission:

Would you like to replace more defines for constant values by enumerations to stress their relationships?

Markus Elfring <elfring>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gray (Posted a comment)
  • -unavailable- added by elfring (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 22 Mar 2012 06:30:08 AM UTCgrayStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1