[quagga-dev 12070] massive warnings on NetBSD from master; bad time_t assumptions

Greg Troxel gdt at ir.bbn.com
Mon Mar 2 02:47:57 GMT 2015


I built today's master on NetBSD 6 (stable from recent netbsd-6 branch)
on i386, and hence:
  gcc version 4.5.3 (NetBSD nb2 20110806) 


I got a lot of warnings.  It seems like the biggest offender is assuming
time_t is long int.   AFAIK POSIX makes no such guarantee, and it
doesn't define a PRI_time_t, so I guess we're stuck casting to uint64_t
and printing that way.

I am not proposing to imminently fis this; I would mail patches for
review if so.  I just wanted to point it out.

------------------------------
make  all-recursive
Making all in lib
true
make  all-am
  CC       network.lo
  CC       pid_output.lo
  CC       getopt.lo
getopt.c: In function 'my_index':
getopt.c:227:2: warning: cast discards qualifiers from pointer target type
getopt.c: In function '_getopt_internal':
getopt.c:564:6: warning: cast discards qualifiers from pointer target type
getopt.c:586:6: warning: cast discards qualifiers from pointer target type
getopt.c:766:4: warning: cast discards qualifiers from pointer target type
  CC       getopt1.lo
  CC       daemon.lo
  CC       checksum.lo
  CC       vector.lo
  CC       linklist.lo
  CC       vty.lo
vty.c: In function 'vty_log_fixed':
vty.c:2469:3: warning: cast discards qualifiers from pointer target type
  CC       command.lo
command.c: In function 'cmd_matcher_match_multiple':
command.c:1356:15: warning: 'arg' may be used uninitialized in this function
  CC       sockunion.lo
  CC       prefix.lo
  CC       thread.lo
  CC       if.lo
  CC       memory.lo
  CC       buffer.lo
  CC       table.lo
  CC       hash.lo
  CC       filter.lo
  CC       routemap.lo
  CC       distribute.lo
distribute.c: In function 'distribute_lookup':
distribute.c:72:3: warning: cast discards qualifiers from pointer target type
distribute.c: In function 'distribute_get':
distribute.c:111:3: warning: cast discards qualifiers from pointer target type
  CC       stream.lo
  CC       str.lo
  CC       log.lo
  CC       plist.lo
  CC       zclient.lo
  CC       sockopt.lo
  CC       smux.lo
  CC       agentx.lo
  CC       snmp.lo
  CC       md5.lo
  CC       if_rmap.lo
if_rmap.c: In function 'if_rmap_lookup':
if_rmap.c:67:3: warning: cast discards qualifiers from pointer target type
if_rmap.c: In function 'if_rmap_get':
if_rmap.c:104:3: warning: cast discards qualifiers from pointer target type
  CC       keychain.lo
  CC       privs.lo
  CC       sigevent.lo
  CC       pqueue.lo
  CC       jhash.lo
  CC       memtypes.lo
  CC       workqueue.lo
  CCLD     libzebra.la
Making all in zebra
  CC       test_main.o
  CC       zebra_rib.o
  CC       interface.o
  CC       connected.o
  CC       debug.o
  CC       zebra_vty.o
zebra_vty.c: In function 'vty_show_ip_route_detail':
zebra_vty.c:705:19: warning: 'mcast_info' may be used uninitialized in this function
  CC       kernel_null.o
  CC       redistribute_null.o
  CC       ioctl_null.o
  CC       misc_null.o
misc_null.c:30:6: warning: no previous prototype for 'ifstat_update_proc'
  CCLD     testzebra
  CC       zserv.o
  CC       main.o
  CC       zebra_routemap.o
  CC       redistribute.o
  CC       rtadv.o
rtadv.c: In function 'ipv6_nd_prefix':
rtadv.c:1204:7: warning: array subscript has type 'char'
  CC       zebra_snmp.o
  CC       irdp_main.o
  CC       irdp_interface.o
  CC       irdp_packet.o
  CC       router-id.o
  CC       zebra_fpm.o
  CC       ioctl.o
