[Winpcap-bugs] compiling problem with visual studio 2008 on Vista :'_vsnprintf'

Gianluca Varenni gianluca.varenni at cacetech.com
Fri Dec 28 15:02:52 GMT 2007


It's a problem with one of the WinPcap include files.

The quick workaround is to open wpdpack\include\pcap-stdinc.h and comment out the line saying

#define snprintf _snprintf (at the end of the file)

This should solve the problem.

Have a nice day
GV


  ----- Original Message ----- 
  From: Syed (Abdul) Wahab Ali 
  To: winpcap-bugs at winpcap.org 
  Sent: Monday, December 24, 2007 9:06 AM
  Subject: [Winpcap-bugs] compiling problem with visual studio 2008 on Vista :'_vsnprintf'


  Hi

  i am using WinPcap 4.0.2, but when i open the Examples's solution, MS VS2008 1st convert this bulid to 2008 solution and after successful conversion when i build or complie it. it give error: 

  Error    1    error C3163: '_vsnprintf': attributes inconsistent with previous declaration    c:\program files\microsoft visual studio 9.0\vc\include\stdio.h    358    savedump

  How can i remove it?

  From 
  Syed Wahab Ali








------------------------------------------------------------------------------
  Looking for last minute shopping deals? Find them fast with Yahoo! Search.


------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-bugs mailing list
  Winpcap-bugs at winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-bugs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-bugs/attachments/20071228/3ba1f22d/attachment.htm


More information about the Winpcap-bugs mailing list