Ethereal-dev: Re: [Ethereal-dev] Updates to NCP Dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 19 Feb 2003 16:44:33 -0800
On Wed, Feb 19, 2003 at 05:29:18PM -0700, Greg Morris wrote:
> I am working on Windows with MickeySoft Visual C++. I do not get the
> same warnings.

Every compiler I've used seems to have its own set of warnings; GCC
warns about some things the others don't, Sun C warns about some things
the others don't, Digital's^H^H^H^H^H^H^H^H^HCompaq's^H^H^H^H^H^H^H^HHP's
compiler for Alpha warns about some things the others don't, and MSVC++
warns about some things the others don't.

> I would be more then happy to fix them if I can see them.

I don't know whether you can get MSVC++ to give the a warning for a null
body for an if statement with a command-line flag; the documentation
lists a "/W" flag with 4 levels, the default being level 1 "Displays
severe warning messages"; I may try it with some of the higher warning
levels to see if that

	1) reports real problems;

	2) reports noise that's not easy to fix;

	3) all of the above.