ioctl.c: In function 'if_ioctl_ipv6':
ioctl.c:88:7: warning: 'err' may be used uninitialized in this function
ioctl.c: In function 'if_ioctl':
ioctl.c:55:7: warning: 'err' may be used uninitialized in this function
  CC       ipforward_sysctl.o
  CC       if_sysctl.o
if_sysctl.c:37:1: warning: no previous prototype for 'ifstat_update_sysctl'
if_sysctl.c:92:1: warning: no previous prototype for 'interface_list'
  CC       rt_socket.o
rt_socket.c:274:1: warning: 'kernel_rtm_ipv6' defined but not used
  CC       rtread_sysctl.o
  CC       kernel_socket.o
  CCLD     zebra
Making all in bgpd
  CC       bgpd.o
  CC       bgp_fsm.o
  CC       bgp_aspath.o
bgp_aspath.c: In function 'aspath_add_asns':
bgp_aspath.c:1392:21: warning: comparison between signed and unsigned integer expressions
  CC       bgp_community.o
  CC       bgp_attr.o
  CC       bgp_debug.o
  CC       bgp_route.o
  CC       bgp_zebra.o
  CC       bgp_open.o
  CC       bgp_routemap.o
bgp_routemap.c: In function 'route_match_probability':
bgp_routemap.c:834:13: warning: comparison between signed and unsigned integer expressions
  CC       bgp_packet.o
  CC       bgp_network.o
  CC       bgp_filter.o
  CC       bgp_regex.o
  CC       bgp_clist.o
  CC       bgp_dump.o
  CC       bgp_snmp.o
  CC       bgp_ecommunity.o
  CC       bgp_mplsvpn.o
  CC       bgp_nexthop.o
  CC       bgp_damp.o
bgp_damp.c: In function 'bgp_config_write_damp':
bgp_damp.c:534:7: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t'
bgp_damp.c:541:7: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t'
bgp_damp.c:541:7: warning: format '%ld' expects type 'long int', but argument 6 has type 'time_t'
  CC       bgp_table.o
  CC       bgp_advertise.o
  CC       bgp_vty.o
  CC       bgp_mpath.o
  AR       libbgp.a
  CC       bgp_main.o
  CCLD     bgpd
Making all in ripd
  CC       ripd.o
ripd.c: In function 'rip_route':
ripd.c:3005:3: warning: cast discards qualifiers from pointer target type
  CC       rip_zebra.o
  CC       rip_interface.o
rip_interface.c: In function 'rip_enable_network_add':
rip_interface.c:813:5: warning: cast discards qualifiers from pointer target type
  CC       rip_debug.o
  CC       rip_snmp.o
  CC       rip_routemap.o
  CC       rip_peer.o
  CC       rip_offset.o
  AR       librip.a
  CC       rip_main.o
  CCLD     ripd
Making all in ripngd
  CC       ripng_interface.o
ripng_interface.c: In function 'ripng_enable_network_add':
ripng_interface.c:593:5: warning: cast discards qualifiers from pointer target type
  CC       ripngd.o
ripngd.c: In function 'ripng_recv_packet':
ripngd.c:239:19: warning: 'dst.__u6_addr.__u6_addr8[0]' may be used uninitialized in this function
  CC       ripng_zebra.o
  CC       ripng_route.o
  CC       ripng_debug.o
  CC       ripng_routemap.o
  CC       ripng_offset.o
  CC       ripng_peer.o
  CC       ripng_nexthop.o
  AR       libripng.a
  CC       ripng_main.o
  CCLD     ripngd
Making all in ospfd
  CC       ospfd.lo
  CC       ospf_zebra.lo
  CC       ospf_interface.lo
  CC       ospf_ism.lo
  CC       ospf_neighbor.lo
  CC       ospf_nsm.lo
  CC       ospf_dump.lo
