[Winpcap-users] error while building winpcap

Joshua (Shiwei) Zhao swzhao at gmail.com
Mon Nov 17 23:08:16 GMT 2008


Hi there,

I'm thinking to make a small change in winpcap so that I can test my
idea with wireshark. So I downloaded winpcap-4.0.2 source code and
tried to build it at first.

With both VS2008ee and VS2005ee, I met the following error message and
I'm confused. Here studio.h is given by VS itself. How come it shows
this error? Is there some configuration problem or what else?

1>C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(358)
: error C3163: '_vsnprintf': attributes inconsistent with previous
declaration
1>        C:\Program Files\Microsoft Visual Studio
9.0\VC\include\stdio.h(350) : see declaration of '_vsnprintf'

I really appreciate your help.

Thanks,
Joshua


More information about the Winpcap-users mailing list