You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
main.c: In function ‘defaults’:
main.c:73:17: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
73 | device = pcap_lookupdev(errbuf);
| ^~~~~~
In file included from /usr/include/pcap.h:43,
from tcptraceroute.h:38,
from main.c:23:
/usr/include/pcap/pcap.h:394:18: note: declared here
394 | PCAP_API char *pcap_lookupdev(char *)
| ^~~~~~~~~~~~~~
It compiles anyway, but just in case you wish to follow gcc's advice...
The text was updated successfully, but these errors were encountered:
Compiling on Slackware64 15.0
main.c: In function ‘defaults’:
main.c:73:17: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
73 | device = pcap_lookupdev(errbuf);
| ^~~~~~
In file included from /usr/include/pcap.h:43,
from tcptraceroute.h:38,
from main.c:23:
/usr/include/pcap/pcap.h:394:18: note: declared here
394 | PCAP_API char *pcap_lookupdev(char *)
| ^~~~~~~~~~~~~~
It compiles anyway, but just in case you wish to follow gcc's advice...
The text was updated successfully, but these errors were encountered: