[Winpcap-bugs] VS2008 Express
Daniel Gavelle
daniel.gavelle at jennic.com
Fri Oct 3 08:13:32 GMT 2008
Hi,
In basic_dump, I had to include stdio.h before pcap.h in Microsoft
Visual Studio 2008. Pulling the includes in by just including pcap.h
produced the compile error below. It looks like the problem exists in
several of the demo projects.
#include <stdio.h>
#include "pcap.h"
Thanks for a great tool.
Daniel Gavelle.
------ Build started: Project: basic_dump, Configuration: Debug Win32 ------
Compiling...
basic_dump.c
c:\program files\microsoft visual studio 9.0\vc\include\stdio.h(358) :
error C3163: '_vsnprintf': attributes inconsistent with previous declaration
c:\program files\microsoft visual studio
9.0\vc\include\stdio.h(350) : see declaration of '_vsnprintf'
--
__________________________________________________
Daniel Gavelle, Software Engineer
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 Registered In England
http://www.jennic.com
__________________________________________________
More information about the Winpcap-bugs
mailing list