Wireshark mailing list archives
gtk/capture_dlg.h
From: Gisle Vanem <gvanem () broadpark no>
Date: Sat, 20 Aug 2011 21:22:15 +0200
Building w/o HAVE_PCAP_REMOTE or HAVE_PCAP_SETSAMPLING, I got this error from MSVC: file_dlg_win32.cG:\MingW32\src\inet\Wireshark\gtk\capture_dlg.h(58) : error C2016: C requires that a struct or union has at least one member
Can be solved by adding a dummy value:
--- SVN-Latest\gtk\capture_dlg.h Wed Aug 17 17:16:30 2011
+++ gtk\capture_dlg.h Wed Aug 17 22:28:27 2011
@@ -55,6 +55,7 @@
capture_sampling sampling_method;
int sampling_param;
#endif
+ int dummy;
} remote_options;
------------------
--gv
___________________________________________________________________________
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:
- gtk/capture_dlg.h Gisle Vanem (Aug 20)
- Re: gtk/capture_dlg.h Stig Bjørlykke (Aug 20)
- Re: gtk/capture_dlg.h Guy Harris (Aug 20)
- Re: gtk/capture_dlg.h Guy Harris (Aug 20)
