From e2f33fe1dd9f6b0ef1a33e77258b07d3da7799c5 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 12 Mar 2012 00:27:41 +0000 Subject: [PATCH] -fpermissive to allow gcc to compile old C++ --- cde/lib/tt/bin/tt_type_comp/Imakefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cde/lib/tt/bin/tt_type_comp/Imakefile b/cde/lib/tt/bin/tt_type_comp/Imakefile index 82ce6b83..b43d8562 100644 --- a/cde/lib/tt/bin/tt_type_comp/Imakefile +++ b/cde/lib/tt/bin/tt_type_comp/Imakefile @@ -19,6 +19,10 @@ SYS_LIBRARIES = EXTRA_LIBRARIES = TtClientExtraLibs #endif +#if defined(LinuxDistribution) +CXXEXTRA_DEFINES = -fpermissive +#endif + SRCS = mp_type_comp.C mp_types_table.C \ frozen.mp_types_lex.C frozen.mp_types_gram.C -- 2.25.1