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


bug #36229: #define ⇒ enum?

Submitter:  Markus Elfring <elfring>
Submitted:  Tue 17 Apr 2012 06:58:29 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:
       No canned response available


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 Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by apersaud (Posted a comment)
  • -email is unavailable- added by elfring (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-29 apersaud StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2012-05-28 apersaud StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.9