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] error encountered during compilation on windows

From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Tue, 11 Feb 2014 14:17:52 +0100
2014-02-11 13:50 GMT+01:00 Rahul Rohit <rahul.rohit@xxxxxxxxxxx>:

Hi,

 

<<WS_MSVC_NORETURN is supposed to be defined as:
#define WS_MSVC_NORETURN    __declspec(noreturn)

in the auto generated config.h file found at the root of your working copy.

Do you confirm you have it defined in your local copy?

Does it happen when you compile a specific file? If yes, do you have config.h included prior to except.h inclusion?>>

The definition ‘ WS_MSVC_NORETURN  __declspec(noreturn)’  is present in our config.h file. No, the problem is general and not related to any particular file

WS_MSVC_NORETURN is also used in other files: dumpcap.c, epan/except.c, epan/proto.h
Do you have to comment it also, or only its call in epan/except.h file?