ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 13 Aug 2013 01:02:04 -0700
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.