Wireshark-dev: Re: [Wireshark-dev] [msvc] 'etype_vals' : unknown size

From: DbdM Tbt <spin.x2k@xxxxxxxxx>
Date: Tue, 13 Aug 2013 18:00:27 +0800
Hello Sir Harris,
Thank you for the reply.
Unfortunately I am not building from a checkout (SVN/git), instead I am using the wireshark source from here:
http://www.wireshark.org/download/src/wireshark-1.10.1.tar.bz2
I retrieved the latest etypes.h though and replaced my copy.
However, the error will still occur:
C:\wireshark-1.10.1\epan/etypes.h(551) : error C2133: 'etype_vals' : unknown size

Would building from a checkout matter? (I think it won't)

Thank you,
David



On Tue, Aug 13, 2013 at 4:02 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:

On Aug 12, 2013, at 10:38 PM, Anders Broman <a.broman@xxxxxxxxxxxx> wrote:

> DbdM Tbt skrev 2013-08-13 07:11:
>
> Hi,
> From below I take it your dissector is written in C++

...so, if he's building from an SVN checkout (or git checkout) of the trunk, he should try backing out his change to epan/etypes.h, doing an "svn update" (or "git pull" if he's using git), and see whether the change I checked in as r51332 (wrapping the header in

        #ifdef __cplusplus
        extern "C" {
        #endif /* __cplusplus */

and

        #ifdef __cplusplus
        }
        #endif /* __cplusplus */

for the benefit of C++ code) fixes the problem.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe