Wireshark mailing list archives

Re: [Wireshark-commits] rev 46606: /trunk/epan/wmem/ /trunk/epan/wmem/: wmem_core.c


From: Bill Meier <wmeier () newsguy com>
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 () wireshark org 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

___________________________________________________________________________
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: