tasklwIP - A Lightweight TCP/IP stack - Tasks: task #14398, Convert netconn 'apiflags' to an...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #14398: Convert netconn 'apiflags' to an enum

Submitter:  Simon Goldschmidt <goldsimon>
Submitted:  Sat 04 Mar 2017 08:08:54 PM UTC
   
 
Category:  socket/netconn Should Start On:  Sat 04 Mar 2017 12:00:00 AM UTC
Should be Finished on:  Sat 04 Mar 2017 12:00:00 AM UTC Priority:  5 - Normal
Status:  Cancelled Privacy:  Public
Assigned to:  None Percent Complete:  0%
Open/Closed:  Closed Planned Release:  None
Effort:  0.00

Tue 07 Mar 2017 06:51:30 PM UTC, comment #3: 

Right. Let's drop this.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 06 Mar 2017 10:53:48 PM UTC, comment #2: 

I think you'd have to use a cast to assign a multiple flags value since it is not an enumerated value from the perspective of the type system.

Once using the casts, aren't we losing one of the large advantages of the enumerated type, i.e. the type checking and safety?

Joel Cunningham <jcunningham>
Group Member
Mon 06 Mar 2017 09:23:54 PM UTC, comment #1: 

Hmm, is it even ok to use an enum as 'flags' (i.e. or resulting in unknown enum values?)

Simon Goldschmidt <goldsimon>
Group administrator
Sat 04 Mar 2017 08:08:54 PM UTC, original submission:  

Just here as a reminder, as I'm in the progress of changing things there and don't want to make this change right now...

Simon Goldschmidt <goldsimon>
Group administrator

 

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

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 jcunningham (Posted a comment)
  • -email is unavailable- added by goldsimon (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-07 goldsimon StatusNone Cancelled
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code