Skip to content

Commit

Permalink
r350739 try #2
Browse files Browse the repository at this point in the history
For some inexplicable reason, C++ compilers reject the -Wno- flag, and also
(ab)use CWARNFLAGS.

Reported by:	imp
  • Loading branch information
cemeyer committed Aug 8, 2019
1 parent 6d94269 commit 4c8a9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/mk/bsd.sys.mk
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ CWARNFLAGS+= -Wno-unknown-pragmas
.endif # IGNORE_PRAGMA

# This warning is utter nonsense
CWARNFLAGS+= -Wno-format-zero-length
CFLAGS+= -Wno-format-zero-length

# We need this conditional because many places that use it
# only enable it for some files with CLFAGS.$FILE+=${CLANG_NO_IAS}.
Expand Down

0 comments on commit 4c8a9e2

Please sign in to comment.