Current-Users archive

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

More problems with netstat/if.c



Have just updated, and I now have

/*      $NetBSD: if.c,v 1.65 2009/09/13 19:04:29 elad Exp $     */

But it still is failing to compile:

#   compile  netstat/if.o
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc -O2  
-fstack-protector -Wstack-protector --param ssp-buffer-size=1 -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
-Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow 
-Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wsign-compare 
-std=gnu99  -Werror   -DIPSEC -DINET6 -nostdinc -isystem 
/build/netbsd-local/dest/amd64/usr/include   -D_FORTIFY_SOURCE=2 -c    
/build/netbsd-local/src/usr.bin/netstat/if.c
cc1: warnings being treated as errors
/build/netbsd-local/src/usr.bin/netstat/if.c: In function 'intpr_sysctl':
/build/netbsd-local/src/usr.bin/netstat/if.c:219: warning: format '%-5qu' 
expects type 'long long unsigned int', but argument 3 has type 'u_quad_t'
/build/netbsd-local/src/usr.bin/netstat/if.c:219: warning: format '%-5qu' 
expects type 'long long unsigned int', but argument 3 has type 'u_quad_t'
/build/netbsd-local/src/usr.bin/netstat/if.c:237: warning: format '%-5qu' 
expects type 'long long unsigned int', but argument 3 has type 'u_quad_t'
/build/netbsd-local/src/usr.bin/netstat/if.c:237: warning: format '%-5qu' 
expects type 'long long unsigned int', but argument 3 has type 'u_quad_t'
*** [if.o] Error code 1
1 error


-------------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:      |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul at whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index