With .devel, use -W flags iff the compiler supports them.

Don't base the question of whether to use a particular -W flag on
whether we're compiling with GCC or not, and on which version of GCC
we're using; some compilers, such as clang, also support many of those
-W flags.  Base it on whether the compiler complains if we use it (which
means, for clang, that we have to force it to exit with a non-zero exit
status if it doesn't like a flag; otherwise, we'll specify it, and clang
will warn about it on every compile).
2 files changed
tree: c098da4e30610e81919158750ef42b725bd517f4
  1. lbl/
  2. missing/
  3. tests/
  4. win32/
  5. .cvsignore
  6. .gitattributes
  7. .gitignore
  8. .travis.yml
  9. acconfig.h
  10. aclocal.m4
  11. addrtoname.c
  12. addrtoname.h
  13. af.c
  14. af.h
  15. ah.h
  16. aodv.h
  17. appletalk.h
  18. arcnet.h
  19. atime.awk
  20. atm.h
  21. atmuni31.h
  22. bgp.h
  23. bootp.h
  24. bpf_dump.c
  25. CHANGES
  26. chdlc.h
  27. checksum.c
  28. config.guess
  29. config.h.in
  30. config.sub
  31. configure
  32. configure.in
  33. cpack.c
  34. cpack.h
  35. CREDITS
  36. dccp.h
  37. decnet.h
  38. decode_prefix.h
  39. enc.h
  40. esp.h
  41. ether.h
  42. ethertype.h
  43. extract.h
  44. fddi.h
  45. forces.h
  46. gmpls.c
  47. gmpls.h
  48. gmt2local.c
  49. gmt2local.h
  50. icmp6.h
  51. ieee802_11.h
  52. ieee802_11_radio.h
  53. igrp.h
  54. in_cksum.c
  55. install-sh
  56. INSTALL.txt
  57. interface.h
  58. ip.h
  59. ip6.h
  60. ipfc.h
  61. ipnet.h
  62. ipproto.c
  63. ipproto.h
  64. ipsec_doi.h
  65. ipx.h
  66. isakmp.h
  67. l2tp.h
  68. l2vpn.c
  69. l2vpn.h
  70. lane.h
  71. LICENSE
  72. llc.h
  73. machdep.c
  74. machdep.h
  75. Makefile-devel-adds
  76. Makefile.in
  77. makemib
  78. mib.h
  79. mkdep
  80. mpls.h
  81. mptcp.h
  82. nameser.h
  83. netbios.h
  84. netdissect.h
  85. nfs.h
  86. nfsfh.h
  87. nlpid.c
  88. nlpid.h
  89. ntp.h
  90. oakley.h
  91. ospf.h
  92. ospf6.h
  93. oui.c
  94. oui.h
  95. packetdat.awk
  96. parsenfsfh.c
  97. pcap-missing.h
  98. pcap_dump_ftell.c
  99. PLATFORMS
  100. pmap_prot.h
  101. ppi.h
  102. ppp.h
  103. print-802_11.c
  104. print-802_15_4.c
  105. print-ah.c
  106. print-aodv.c
  107. print-ap1394.c
  108. print-arcnet.c
  109. print-arp.c
  110. print-ascii.c
  111. print-atalk.c
  112. print-atm.c
  113. print-babel.c
  114. print-beep.c
  115. print-bfd.c
  116. print-bgp.c
  117. print-bootp.c
  118. print-bt.c
  119. print-carp.c
  120. print-cdp.c
  121. print-cfm.c
  122. print-chdlc.c
  123. print-cip.c
  124. print-cnfp.c
  125. print-dccp.c
  126. print-decnet.c
  127. print-dhcp6.c
  128. print-domain.c
  129. print-dtp.c
  130. print-dvmrp.c
  131. print-eap.c
  132. print-egp.c
  133. print-eigrp.c
  134. print-enc.c
  135. print-esp.c
  136. print-ether.c
  137. print-fddi.c
  138. print-forces.c
  139. print-fr.c
  140. print-frag6.c
  141. print-gre.c
  142. print-hsrp.c
  143. print-icmp.c
  144. print-icmp6.c
  145. print-igmp.c
  146. print-igrp.c
  147. print-ip.c
  148. print-ip6.c
  149. print-ip6opts.c
  150. print-ipcomp.c
  151. print-ipfc.c
  152. print-ipnet.c
  153. print-ipx.c
  154. print-isakmp.c
  155. print-isoclns.c
  156. print-juniper.c
  157. print-krb.c
  158. print-l2tp.c
  159. print-lane.c
  160. print-ldp.c
  161. print-llc.c
  162. print-lldp.c
  163. print-lmp.c
  164. print-lspping.c
  165. print-lwapp.c
  166. print-lwres.c
  167. print-mobile.c
  168. print-mobility.c
  169. print-mpcp.c
  170. print-mpls.c
  171. print-mptcp.c
  172. print-msdp.c
  173. print-msnlb.c
  174. print-netbios.c
  175. print-nfs.c
  176. print-ntp.c
  177. print-null.c
  178. print-olsr.c
  179. print-ospf.c
  180. print-ospf6.c
  181. print-otv.c
  182. print-pflog.c
  183. print-pgm.c
  184. print-pim.c
  185. print-ppi.c
  186. print-ppp.c
  187. print-pppoe.c
  188. print-pptp.c
  189. print-radius.c
  190. print-raw.c
  191. print-rip.c
  192. print-ripng.c
  193. print-rpki-rtr.c
  194. print-rrcp.c
  195. print-rsvp.c
  196. print-rt6.c
  197. print-rx.c
  198. print-sctp.c
  199. print-sflow.c
  200. print-sip.c
  201. print-sl.c
  202. print-sll.c
  203. print-slow.c
  204. print-smb.c
  205. print-snmp.c
  206. print-stp.c
  207. print-sunatm.c
  208. print-sunrpc.c
  209. print-symantec.c
  210. print-syslog.c
  211. print-tcp.c
  212. print-telnet.c
  213. print-tftp.c
  214. print-timed.c
  215. print-tipc.c
  216. print-token.c
  217. print-udld.c
  218. print-udp.c
  219. print-usb.c
  220. print-vjc.c
  221. print-vqp.c
  222. print-vrrp.c
  223. print-vtp.c
  224. print-vxlan.c
  225. print-wb.c
  226. print-zephyr.c
  227. print-zeromq.c
  228. README
  229. Readme.Win32
  230. route6d.h
  231. rpc_auth.h
  232. rpc_msg.h
  233. rx.h
  234. sctpConstants.h
  235. sctpHeader.h
  236. send-ack.awk
  237. setsignal.c
  238. setsignal.h
  239. signature.c
  240. signature.h
  241. slcompress.h
  242. slip.h
  243. sll.h
  244. smb.h
  245. smbutil.c
  246. stime.awk
  247. strcasecmp.c
  248. tcp.h
  249. tcpdump-stdinc.h
  250. tcpdump.1.in
  251. tcpdump.c
  252. telnet.h
  253. tftp.h
  254. timed.h
  255. TODO
  256. token.h
  257. udp.h
  258. util.c
  259. VERSION
  260. vfprintf.c