Skip to content

Commit

Permalink
suppressed warning that appears with the latest version of the compil…
Browse files Browse the repository at this point in the history
…er. (electro-smith#324)

Co-authored-by: stephenhensley <stephen.p.hensley@gmail.com>
  • Loading branch information
stephenhensley and stephenhensley authored Apr 19, 2021
1 parent 79f2337 commit d391745
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ C_INCLUDES = \
-I$(MODULE_DIR) \
-I.

WARNINGS += -Wall -Wno-attributes -Wno-strict-aliasing -Wno-maybe-uninitialized -Wno-missing-attributes #-Werror
# suppressions for warnings introduced by HAL/FatFS
WARNINGS += -Wall -Wno-attributes -Wno-strict-aliasing -Wno-maybe-uninitialized -Wno-missing-attributes -Wno-stringop-overflow #-Werror
CPP_WARNINGS += -Wno-register

# compile gcc flags
Expand Down
2 changes: 1 addition & 1 deletion core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ C_INCLUDES += -I$(FATFS_DIR)
# compile gcc flags
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections

CFLAGS = $(MCU) $(C_DEFS) $(C_INCLUDES) $(OPT) -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections
CFLAGS = $(MCU) $(C_DEFS) $(C_INCLUDES) $(OPT) -Wall -Wno-missing-attributes -fasm -fdata-sections -ffunction-sections -Wno-stringop-overflow

ifeq ($(DEBUG), 1)
#CFLAGS += -g -gdwarf-2
Expand Down

0 comments on commit d391745

Please sign in to comment.