Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 7910] Compile failure: redefinition of wmem_allocator_t

Date: Wed, 24 Oct 2012 04:46:13 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7910

--- Comment #2 from Edwin Groothuis <wireshark@xxxxxxxxxxx> 2012-10-24 04:46:13 PDT ---
A clean rebuild didn't work neither.

However, this simple patch resolved it:

Index: epan/wmem/wmem_strutl.h
===================================================================
--- epan/wmem/wmem_strutl.h     (revision 45755)
+++ epan/wmem/wmem_strutl.h     (working copy)
@@ -34,7 +34,7 @@
 extern "C" {
 #endif /* __cplusplus */

-typedef struct _wmem_allocator_t wmem_allocator_t;
+/* typedef struct _wmem_allocator_t wmem_allocator_t; */

 gchar *
 wmem_strdup(wmem_allocator_t *allocator, const gchar *src);

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.