[Winpcap-users] [PATCH] mingw build

Alon Bar-Lev alon.barlev at gmail.com
Sat Oct 9 02:40:59 PDT 2010


On Thu, Oct 7, 2010 at 2:02 AM, Guy Harris <guy at alum.mit.edu> wrote:
>
> > 5. yacc does not accept -y argument.

> If there *is* a compelling reason not to run Bison, then
>
>        1) it should not include "-y"
>
> and
>
>        2) either it should not do "-p pcap_", if whatever version of YACC is being used doesn't support "-p", or:
>
>                2a) grammar.y should check for YYBISON *and* some other #define named appropriately for whatever parser-generator is being used
>
>        and
>
>                2b) it should do "-D{that #define name}".

So what do you suggest?
Why is there a difference between libpcap and winpcap in this regard?

>
> > 7. Minor modification of (char*)A += code.
>
> (I.e., "casting lvalues considered harmful - and possibly rejected by some compilers.")

Well, gcc complains... :)

BTW: Where can I find master brunch of winpcap?

Thanks!
Alon.


More information about the Winpcap-users mailing list