Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/xlint/lint1

Module Name:    src
Committed By:   christos
Date:           Thu Jul 31 15:21:34 UTC 2008

Modified Files:
        src/usr.bin/xlint/lint1: err.c externs1.h main1.c print.c tree.c

Log Message:
Add Picky flag; this produces more warnings:
1. long a; int i; a = i * i;
   suggests casting i to long, so that we gain precision in the multiplication.
2. warns about magnitude comparisons in enums.
3. warns about possible sign extension issues when integer types become widened.

To generate a diff of this commit:
cvs rdiff -r1.37 -r1.38 src/usr.bin/xlint/lint1/err.c
cvs rdiff -r1.22 -r1.23 src/usr.bin/xlint/lint1/externs1.h
cvs rdiff -r1.18 -r1.19 src/usr.bin/xlint/lint1/main1.c
cvs rdiff -r1.3 -r1.4 src/usr.bin/xlint/lint1/print.c
cvs rdiff -r1.50 -r1.51 src/usr.bin/xlint/lint1/tree.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index