|
|
| version 1.4, 2004/02/16 19:57:39 | version 1.5, 2004/02/24 18:07:11 |
|---|---|
| Line 8 | Line 8 |
| # most of the remaining warnings. Warnings introduced with -Wall will | # most of the remaining warnings. Warnings introduced with -Wall will |
| # also pop up, but are easier to fix. | # also pop up, but are easier to fix. |
| # | # |
| .if ${CCVER} == "gcc2" | |
| CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ | |
| -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ | |
| -fformat-extensions -ansi | |
| .else | |
| CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ | CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ |
| -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ | -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ |
| -ansi | -ansi |
| .endif | |
| # | # |
| # The following flags are next up for working on: | # The following flags are next up for working on: |
| # -W | # -W |