ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Build problem in private branch

From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Sun, 7 Jul 2013 21:03:57 +0000

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Guy Harris
Sent: den 7 juli 2013 22:58
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Build problem in private branch


On Jul 7, 2013, at 1:44 PM, Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:

> This have been driving me nuts today, I can build Wireshark from trunk 
> but not my private tree which is made by copying Wireshark/trunk files into a separate svn dir Masking out some files.
> capture_dlg.c(1279) : error C2220: warning treated as error - no 
> 'object' file generated
> capture_dlg.c(1279) : warning C4020: 'capture_get_if_capabilities' : 
> too many actual parameters
> capture_dlg.c(1410) : warning C4020: 'capture_interface_list' : too 
> many actualparameters
> capture_dlg.c(5301) : warning C4020: 'capture_start' : too many actual 
> parameters

In your private branch, are capture.h and capture_ifinfo.h at rev 50188 or greater?  Rev 50188 added a parameter to capture_start(), capture_get_if_capabilities(), and capture_interface_list():

Yes it is, but somehow that change does not seem to be picked up, or? Which is weird as I have rebuilt from scratch many times...ARGH

	------------------------------------------------------------------------
	r50188 | lego | 2013-06-27 10:10:50 -0700 (Thu, 27 Jun 2013) | 8 lines

	get main_window_update out of the way... pass an update_cb to the capture_sync stuff
	... as per the XXX comment removed from tshark.c this was a mess to keep the linker
	happy... I couldn't!

	I did this without even understanding whether calling main_window_update was realy
	necessary in most cases. I guess nothing or more specific update cbs would be best.

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe