-fpermissive to allow GCC to compile old C++
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 00:06:34 +0000 (00:06 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 00:06:34 +0000 (00:06 +0000)
cde/lib/tt/slib/Imakefile

index 86c180f7cb73d1480e0cc5da8fa6ebb17078f0e3..fce522a716b78829df094befecc7d30fcc0e81ab 100644 (file)
@@ -17,6 +17,10 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
 DEFINES = 
 INCLUDES = -I. -I../lib
 
+#if defined(LinuxDistribution)
+CXXEXTRA_DEFINES = -fpermissive
+#endif
+
 SRCS = \
 mp_ce_attrs.C          mp_observer.C              mp_observer_utils.C  \
 mp_otype.C             mp_otype_utils.C           mp_ptype.C           \