Wireshark mailing list archives

Re: error encountered during compilation on windows


From: Pascal Quantin <pascal.quantin () gmail com>
Date: Tue, 11 Feb 2014 13:39:20 +0100

Hi,

2014-02-11 8:41 GMT+01:00 Rahul Rohit <rahul.rohit () aricent com>:

 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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: