Ethereal-dev: Re: [Ethereal-dev] Warning fixes (unused params)

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Thu, 2 May 2002 15:11:27 +0200
On Thu, May 02, 2002 at 08:02:38AM -0500, David Frascone wrote:
> But, I do have a question.  I just set the makefile to do -Wall, and I
> receive no warnings.  Are you guys turning on extra warnings?  Looking at
> gcc's man page -Wall is supposed to include -Wparameter . . . strange.

I'm turning on -Wall -W. -W turns on additional warnings that ar not part
of all warnings (don't ask me how the gcc people do math :)
- signed vs unsigned stuff
- unused variables, functions and parameters.
- uninitialized struct members when initializing them
- static inline vs. inline static
- one or two other things I don't remember right now

Not all of them show real problems, but some of them do.

  ciao
      Jörg

--
Joerg Mayer                                          <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.