lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #26523] Compiler Warnings


From: Rikke Ottesen
Subject: [lwip-devel] [bug #26523] Compiler Warnings
Date: Mon, 11 May 2009 08:39:17 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10

URL:
  <http://savannah.nongnu.org/bugs/?26523>

                 Summary: Compiler Warnings
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: ro03
            Submitted on: Mon 11 May 2009 08:39:15 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Compiler Warning
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: 1.3.0

    _______________________________________________________

Details:

I see these warnings when I compile.

1.3.0/core/dhcp.c(276) : warning C4761: integral size mismatch in argument;
conversion supplied
1.3.0/core/dhcp.c(658) : warning C4761: integral size mismatch in argument;
conversion supplied
1.3.0/core/dhcp.c(735) : warning C4761: integral size mismatch in argument;
conversion supplied
1.3.0/core/dhcp.c(787) : warning C4761: integral size mismatch in argument;
conversion supplied
1.3.0/core/dhcp.c(932) : warning C4761: integral size mismatch in argument;
conversion supplied
1.3.0/core/dhcp.c(984) : warning C4761: integral size mismatch in argument;
conversion supplied
1.3.0/core/dhcp.c(1031) : warning C4761: integral size mismatch in argument;
conversion supplied


1.3.0/core/tcp_in.c(113) : warning C4761: integral size mismatch in argument;
conversion supplied
1.3.0/core/tcp_in.c(155) : warning C4761: integral size mismatch in argument;
conversion supplied

1.3.0/core/tcp_out.c(290) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(295) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(298) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(382) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(460) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(463) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(539) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(707) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(710) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(831) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(834) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(914) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/tcp_out.c(917) : warning C4761: integral size mismatch in
argument; conversion supplied

1.3.0/core/dns.c(612) : warning C4244: '=' : conversion from 'unsigned short
' to 'unsigned char ', possible loss of data
1.3.0/core/dns.c(622) : warning C4244: '=' : conversion from 'unsigned short
' to 'unsigned char ', possible loss of data
1.3.0/core/dns.c(623) : warning C4244: '=' : conversion from 'unsigned short
' to 'unsigned char ', possible loss of data
1.3.0/core/dns.c(451) : warning C4761: integral size mismatch in argument;
conversion supplied

1.3.0/core/ipv4/icmp.c(161) : warning C4244: 'function' : conversion from
'long ' to 'unsigned short ', possible loss of data
1.3.0/core/ipv4/icmp.c(170) : warning C4244: 'function' : conversion from
'long ' to 'unsigned short ', possible loss of data
1.3.0/core/ipv4/icmp.c(242) : warning C4244: 'function' : conversion from
'long ' to 'unsigned short ', possible loss of data
1.3.0/core/ipv4/icmp.c(294) : warning C4244: 'function' : conversion from
'long ' to 'unsigned short ', possible loss of data
1.3.0/core/ipv4/icmp.c(84) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/ipv4/icmp.c(139) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/ipv4/icmp.c(161) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/ipv4/icmp.c(170) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/ipv4/icmp.c(242) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/ipv4/icmp.c(243) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/ipv4/icmp.c(294) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/ipv4/icmp.c(295) : warning C4761: integral size mismatch in
argument; conversion supplied

1.3.0/core/ipv4/ip.c(496) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/ipv4/ip.c(497) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/ipv4/ip.c(501) : warning C4761: integral size mismatch in
argument; conversion supplied

1.3.0/core/ipv4/ip_frag.c(731) : warning C4761: integral size mismatch in
argument; conversion supplied
1.3.0/core/ipv4/ip_frag.c(737) : warning C4761: integral size mismatch in
argument; conversion supplied

1.3.0/core/ipv4/inet_chksum.c(169) : warning C4244: 'return' : conversion
from 'unsigned long ' to 'unsigned short ', possible loss of data


Is this consider being fixed in a newer version?




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26523>

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





reply via email to

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