ospf_dump.c: In function 'ospf_timeval_dump':
ospf_dump.c:302:5: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf_dump.c:302:5: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf_dump.c:304:5: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf_dump.c:304:5: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf_dump.c:306:5: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf_dump.c:306:5: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf_dump.c:308:5: warning: format '%ld' expects type 'long int', but argument 4 has type 'suseconds_t'
ospf_dump.c:308:5: warning: format '%ld' expects type 'long int', but argument 4 has type 'suseconds_t'
  CC       ospf_network.lo
  CC       ospf_packet.lo
  CC       ospf_lsa.lo
  CC       ospf_spf.lo
  CC       ospf_route.lo
  CC       ospf_ase.lo
ospf_ase.c: In function 'ospf_ase_calculate_timer':
ospf_ase.c:684:4: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'
  CC       ospf_abr.lo
  CC       ospf_ia.lo
  CC       ospf_flood.lo
  CC       ospf_lsdb.lo
  CC       ospf_asbr.lo
  CC       ospf_routemap.lo
  CC       ospf_snmp.lo
  CC       ospf_opaque.lo
  CC       ospf_te.lo
  CC       ospf_vty.lo
  CC       ospf_api.lo
  CC       ospf_apiserver.lo
  CCLD     libospf.la
  CC       ospf_main.o
  CCLD     ospfd
Making all in ospf6d
  CC       ospf6_network.o
  CC       ospf6_message.o
  CC       ospf6_lsa.o
ospf6_lsa.c: In function 'ospf6_lsa_show':
ospf6_lsa.c:518:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_lsa.c:518:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_lsa.c: In function 'ospf6_lsa_handler_name':
ospf6_lsa.c:810:7: warning: array subscript has type 'char'
ospf6_lsa.c:811:9: warning: array subscript has type 'char'
  CC       ospf6_lsdb.o
  CC       ospf6_top.o
ospf6_top.c: In function 'ospf6_top_brouter_hook_add':
ospf6_top.c:102:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_top.c: In function 'ospf6_top_brouter_hook_remove':
ospf6_top.c:110:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_top.c: In function 'ospf6_show':
ospf6_top.c:643:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_top.c:643:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:643:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_top.c:663:7: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_top.c:663:7: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:663:7: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_top.c:667:9: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t'
ospf6_top.c:667:9: warning: format '%ld' expects type 'long int', but argument 4 has type 'suseconds_t'
ospf6_top.c:671:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_top.c:671:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_top.c:671:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
  CC       ospf6_area.o
  CC       ospf6_interface.o
ospf6_interface.c: In function 'ospf6_interface_show':
ospf6_interface.c:943:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_interface.c:943:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_interface.c:955:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
  CC       ospf6_neighbor.o
ospf6_neighbor.c: In function 'ospf6_neighbor_show':
ospf6_neighbor.c:692:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:692:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c: In function 'ospf6_neighbor_show_drchoice':
ospf6_neighbor.c:727:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:727:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c: In function 'ospf6_neighbor_show_detail':
ospf6_neighbor.c:751:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:751:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:797:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:809:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:821:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_neighbor.c:833:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
  CC       ospf6_flood.o
  CC       ospf6_route.o
ospf6_route.c: In function 'ospf6_route_show':
ospf6_route.c:795:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_route.c:795:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:795:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c: In function 'ospf6_route_show_detail':
ospf6_route.c:862:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_route.c:862:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:862:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c:866:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_route.c:866:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_route.c:866:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_route.c: In function 'ospf6_linkstate_show':
ospf6_route.c:1187:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_route.c: In function 'ospf6_brouter_show':
ospf6_route.c:1324:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC       ospf6_intra.o
ospf6_intra.c: In function 'ospf6_router_lsa_originate':
ospf6_intra.c:239:32: warning: comparison between signed and unsigned integer expressions
ospf6_intra.c: In function 'ospf6_brouter_debug_print':
ospf6_intra.c:1475:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_intra.c:1483:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_intra.c:1483:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 7 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 4 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 5 has type 'time_t'
ospf6_intra.c:1487:3: warning: format '%02ld' expects type 'long int', but argument 6 has type 'time_t'
ospf6_intra.c: In function 'ospf6_intra_brouter_calculation':
ospf6_intra.c:1536:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_intra.c:1554:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_intra.c:1589:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC       ospf6_zebra.o
  CC       ospf6_spf.o
