-fpermissive to allow old C++ to compile on gcc
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 12:04:55 +0000 (12:04 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 12:04:55 +0000 (12:04 +0000)
cde/programs/dtmail/dtmailpr/Imakefile
cde/programs/dtmail/libDtMail/Common/Imakefile
cde/programs/dtmail/libDtMail/RFC/Imakefile

index 7fcd8e0d6eecf922fdf15d0d9f125bd109bb915a..064ed1b76c6f324f9dc5ed97ebf4540fcdfb9a16 100644 (file)
@@ -39,6 +39,10 @@ MT_LIBS              =       -i $(C++_LIB)  -lm -lw -lc
 
 SYS_LIBRARIES  =       -lintl -lnsl $(MT_LIBS) -lC
 #endif /* SunArchitecture */
+
+#if defined(LinuxDistribution)
+CXXEXTRA_DEFINES = -fpermissive
+#endif
  
 SRCS = main.C message.C mailbox.C utils.C
 OBJS = main.o message.o mailbox.o utils.o
index f5b308320c4e9b62e5a6a6fd2e875a500c2a27ab..7a1530e184c8a7953abc375015e9e814c2b99a90 100644 (file)
@@ -14,6 +14,10 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
 
 INCLUDES = -I. -I../../include -I../../include/utils -I$(CDELIBSRC)
 
+#if defined(LinuxDistribution)
+CXXEXTRA_DEFINES = -fpermissive
+#endif
+
 #if HasVFork
 VFORK_DEFINES = -DHAS_VFORK
 #else
index 2b0ca1957dbb14e258aa66458e3201ab62ded1ed..0fec68396b1be9fbbb8cdbded101a32807cc5851 100644 (file)
@@ -14,6 +14,10 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
 
 INCLUDES = -I. -I../Common -I../../include -I../../include/utils -I$(CDELIBSRC)
 
+#if defined(LinuxDistribution)
+CXXEXTRA_DEFINES = -fpermissive
+#endif
+
 #if HasVFork
 VFORK_DEFINES = -DHAS_VFORK
 #else