Slience the -Wconvert-null warning

easyx/include/easyx.h:147 triggers this warning. Why convert NULL to int
types anyways?
This commit is contained in:
Edgaru089 2024-03-26 16:25:09 +08:00
parent 3aca586cd3
commit a84c68850d

View File

@ -39,7 +39,7 @@ export INCLUDEFLAGS := $(Platform_INCLUDEFLAGS)
export CPPFLAGS = -DWIN32_LEAN_AND_MEAN export CPPFLAGS = -DWIN32_LEAN_AND_MEAN
export CFLAGS = $(INCLUDEFLAGS) $(BUILD_OPTIONS) -Wno-attributes -g 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 LDFLAGS = $(Platform_LDFLAGS) -g
export LDLIBS = $(Platform_LDLIBS) -lm -lstdc++ export LDLIBS = $(Platform_LDLIBS) -lm -lstdc++