ospf6_spf.c: In function 'ospf6_vertex_id_cmp':
ospf6_spf.c:66:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c:66:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c:66:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c:66:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c:66:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c:66:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c:67:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c:67:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c:67:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c:67:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c:67:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c:67:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_spf.c: In function 'ospf6_spf_calculation_thread':
ospf6_spf.c:605:3: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'
ospf6_spf.c:605:3: warning: format '%ld' expects type 'long int', but argument 3 has type 'suseconds_t'
ospf6_spf.c:609:6: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t'
ospf6_spf.c:609:6: warning: format '%ld' expects type 'long int', but argument 4 has type 'suseconds_t'
  CC       ospf6_proto.o
  CC       ospf6_asbr.o
ospf6_asbr.c: In function 'ospf6_asbr_lsentry_add':
ospf6_asbr.c:309:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_asbr.c:316:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_asbr.c: In function 'ospf6_asbr_lsentry_remove':
ospf6_asbr.c:333:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC       ospf6_abr.o
ospf6_abr.c: In function 'ospf6_abr_originate_summary_to_area':
ospf6_abr.c:165:11: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_abr.c:358:17: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_abr.c:379:18: warning: dereferencing type-punned pointer will break strict-aliasing rules
ospf6_abr.c:433:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
  CC       ospf6_snmp.o
  CC       ospf6d.o
  AR       libospf6.a
  CC       ospf6_main.o
  CCLD     ospf6d
Making all in babeld
  CC       babel_zebra.o
  CC       net.o
  CC       kernel.o
  CC       util.o
  CC       source.o
  CC       neighbour.o
  CC       route.o
  CC       xroute.o
  CC       message.o
  CC       resend.o
  CC       babel_interface.o
  CC       babeld.o
babeld.c: In function 'babel_main_loop':
babeld.c:331:13: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'
  CC       babel_filter.o
  AR       libbabel.a
  CC       babel_main.o
  CCLD     babeld
Making all in isisd
Making all in topology
  CC       spgrid.o
spgrid.c:53:8: warning: built-in function 'y1' declared as non-function
spgrid.c:54:20: warning: built-in function 'yn' declared as non-function
  CC       random.o
  AR       libtopology.a
  CC       isis_adjacency.o
isis_adjacency.c: In function 'isis_adj_print_vty':
isis_adjacency.c:399:2: warning: format '%-9lu' expects type 'long unsigned int', but argument 3 has type 'time_t'
  CC       isis_lsp.o
isis_lsp.c: In function 'lsp_auth_update':
isis_lsp.c:382:13: warning: pointer targets in passing argument 5 of 'hmac_md5' differ in signedness
../lib/md5.h:86:6: note: expected '__uint8_t *' but argument is of type 'char *'
  CC       dict.o
  CC       isis_circuit.o
isis_circuit.c: In function 'isis_circuit_id_gen':
isis_circuit.c:400:7: warning: array subscript has type 'char'
isis_circuit.c: In function 'no_ipv6_router_isis':
isis_circuit.c:1345:20: warning: unused variable 'node'
  CC       isis_pdu.o
