Add in -fpermissive to handle old pre standard C++
authorPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 19:00:31 +0000 (19:00 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 19:00:31 +0000 (19:00 +0000)
cde/lib/DtSvc/DtCodelibs/Imakefile

index b2f8eb7cbf11dab96e839cabeb705dae70d352c3..dbacb258b0c67348ef3a6c00fbf1c0872f1efef1 100644 (file)
@@ -31,6 +31,9 @@ INCLUDES = -I. -I../include
 CXXEXTRA_DEFINES = -qlanglvl=compat
 #endif
 
+#if defined(LinuxDistribution)
+CXXEXTRA_DEFINES = -fpermissive
+#endif
 
 SRCS = buf.C           filegen.C       mbschr.C \
        pathcollapse.C  shellscan.C     strend.C \