-fpermissive to allow GCC to compile old C++
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 15:18:09 +0000 (15:18 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 15:18:09 +0000 (15:18 +0000)
cde/programs/dtprintinfo/UI/Imakefile

index 44fc8028d5bc6a8e3e593c0740f378feb70aac4d..7a4d68e115d90da086fbf409c91f574f9ce300d7 100644 (file)
@@ -16,6 +16,11 @@ INCLUDES = -I. -I.. -I../libUI -I../libUI/MotifUI -I../objects -I../util -I../ob
 DEFINES = -DHAS_EXCEPTIONS
 #endif
 
+#if defined(LinuxDistribution)
+CXXEXTRA_DEFINES = -fpermissive
+#endif
+
+
 SRCS =         DtActions.C     DtApp.C         DtDetailsLabel.C \
        DtFindD.C       DtFindSet.C     DtMainW.C \
        DtPrinterIcon.C DtProps.C       DtPrtJobIcon.C \