bugXBoard - Bugs: bug #36229, #define ⇒ enum?

 
 

bug #36229: #define ⇒ enum?

Submitted by:  Markus Elfring <elfring>
Submitted on:  Tue 17 Apr 2012 06:58:29 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 29 Sep 2012 08:36:58 PM UTC, comment #3:

changed the ICS_ ones, the other ones are not as straight forward to change... patches welcome though ;) For now I'll close this bug.

Arun Persaud <apersaud>
Project Administrator
Sat 02 Jun 2012 07:31:33 PM UTC, comment #2:

Would a similar conversion be useful for identifiers like the following?

Markus Elfring <elfring>
Mon 28 May 2012 09:04:30 PM UTC, comment #1:

Thanks for the suggestions. Changed STATE and PEN variables to enums.

Arun Persaud <apersaud>
Project Administrator
Tue 17 Apr 2012 06:58:29 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 apersaud (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 29 Sep 2012 08:36:58 PM UTCapersaudStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 28 May 2012 09:04:30 PM UTCapersaudStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1