Skip to content

Commit

Permalink
Ignore volatile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Sep 21, 2024
1 parent 950fc35 commit 27caf1b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sming/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ ifneq ($(STRICT),1)
CXXFLAGS += -Wno-reorder
endif

# Use of bitwise assignment for volatile registers is deprecated in C++20 but de-deprecated in C++23
ifeq ($(SMING_CXX_STD),c++20)
CXXFLAGS += -Wno-volatile
endif

# ccache can speed up re-builds considerably
BUILD_VARS += ENABLE_CCACHE
ENABLE_CCACHE ?= 0
Expand Down

0 comments on commit 27caf1b

Please sign in to comment.