tcpdump mailing list archives
Re: Compilation Error - C2894: templates cannot be declared to have 'C' linkage
From: "Varuna De Silva" <varunax () gmail com>
Date: Sat, 22 Sep 2007 13:07:11 +0530
Hi, This is the program pcap-xxx.c which includes in it xxx_open_live() in it. and in this program, xxx_read(), we need this include file. We used it since it is the header file in which it has, pcap structure defined. We did this after, pcap-septel.c which also has this include file. thanks Xavier On 9/21/07, Guy Harris < guy () alum mit edu> wrote: On Sep 19, 2007, at 11:49 PM, Varuna De Silva wrote:
I tried to compile a program which includes pcap-int.h,
Why is the program including an internal libpcap file that's *NOT* part of the official libpcap/WinPcap interface? - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
Current thread:
- Compilation Error - C2894: templates cannot be declared to have 'C' linkage Varuna De Silva (Sep 19)
- Re: Compilation Error - C2894: templates cannot be declared to have 'C' linkage Guy Harris (Sep 20)
- <Possible follow-ups>
- Re: Compilation Error - C2894: templates cannot be declared to have 'C' linkage Varuna De Silva (Sep 24)
- Re: Compilation Error - C2894: templates cannot be declared to have 'C' linkage Guy Harris (Sep 24)