Skip to content

Commit

Permalink
add use of CUNKNOWN
Browse files Browse the repository at this point in the history
  • Loading branch information
lcn2 committed Jul 1, 2024
1 parent 8e3a0ba commit 787ba14
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions Makefile.example
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,27 @@ TRUE= true

# Common C compiler warnings to silence
#
# Example: CSILENCE= -Wno-some-thing -Wno-another-thing -Wno-unknown-warning-option
# Example: CSILENCE= -Wno-some-thing -Wno-another-thing
#
# NOTE: If you add -Wno-stuff to CSILENCE, please update
# CUNKNOWN in the next section.
#
# NOTE: Please don't add -Wno-unknown-warning-option to CSILENCE.
#
#
CSILENCE=

# Attempt to silence unknown warnings
#
# If you add -Wno-stuff to CSILENCE, then please change CUNKNOWN to read:
#
# CUNKNOWN= -Wno-unknown-warning-option
#
CUNKNOWN=

# Common C compiler warning flags
#
CWARN= -Wall -Wextra -pedantic ${CSILENCE}
CWARN= -Wall -Wextra -pedantic ${CSILENCE} ${CUNKNOWN}

# The standard to compile against
#
Expand Down

0 comments on commit 787ba14

Please sign in to comment.