[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #29346] tcpip.h: line 115: warning: trailing comma is
From: |
Petr Cernin |
Subject: |
[lwip-devel] [bug #29346] tcpip.h: line 115: warning: trailing comma is nonstandard |
Date: |
Fri, 26 Mar 2010 10:20:32 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 3.5.30729) |
URL:
<http://savannah.nongnu.org/bugs/?29346>
Summary: tcpip.h: line 115: warning: trailing comma is
nonstandard
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: cerninp
Submitted on: Fri 26 Mar 2010 10:20:32 AM GMT
Category: TCP
Severity: 3 - Normal
Item Group: Compiler Warning
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release:
lwIP version: CVS Head
_______________________________________________________
Details:
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?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?29346>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #29346] tcpip.h: line 115: warning: trailing comma is nonstandard,
Petr Cernin <=