From 38fd1d9f85754680c5e2c919bda065f5ac0221dd Mon Sep 17 00:00:00 2001 From: doing-science <44710448+doing-science@users.noreply.github.com> Date: Thu, 15 Aug 2024 10:22:33 -0500 Subject: [PATCH] Update Makefile added -fpermissive flag to resolve compile error due to -Wincompatible-pointer-types changing from a warning to an error in gcc. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 779a618..8d8c0c3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ GIMP_CFLAGS = $(shell gimptool-2.0 --cflags) GIMP_LIBS = $(shell gimptool-2.0 --libs) -CFLAGS += $(GIMP_CFLAGS) -Wall -Wno-unused-variable -Wno-pointer-sign -DGIMP_DISABLE_DEPRECATED +CFLAGS += $(GIMP_CFLAGS) -Wall -Wno-unused-variable -Wno-pointer-sign -DGIMP_DISABLE_DEPRECATED -fpermissive LDFLAGS += $(GIMP_LIBS) -lm SYSTEM_INSTALL_DIR = $(shell gimptool-2.0 --dry-run --install-admin-bin ./bin/bimp | sed 's/cp \S* \(\S*\)/\1/'|tr -d [\']) USER_INSTALL_DIR = $(shell gimptool-2.0 --dry-run --install-bin ./bin/bimp | sed 's/cp \S* \(\S*\)/\1/'|tr -d [\'])