buglwIP - A Lightweight TCP/IP stack - Bugs: bug #29346, tcpip.h: line 115: warning:...

 
 

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

bug #29346: tcpip.h: line 115: warning: trailing comma is nonstandard

Submitter:  Petr Cernin <cerninp>
Submitted:  Fri 26 Mar 2010 10:20:32 AM UTC
   
 
Category:  TCP Severity:  3 - Normal
Item Group:  Compiler Warning Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  CVS Head

Fri 26 Mar 2010 02:06:02 PM UTC, comment #1: 

Fixed, thanks for reporting

Simon Goldschmidt <goldsimon>
Group administrator
Fri 26 Mar 2010 10:20:32 AM UTC, original submission:  


My compiler generates warning 'traling command is nostandard' for this enum definition:

enum tcpip_msg_type {
#if LWIP_NETCONN
  TCPIP_MSG_API,
#endif /* LWIP_NETCONN */
  TCPIP_MSG_INPKT,
#if LWIP_NETIF_API
  TCPIP_MSG_NETIFAPI,
#endif /* LWIP_NETIF_API */
  TCPIP_MSG_CALLBACK,
#if LWIP_TCPIP_TIMEOUT
  TCPIP_MSG_TIMEOUT,
  TCPIP_MSG_UNTIMEOUT, 
#endif /* LWIP_TCPIP_TIMEOUT */
};

Is possible to reorder this enum or add fake TCPIP_MSG_MAX/LAST as the last item of enum?

Petr Cernin <cerninp>

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-26 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code