Skip to content

Commit

Permalink
maint/build ~ (Makefile) revise config - suppress bcc32 warning (W8…
Browse files Browse the repository at this point in the history
…008) + improve comment clarity
  • Loading branch information
rivy committed Mar 23, 2024
1 parent b9e9c37 commit c503290
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile.win.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ INC_DIRS := ${BASEPATH}

# * disable warnings
# (bcc32) ## -w-NNNN :: disable warning WNNNN
# ~ W8004 == VARIABLE is assigned a value that is never used ; W8057 == parameter is never used
# ~ W8064 == call to function with no prototype ; W8065 == no prototype for function
# ~ W8004 == VARIABLE is assigned a value that is never used
# ~ W8008 == Condition is always true in function
# ~ W8057 == parameter is never used
# ~ W8064 == call to function with no prototype
# ~ W8065 == no prototype for function
# ~ W8066 == unreachable code in function
CFLAGS_bcc32 := -w-8004 -w-8057 -w-8064 -w-8065 -w-8066
CFLAGS_bcc32 := -w-8004 -w-8008 -w-8057 -w-8064 -w-8065 -w-8066
CFLAGS_cl := $(if $(filter clang-cl,${CC}),-Wno-deprecated-non-prototype,)
CFLAGS_clang := -Wno-comment -Wno-deprecated-declarations -Wno-strict-prototypes -Wno-unused-parameter
CFLAGS_gcc := -Wno-comment -Wno-deprecated-declarations -Wno-unused-parameter

0 comments on commit c503290

Please sign in to comment.