isis_pdu.c: In function 'authentication_check':
isis_pdu.c:207:17: warning: pointer targets in passing argument 5 of 'hmac_md5' differ in signedness
../lib/md5.h:86:6: note: expected '__uint8_t *' but argument is of type 'char *'
isis_pdu.c: In function 'process_lan_hello':
isis_pdu.c:1272:5: warning: format '%ld' expects type 'long int', but argument 8 has type 'size_t'
isis_pdu.c: In function 'send_hello':
isis_pdu.c:2472:17: warning: pointer targets in passing argument 5 of 'hmac_md5' differ in signedness
../lib/md5.h:86:6: note: expected '__uint8_t *' but argument is of type 'char *'
isis_pdu.c: In function 'build_csnp':
isis_pdu.c:2659:17: warning: pointer targets in passing argument 5 of 'hmac_md5' differ in signedness
../lib/md5.h:86:6: note: expected '__uint8_t *' but argument is of type 'char *'
isis_pdu.c: In function 'send_csnp':
isis_pdu.c:2806:23: warning: format '%ld' expects type 'long int', but argument 5 has type 'size_t'
isis_pdu.c: In function 'build_psnp':
isis_pdu.c:2995:17: warning: pointer targets in passing argument 5 of 'hmac_md5' differ in signedness
../lib/md5.h:86:6: note: expected '__uint8_t *' but argument is of type 'char *'
isis_pdu.c: In function 'send_psnp':
isis_pdu.c:3056:23: warning: format '%ld' expects type 'long int', but argument 5 has type 'size_t'
isis_pdu.c: At top level:
isis_pdu.c:1987:1: warning: 'process_is_hello' defined but not used
  CC       isis_tlv.o
isis_tlv.c: In function 'tlv_add_ip_addrs':
isis_tlv.c:929:7: warning: unused variable 'retval'
  CC       isisd.o
isisd.c: In function 'show_isis_summary':
isisd.c:1301:16: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'time_t'
  CC       isis_misc.o
  CC       isis_zebra.o
isis_zebra.c:322:1: warning: no previous prototype for 'isis_zebra_route_add_ipv6'
  CC       isis_dr.o
  CC       isis_flags.o
  CC       isis_dynhn.o
  CC       iso_checksum.o
  CC       isis_csm.o
  CC       isis_events.o
  CC       isis_spf.o
isis_spf.c: In function 'isis_spf_schedule6':
isis_spf.c:1460:17: warning: format '%d' expects type 'int', but argument 4 has type 'time_t'
isis_spf.c:1480:17: warning: format '%d' expects type 'int', but argument 4 has type 'time_t'
  CC       isis_route.o
  CC       isis_routemap.o
  AR       libisis.a
  CC       isis_main.o
  CC       isis_bpf.o
In file included from isis_bpf.c:39:0:
../isisd/isis_circuit.h:164:30: warning: 'struct vty' declared inside parameter list
../isisd/isis_circuit.h:164:30: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from isis_bpf.c:41:0:
../isisd/isisd.h:147:27: warning: 'struct vty' declared inside parameter list
../isisd/isisd.h:148:25: warning: 'struct vty' declared inside parameter list
isis_bpf.c: In function 'isis_send_pdu_bcast':
isis_bpf.c:307:14: warning: comparison between signed and unsigned integer expressions
isis_bpf.c:311:4: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
  CC       isis_dlpi.o
  CC       isis_pfpacket.o
  CCLD     isisd
Making all in watchquagga
  CC       watchquagga.o
watchquagga.c: In function 'run_background':
watchquagga.c:349:2: warning: cast discards qualifiers from pointer target type
watchquagga.c: In function 'restart_kill':
watchquagga.c:385:6: warning: format '%ld' expects type 'long int', but argument 5 has type 'time_t'
watchquagga.c: In function 'handle_read':
watchquagga.c:657:7: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t'
watchquagga.c:657:7: warning: format '%06ld' expects type 'long int', but argument 4 has type 'suseconds_t'
watchquagga.c:661:5: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t'
watchquagga.c:661:5: warning: format '%06ld' expects type 'long int', but argument 4 has type 'suseconds_t'
watchquagga.c:665:9: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t'
watchquagga.c:665:9: warning: format '%06ld' expects type 'long int', but argument 4 has type 'suseconds_t'
  CCLD     watchquagga
