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: Rahul Rohit <rahul.rohit@xxxxxxxxxxx>
Date: Tue, 11 Feb 2014 18:20:03 +0530

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

 

 

Regards

Rahul Rohit

 

 

From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Pascal Quantin
Sent: Tuesday, February 11, 2014 6:09 PM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] error encountered during compilation on windows

 

Hi,

 

2014-02-11 8:41 GMT+01:00 Rahul Rohit <rahul.rohit@xxxxxxxxxxx>:

Hi,

During the build of wireshark  exe in windows machice(32 bit) we get the following errors.

 

epan\except.h(97) : error C2054: expected '(' to follow 'WS_MSVC_NORETURN'

epan\except.h(97) : error C2085: 'except_rethrow' : not in formal parameter list

epan\except.h(98) : error C2082: redefinition of formal parameter 'WS_MSVC_NORETURN'

epan\except.h(98) : error C2143: syntax error : missing ';' before 'type'

epan\except.h(98) : error C2085: 'except_throw' : not in formal parameter list

epan\except.h(99) : error C2082: redefinition of formal parameter 'WS_MSVC_NORETURN'

epan\except.h(99) : error C2143: syntax error : missing ';' before 'type'

epan\except.h(99) : error C2085: 'except_throwd' : not in formal parameter list

epan\except.h(100) : error C2082: redefinition of formal parameter 'WS_MSVC_NORETURN'

epan\except.h(100) : error C2143: syntax error : missing ';' before 'type'

epan\except.h(100) : error C2085: 'except_throwf' : not in formal parameter list.

 

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?

Best regards,
Pascal.





===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================