lwip-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-members] [bug #6564] src/core/tcp.c:139: warning: dereferencing ty


From: nobody
Subject: [lwip-members] [bug #6564] src/core/tcp.c:139: warning: dereferencing type-punned pointer will break strict-aliasing rules
Date: Fri, 14 Nov 2003 19:24:32 -0500
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

=================== BUG #6564: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=6564&group_id=3159

Submitted by: likewise                Project: lwIP - A Lightweight TCP/IP stack
Submitted on: Sat 11/15/2003 at 01:24
Category:  TCP                        Severity:  2                          
Bug Group:  Compiler Warning          Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  src/core/tcp.c:139: warning: dereferencing type-punned pointer will 
break strict-aliasing rules

Original Submission:  err_t

tcp_close(struct tcp_pcb *pcb)

{

  err_t err;



#if TCP_DEBUG

  LWIP_DEBUGF(TCP_DEBUG, ("tcp_close: closing in state "));

  tcp_debug_print_state(pcb->state);

  LWIP_DEBUGF(TCP_DEBUG, ("n"));

#endif /* TCP_DEBUG */

  switch (pcb->state) {

  case LISTEN:

    err = ERR_OK;

    tcp_pcb_remove((struct tcp_pcb **)&tcp_listen_pcbs, pcb);





No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=6564&group_id=3159

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]