| Remove '-Winline' from CWARNFLAGS. |
| |
| diff -ru --exclude-from freebsd-src-diff-exclude-names --new-file /var/archive3/public/freebsd-releng-10.4-src/share/mk/bsd.sys.mk freebsd-10.4/share/mk/bsd.sys.mk |
| --- /var/archive3/public/freebsd-releng-10.4-src/share/mk/bsd.sys.mk 2017-09-29 08:20:20.000000000 +0800 |
| +++ freebsd-10.4/share/mk/bsd.sys.mk 2024-02-09 12:29:22.679604000 +0800 |
| @@ -39,7 +39,7 @@ |
| CWARNFLAGS+= -Wall -Wno-format-y2k |
| .endif # WARNS >= 2 |
| .if ${WARNS} >= 3 |
| -CWARNFLAGS+= -W -Wno-unused-parameter -Wstrict-prototypes\ |
| +CWARNFLAGS+= -Wextra -Wno-unused-parameter -Wstrict-prototypes \ |
| -Wmissing-prototypes -Wpointer-arith |
| .endif # WARNS >= 3 |
| .if ${WARNS} >= 4 |
| @@ -52,7 +52,7 @@ |
| .endif # WARNS >= 4 |
| # BDECFLAGS |
| .if ${WARNS} >= 6 |
| -CWARNFLAGS+= -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls\ |
| +CWARNFLAGS+= -Wchar-subscripts -Wnested-externs -Wredundant-decls \ |
| -Wold-style-definition |
| .if ${COMPILER_TYPE} == "clang" && !defined(EARLY_BUILD) && \ |
| !defined(NO_WMISSING_VARIABLE_DECLARATIONS) |