Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] wireshark compilation errors in Cygwin.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 21 Jul 2010 00:41:03 -0700
On Jul 20, 2010, at 11:30 PM, upendra.allu@xxxxxxxxx wrote:

> packet-tsrp-template.c(134) : error C2275: 'proto_item' : illegal use of this type as an expression
>         ../..\epan\proto.h(269) : see declaration of 'proto_item'

Please read the "Portability" section of the "doc/README.developer" document in the Wireshark source, and then go through your code to make sure you're not doing *anything* that it says not to do.  Not all compilers are GCC, and not all things that GCC accepts are accepted by all C compilers, including the Microsoft C compiler that's used for Wireshark on Windows.