Re: [Wireshark-dev] Prevent compiler warnings by using "stop on warnings"/"treat warnings as errors" compiler option?

2007-03-19 Thread Jeff Morriss
Ulf Lamping wrote: > Jeff Morriss wrote: >> Actually GCC already has a way to avoid this: "-Wno-pointer-sign". >> >> Apparently: >> >> http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00505.html >> >> someone didn't like the fact that Linux had a few thousand such warnings >> when compiled with GCC

Re: [Wireshark-dev] Prevent compiler warnings by using "stop on warnings"/"treat warnings as errors" compiler option?

2007-03-19 Thread Ulf Lamping
Jeff Morriss wrote: > Actually GCC already has a way to avoid this: "-Wno-pointer-sign". > > Apparently: > > http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00505.html > > someone didn't like the fact that Linux had a few thousand such warnings > when compiled with GCC 4. > > We could add that and pr

Re: [Wireshark-dev] Prevent compiler warnings by using "stop on warnings"/"treat warnings as errors" compiler option?

2007-03-19 Thread Ulf Lamping
Guy Harris wrote: > The main reason for warnings you can't eliminate, I suspect, are > crufty vendor #include headers. At least some versions of Solaris > have, as I remember, crappy old X11 headers that don't have function > prototypes by default, hence the hack to turn them on in configure

Re: [Wireshark-dev] Prevent compiler warnings by using "stop on warnings"/"treat warnings as errors" compiler option?

2007-03-19 Thread Jeff Morriss
Luis Ontanon wrote: > the point is what kind of warnings can be cleaned up: > > to fix "pointer arguments differ in signedness" for example would be > a waste of time, as they are caused by guint8* used instaed of gchar* > on those systems (most) that treat char as an unsigned. Actually GCC al

Re: [Wireshark-dev] Prevent compiler warnings by using "stop on warnings"/"treat warnings as errors" compiler option?

2007-03-19 Thread Sebastien Tandel
I agree with Ulf. Warnings should not appear (at least most of them) when compiling wireshark. For the case "differ in signedness" case, you can use (guchar*). But as it was already discussed with Guy, wireshark needs a library to handle strings accurately. One starting point could simply be wrap

Re: [Wireshark-dev] Prevent compiler warnings by using "stop on warnings"/"treat warnings as errors" compiler option?

2007-03-19 Thread Ulf Lamping
Luis Ontanon wrote: > the point is what kind of warnings can be cleaned up: > Well, do you mean "cannot be cleanup up" or "I'm too lazy to clean them up" ;-) > to fix "pointer arguments differ in signedness" for example would be > a waste of time, as they are caused by guint8* used instaed of

Re: [Wireshark-dev] Prevent compiler warnings by using "stop on warnings"/"treat warnings as errors" compiler option?

2007-03-19 Thread Guy Harris
On Mar 19, 2007, at 7:04 PM, Ulf Lamping wrote: > In my experience having a compiler warning free code is a good way to > prevent very subtle bugs and would also be a good addition to the > programs security - and BTW more pleasant to work with ;-) > > You will often hear the following excuse on

Re: [Wireshark-dev] Prevent compiler warnings by using "stop on warnings"/"treat warnings as errors" compiler option?

2007-03-19 Thread Luis Ontanon
the point is what kind of warnings can be cleaned up: to fix "pointer arguments differ in signedness" for example would be a waste of time, as they are caused by guint8* used instaed of gchar* on those systems (most) that treat char as an unsigned. But in order to follow that policy you'll have

[Wireshark-dev] Prevent compiler warnings by using "stop on warnings"/"treat warnings as errors" compiler option?

2007-03-19 Thread Ulf Lamping
Hi List! In my experience having a compiler warning free code is a good way to prevent very subtle bugs and would also be a good addition to the programs security - and BTW more pleasant to work with ;-) You will often hear the following excuse on this topic: "but you cannot write code which w

Re: [Wireshark-dev] Opinions: Splash screen

2007-03-19 Thread Ulf Lamping
Graeme Lunt wrote: > Hi, > > A while back, when Wireshark was being slow to startup I think, I added a > modified splash screen to my development version (see attached image). It > updates as each protocol is registered and then as it's handoff function is > called. > > It obviously doesn't speed u

Re: [Wireshark-dev] Reusing Wireshark Code

2007-03-19 Thread Guy Harris
On Mar 18, 2007, at 2:37 PM, Andreas Bakurov wrote: > I'm writing a program that should parse TCP/IP packets, currently I'm > using libpcap for this purpose which doesn't help much (I should cast > each packet to the header structure). > Is there a way to reuse wireshark code ? That depends on w

Re: [Wireshark-dev] Bug 491 : time delta behaviour

2007-03-19 Thread Sake Blok
On Mon, Mar 19, 2007 at 10:45:42AM +0800, Jeff Morriss wrote: > > > I did however start to look into the code to see how I could implement > > the extra field. I realise that I need to start to understand how > > wireshark actually handles frames. Some fields are filled by the > > dissector and s

Re: [Wireshark-dev] Win32: after recent GTK lib updates, Wimp doesn't work ("old style" GUI for GTK2 now)

2007-03-19 Thread Stephen Fisher
On Mon, Mar 19, 2007 at 01:30:04AM +0100, Ulf Lamping wrote: > After the latest GTK on Win32 lib updates (two times in recent days), > the GTK-Wimp theme doesn't seem to work (at least on my machine) - the > GTK2 version looks like "old style" GTK again. > > My first thought was a relocation of

[Wireshark-dev] Opinions: Splash screen

2007-03-19 Thread Graeme Lunt
Hi, A while back, when Wireshark was being slow to startup I think, I added a modified splash screen to my development version (see attached image). It updates as each protocol is registered and then as it's handoff function is called. It obviously doesn't speed up initialisation, but does give s

Re: [Wireshark-dev] I would to make a dissector for ms binl protocol

2007-03-19 Thread Jaap Keuter
Hi, Webpage looks good. You can find all you need to know for setting up a development environment in the developer guide on the website documentation section. The source tree contains a doc directory with README files. README.developer is what you want to read. Thanx, Jaap On Mon, 19 Mar 2007,

[Wireshark-dev] I would to make a dissector for ms binl protocol

2007-03-19 Thread Gianluigi Tiesi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 binl protocol (Boot Information Negotiation Layer) it's used by microsoft to do network installations of windows client, I've partially reversed the proto and I'm able to use linux or other os to do it, I've made a little doc for the packets: http://os

Re: [Wireshark-dev] TFO codec list problem

2007-03-19 Thread Luis Ontanon
Can you send me a capture file with at least one packet containing the TFO codec list so I can implement it. Luis On 3/19/07, melike pinar ata <[EMAIL PROTECTED]> wrote: > Thank you for your help and your attention. I've installed the latest build > (wireshark-setup-0.99.6-SVN-21064.exe), some pa

[Wireshark-dev] TFO codec list problem

2007-03-19 Thread melike pinar ata
Thank you for your help and your attention. I’ve installed the latest build (wireshark-setup-0.99.6-SVN-21064.exe), some parameters still cannot to be decoded (codecList). Regards, ... streamMode: sendRecv (2) propertyParms: 3 items Item propertyName: 00310001 3G TFO Control (003

[Wireshark-dev] (no subject)

2007-03-19 Thread Andreas Bakurov
___ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-dev

[Wireshark-dev] idl2eth

2007-03-19 Thread Zivcec, Kristijan
Hi, Does anyone have idl2eth version for windows? I am stuck with linux version that is usable but only on linux. Thanks in advance, Kristijan ___ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wires