Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 46606: /trunk/epan/wmem/ /trunk/epan

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Tue, 18 Dec 2012 23:48:40 -0500
On 12/18/2012 11:43 PM, Guy Harris wrote:

On Dec 18, 2012, at 5:08 PM, eapache@xxxxxxxxxxxxx wrote:

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46606



User: eapache
Date: 2012/12/18 05:08 PM

Log: Try to fix windows builds - MSVC doesn't like
g_assert_not_reached() ?


MSVC doesn't understand that it never returns.  I don't know whether
there's a way to tell MSVC that a function never returns,

There is: Wireshark uses it in a few places:

See #define MSVC_NORETURN in config.h