Re: [Wireshark-dev] Still compile problems with capture_dlg.c

2011-08-06 Thread Michael Tuexen
On Aug 6, 2011, at 9:48 PM, Joerg Mayer wrote: > Hello Michael, > > On Sat, Aug 06, 2011 at 07:39:57PM +0200, Michael Tuexen wrote: >> from what I could see is that the functions (I #if 0 out) are never called. >> I just wanted to keep the code if it turns out that it is needed when >> Irene is w

Re: [Wireshark-dev] Still compile problems with capture_dlg.c

2011-08-06 Thread Joerg Mayer
Hello Michael, On Sat, Aug 06, 2011 at 07:39:57PM +0200, Michael Tuexen wrote: > from what I could see is that the functions (I #if 0 out) are never called. > I just wanted to keep the code if it turns out that it is needed when > Irene is working on implementing the suggestions. > I've put an ite

Re: [Wireshark-dev] Still compile problems with capture_dlg.c

2011-08-06 Thread Michael Tuexen
On Aug 6, 2011, at 5:42 PM, Joerg Mayer wrote: > On Sat, Aug 06, 2011 at 02:42:00PM +0200, Michael Tuexen wrote: >> No, not a bug in the compiler, a bug in the code. I checked in a fix in >> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38375 > > Thanks, it is gone now. > >>>

Re: [Wireshark-dev] Still compile problems with capture_dlg.c

2011-08-06 Thread Joerg Mayer
On Sat, Aug 06, 2011 at 02:42:00PM +0200, Michael Tuexen wrote: > No, not a bug in the compiler, a bug in the code. I checked in a fix in > http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=38375 Thanks, it is gone now. > > /home/jmayer/work/wireshark/svn/trunk/gtk/capture_dlg.c: A

Re: [Wireshark-dev] Still compile problems with capture_dlg.c

2011-08-06 Thread Michael Tuexen
On Aug 6, 2011, at 12:27 PM, Joerg Mayer wrote: > There are two problems: > 1) Some functions are defined but not used in my configuration. > 2) The else without previous if error. If I #undefine HAVE_PCAP_CREATE, the > compile succeeds. Maybe a compiler bug? > Note: On my Linux system both HAV

[Wireshark-dev] Still compile problems with capture_dlg.c

2011-08-06 Thread Joerg Mayer
There are two problems: 1) Some functions are defined but not used in my configuration. 2) The else without previous if error. If I #undefine HAVE_PCAP_CREATE, the compile succeeds. Maybe a compiler bug? Note: On my Linux system both HAVE_PCAP_CREATE and HAVE_PCAP_REMOTE are defined. cd /home/j