-fpermissive to allow gcc to compile old C++
authorPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 23:32:08 +0000 (23:32 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 23:32:08 +0000 (23:32 +0000)
cde/lib/tt/lib/api/c/Imakefile
cde/lib/tt/lib/tttk/Imakefile

index 76b821eb4fc5b78e2e648f1eeade5df693486007..7488a2688feb9b83b5fdc85f0e631019372ca109 100644 (file)
@@ -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
index f2d16884d3ffe7cc8acd2fe334121728edebf9a8..8001eb38c4b1820fb3db44301e4d303bcb7e24ad 100644 (file)
@@ -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