Making all in vtysh
  CC       vtysh_main.o
vtysh_main.c:67:1: warning: no previous prototype for 'sigtstp'
vtysh_main.c:88:1: warning: no previous prototype for 'sigint'
vtysh_main.c:102:1: warning: no previous prototype for 'vtysh_signal_set'
vtysh_main.c:125:1: warning: no previous prototype for 'vtysh_signal_init'
vtysh_main.c:172:1: warning: no previous prototype for 'vtysh_rl_gets'
vtysh_main.c: In function 'log_it':
vtysh_main.c:205:16: warning: initialization discards qualifiers from pointer target type
  CC       vtysh.o
vtysh.c:255:1: warning: no previous prototype for 'vtysh_exit_ripd_only'
vtysh.c:551:1: warning: no previous prototype for 'vtysh_rl_describe'
vtysh.c:825:1: warning: no previous prototype for 'vtysh_end'
  CC       vtysh_user.o
vtysh_user.c:102:1: warning: no previous prototype for 'user_new'
vtysh_user.c:108:1: warning: no previous prototype for 'user_free'
vtysh_user.c:114:1: warning: no previous prototype for 'user_lookup'
vtysh_user.c:128:1: warning: no previous prototype for 'user_config_write'
vtysh_user.c:141:1: warning: no previous prototype for 'user_get'
vtysh_user.c:169:1: warning: no previous prototype for 'vtysh_auth'
vtysh_user.c:190:1: warning: no previous prototype for 'vtysh_user_init'
  CC       vtysh_config.o
vtysh_config.c:51:1: warning: no previous prototype for 'line_cmp'
vtysh_config.c:57:1: warning: no previous prototype for 'line_del'
vtysh_config.c:63:1: warning: no previous prototype for 'config_new'
vtysh_config.c:71:1: warning: no previous prototype for 'config_cmp'
vtysh_config.c:77:1: warning: no previous prototype for 'config_del'
vtysh_config.c:86:1: warning: no previous prototype for 'config_get'
vtysh_config.c:125:1: warning: no previous prototype for 'config_add_line'
vtysh_config.c:131:1: warning: no previous prototype for 'config_add_line_uniq'
vtysh_config.c:145:1: warning: no previous prototype for 'vtysh_config_parse_line'
./extract.pl ../bgpd/*.c ../isisd/*.c  ../ospfd/*.c ../ospf6d/*.c  ../ripd/*.c ../ripngd/*.c  ../babeld/*.c  ../pimd/pim_cmd.c  ../lib/keychain.c ../lib/routemap.c  ../lib/filter.c ../lib/plist.c  ../lib/distribute.c ../lib/if_rmap.c  ../lib/vty.c ../zebra/debug.c  ../zebra/interface.c  ../zebra/irdp_interface.c  ../zebra/rtadv.c ../zebra/zebra_vty.c  ../zebra/zserv.c ../zebra/router-id.c  ../zebra/zebra_routemap.c  ../zebra/zebra_fpm.c > vtysh_cmd.c
  CC       vtysh_cmd.o
  CCLD     vtysh
Making all in ospfclient
  CC       ospf_apiclient.lo
  CCLD     libospfapiclient.la
  CC       ospfclient-ospfclient.o
  CCLD     ospfclient
Making all in doc
make  all-am
Making all in m4
Making all in pkgsrc
Making all in redhat
Making all in tests
sed  -e '/"vtysh.h"/d'  -e 's/vtysh_init_cmd/test_init_cmd/'  -e 's/VTYSH_[A-Z][A-Z_0-9]*/0/g'  < ../vtysh/vtysh_cmd.c  > test-commands-defun.c
make  all-recursive
Making all in bgpd.tests
Making all in libzebra.tests
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 180 bytes
Desc: not available
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20150301/39de3175/attachment-0001.sig>


More information about the Quagga-dev mailing list