| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
| |
I should have done it that way in the first place.
Pointed-out-by: bde
|
|
|
|
| |
Submitted by: Allen Campbell <allenc@verinet.com>
|
|
|
|
| |
This reduces the size of the kernel and modules when compiled with GCC 2.95.
|
| |
|
|
|
|
|
|
| |
is not implied by -Wall as claimed by gcc.1. Adding it causes a
measly 7193 new warnings for LINT, mostly for "unused parameter" and
"comparison between signed and unsigned".
|
| |
|
| |
|
|
|
|
|
|
| |
kernel modules are built with the right flags.
Suggested by: Andrew Gallatin <gallatin@cs.duke.edu>
|
|
|
|
| |
Reviewed by: cvs-committers@freebsd.org
|
|
|
|
|
| |
-current version of gcc. Without it, -Wformat would complain about all
the nonstandard %[Dbrz] formats in the kernel.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
variables were lost when we removed -W, and 23 new ones including at
least one serious one have crept in for LINT.
Restored -Winline to CFLAGS. This gives only 3 old warnings and 1 new
for LINT.
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2.2 are more obvious. -Winline is unimportant, but -W gives thousands
of warnings for comparisions. Turning off -W also loses warnings for:
- auto variables clobbered by longjmp. Not much of a problem in the kernel.
- functions returning without a value. I don't like losing this.
- an expression statement or the left side of a comma operand contains no
side effects. Turning this off also stops warnings for the low quality
debugging macros in gsc.c and lpt.c.
Should be in 2.2.
|
|
|
|
|
|
|
| |
Also disabled -Wunused. It caused too many warnings even for me.
The sign mismatch warnings should be fixed first. They are more
important and harder to disable (they are controlled by -W, which
controls too many things).
|
|
Centralized the definition of CWARNFLAGS into bsd.kern.mk.
|