From 233ae141c1fe106e1fe055217f8fdf6ae3d9d2c4 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Sun, 11 Mar 2012 23:32:08 +0000 Subject: [PATCH] -fpermissive to allow gcc to compile old C++ --- cde/lib/tt/lib/api/c/Imakefile | 4 ++++ cde/lib/tt/lib/tttk/Imakefile | 3 +++ 2 files changed, 7 insertions(+) diff --git a/cde/lib/tt/lib/api/c/Imakefile b/cde/lib/tt/lib/api/c/Imakefile index 76b821eb..7488a268 100644 --- a/cde/lib/tt/lib/api/c/Imakefile +++ b/cde/lib/tt/lib/api/c/Imakefile @@ -21,6 +21,10 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES) DEFINES = INCLUDES = -I../../../lib +#if defined(LinuxDistribution) +CXXEXTRA_DEFINES = -fpermissive +#endif + /*** NOTE! *** Every time a .o is added below it needs to be added to *** the lib/tt/lib Imakefile in OBJS and SHARED_OBJS diff --git a/cde/lib/tt/lib/tttk/Imakefile b/cde/lib/tt/lib/tttk/Imakefile index f2d16884..8001eb38 100644 --- a/cde/lib/tt/lib/tttk/Imakefile +++ b/cde/lib/tt/lib/tttk/Imakefile @@ -21,6 +21,9 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES) DEFINES = INCLUDES = -I../../lib +#if defined(LinuxDistribution) +CXXEXTRA_DEFINES = -fpermissive +#endif /*** NOTE! *** Every time a .o is added below it needs to be added to -- 2.25.1