Add -fpermissive to linux standard c++ option define in linux.cf
Remove from individual Imakefiles. Also, remove '#if 0' block in linux.cf, and remove empty LinuxMachineDefines. This should be working correctly. If not, let me know.
This commit is contained in:
@@ -34,11 +34,6 @@ EXTRA_C++OPTIONS = -xF +p +w $(SPRO_V3_OPTIONS)
|
||||
|
||||
#endif /* SunArchitecture */
|
||||
|
||||
#if defined(LinuxArchitecture)
|
||||
CXXEXTRA_DEFINES = -fpermissive
|
||||
#endif
|
||||
|
||||
|
||||
HEADERS =
|
||||
|
||||
SRCS = \
|
||||
|
||||
@@ -16,10 +16,6 @@ DEFINES = -DRELEASE_NOTES -DDTMAIL_TOOLTALK -DDTEDITOR DtMailDefines
|
||||
DEPLIBS = ../MotifApp/libMotifApp.a ../libDtMail/libDtMail.a DepDtClientLibs
|
||||
LOCAL_LIBRARIES = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a DtClientLibs
|
||||
|
||||
#if defined(LinuxArchitecture)
|
||||
CXXEXTRA_DEFINES = -fpermissive
|
||||
#endif
|
||||
|
||||
/* Sun needs the widechar library */
|
||||
#ifdef SunArchitecture
|
||||
SYS_LIBRARIES = $(DYNLIBSYSLIB) $(ICONVSYSLIB) $(REGEXSYSLIB) -lw -lm
|
||||
|
||||
@@ -40,10 +40,6 @@ MT_LIBS = -i $(C++_LIB) -lm -lw -lc
|
||||
SYS_LIBRARIES = -lintl -lnsl $(MT_LIBS) -lC
|
||||
#endif /* SunArchitecture */
|
||||
|
||||
#if defined(LinuxArchitecture)
|
||||
CXXEXTRA_DEFINES = -fpermissive
|
||||
#endif
|
||||
|
||||
SRCS = main.C message.C mailbox.C utils.C
|
||||
OBJS = main.o message.o mailbox.o utils.o
|
||||
|
||||
|
||||
@@ -14,10 +14,6 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
|
||||
|
||||
INCLUDES = -I. -I../../include -I../../include/utils -I$(CDELIBSRC)
|
||||
|
||||
#if defined(LinuxArchitecture)
|
||||
CXXEXTRA_DEFINES = -fpermissive
|
||||
#endif
|
||||
|
||||
#if HasVFork
|
||||
VFORK_DEFINES = -DHAS_VFORK
|
||||
#else
|
||||
|
||||
@@ -14,10 +14,6 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
|
||||
|
||||
INCLUDES = -I. -I../Common -I../../include -I../../include/utils -I$(CDELIBSRC)
|
||||
|
||||
#if defined(LinuxArchitecture)
|
||||
CXXEXTRA_DEFINES = -fpermissive
|
||||
#endif
|
||||
|
||||
#if HasVFork
|
||||
VFORK_DEFINES = -DHAS_VFORK
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user