From a84c68850df1a1ee7baa95dc49b1cb2805c27ec0 Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Tue, 26 Mar 2024 16:25:09 +0800 Subject: [PATCH] Slience the -Wconvert-null warning easyx/include/easyx.h:147 triggers this warning. Why convert NULL to int types anyways? --- Makefile.flags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.flags b/Makefile.flags index d3cc648..876a43a 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -39,7 +39,7 @@ export INCLUDEFLAGS := $(Platform_INCLUDEFLAGS) export CPPFLAGS = -DWIN32_LEAN_AND_MEAN export CFLAGS = $(INCLUDEFLAGS) $(BUILD_OPTIONS) -Wno-attributes -g -export CXXFLAGS = $(INCLUDEFLAGS) -DHELOS $(BUILD_OPTIONS) $(Platform_CXXFLAGS) -Wno-unused-result -std=c++17 -g +export CXXFLAGS = $(INCLUDEFLAGS) -DHELOS $(BUILD_OPTIONS) $(Platform_CXXFLAGS) -Wno-unused-result -Wno-conversion-null -std=c++17 -g export LDFLAGS = $(Platform_LDFLAGS) -g export LDLIBS = $(Platform_LDLIBS) -lm -lstdc++