Skip to content

Commit

Permalink
Update makefile to only skip check for clang-10
Browse files Browse the repository at this point in the history
  • Loading branch information
archang19 committed Dec 16, 2024
1 parent 47a9043 commit f29c2c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,10 @@ endif
ifdef USE_CLANG
# Used by some teams in Facebook
WARNING_FLAGS += -Wshift-sign-overflow -Wambiguous-reversed-operator \
-Wimplicit-fallthrough -Wreinterpret-base-class -Wundefined-reinterpret-cast \
-Wsuggest-destructor-override
-Wimplicit-fallthrough -Wreinterpret-base-class -Wundefined-reinterpret-cast
ifneq ($(CC), clang-10)
WARNING_FLAGS += -Wsuggest-destructor-override
endif
endif

ifeq ($(PLATFORM), OS_OPENBSD)
Expand Down

0 comments on commit f29c2c2

Please sign in to comment.