[BusyBox 0001168]: networking/ping.c:220: warning: operation on 'ntransmitted' may be undefined
bugs at busybox.net
bugs at busybox.net
Mon Jan 22 15:25:05 PST 2007
A NOTE has been added to this issue.
======================================================================
http://busybox.net/bugs/view.php?id=1168
======================================================================
Reported By: gzp
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1168
Category: Networking Support
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 01-22-2007 02:03 PST
Last Modified: 01-22-2007 15:25 PST
======================================================================
Summary: networking/ping.c:220: warning: operation on
'ntransmitted' may be undefined
Description:
CC networking/ping.o
cc1: warnings being treated as errors
networking/ping.c: In function 'sendping':
networking/ping.c:220: warning: operation on 'ntransmitted' may be
undefined
make[1]: *** [networking/ping.o] Error 1
make: *** [networking] Error 2
======================================================================
----------------------------------------------------------------------
vda - 01-22-07 15:25
----------------------------------------------------------------------
?! 1.4.0, line 220:
219 signal(SIGALRM, sendping);
220 if (pingcount == 0 || ntransmitted < pingcount) {
221 alarm(PINGINTERVAL);
222 } else {
We compare two unsigned longs. It's 100% ok.
In which version do you see th warning? Or show code snippet around line
220.
Issue History
Date Modified Username Field Change
======================================================================
01-22-07 02:03 gzp New Issue
01-22-07 02:03 gzp Status new => assigned
01-22-07 02:03 gzp Assigned To => BusyBox
01-22-07 15:25 vda Note Added: 0002033
======================================================================
More information about the busybox-cvs
mailing list