Skip to content

Commit 5424d9d

Browse files
authored
Downgrade return-mismatch error to warning (FreeRTOS#1374)
portYIELD_FROM_ISR(x) is defined as 'return x' in the Windows port which causes compilation failures in the WIN32-MinGW demo when using GCC 14. Failure: https://github.com/FreeRTOS/FreeRTOS-Kernel/actions/runs/18272553628/job/52017559140?pr=1317 Signed-off-by: Gaurav Aggarwal <[email protected]>
1 parent bcef9d0 commit 5424d9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FreeRTOS/Demo/WIN32-MingW/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ BUILD_DIR := ./build
33

44
# Compiler - Note this expects you are using MinGW version of GCC
55
CC := gcc
6-
CFLAGS := -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -Wcast-qual -D_WIN32_WINNT=0x0601
6+
CFLAGS := -O0 -g3 -Wall -Wextra -c -fmessage-length=0 -Wcast-qual -Wno-error=return-mismatch -D_WIN32_WINNT=0x0601
77

88
ifeq ($(COVERAGE_TEST),1)
99
CFLAGS += -DprojCOVERAGE_TEST=1

0 commit comments

Comments
 (0)