diff options
author | Ruslan Bukin <br@FreeBSD.org> | 2016-07-24 18:04:12 +0000 |
---|---|---|
committer | Ruslan Bukin <br@FreeBSD.org> | 2016-07-24 18:04:12 +0000 |
commit | 8500b15f9f0dd59c411d8d94083f58be30b12af6 (patch) | |
tree | f38866cbcd2691bb5d2a048892265c290ea8ae2f /share | |
parent | c0723016178f024f43ca16ca0ed8eb618900c186 (diff) | |
download | src-8500b15f9f0dd59c411d8d94083f58be30b12af6.tar.gz src-8500b15f9f0dd59c411d8d94083f58be30b12af6.zip |
Fix style.
Notes
Notes:
svn path=/head/; revision=303271
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.sys.mk | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 428924516b43..461c56f24cfb 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -111,12 +111,30 @@ CWARNFLAGS+= -Wno-format # GCC 5.2.0 .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 50200 -CWARNFLAGS+= -Wno-error=unused-function -Wno-error=enum-compare -Wno-error=logical-not-parentheses -Wno-error=bool-compare -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=clobbered -Wno-error=cast-align -Wno-error=extra -Wno-error=attributes -Wno-error=inline -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=strict-aliasing -Wno-error=address +CWARNFLAGS+= -Wno-error=address \ + -Wno-error=array-bounds \ + -Wno-error=attributes \ + -Wno-error=bool-compare \ + -Wno-error=cast-align \ + -Wno-error=clobbered \ + -Wno-error=enum-compare \ + -Wno-error=extra \ + -Wno-error=inline \ + -Wno-error=logical-not-parentheses \ + -Wno-error=strict-aliasing \ + -Wno-error=uninitialized \ + -Wno-error=unused-but-set-variable \ + -Wno-error=unused-function \ + -Wno-error=unused-value .endif # GCC 6.1.0 .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100 -CWARNFLAGS+= -Wno-error=unused-const-variable= -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=misleading-indentation -Wno-error=tautological-compare +CWARNFLAGS+= -Wno-error=misleading-indentation \ + -Wno-error=nonnull-compare \ + -Wno-error=shift-negative-value \ + -Wno-error=tautological-compare \ + -Wno-error=unused-const-variable .endif # How to handle FreeBSD custom printf format specifiers. |