Merge branch 'master' into cde-next

This commit is contained in:
Jon Trulson
2018-06-28 16:55:04 -06:00
11 changed files with 60 additions and 25 deletions

View File

@@ -734,7 +734,7 @@ FindDialog::compareMessage(DtMailMessageHandle handle)
// See if string 'toFind' is anyware in string 'str'.
// A case-insensitive version of strstr().
//
static const char *
const char *
FindDialog::strcasestr(const char *str, const char *toFind)
{
const char *result = NULL; // Default to not found.

View File

@@ -62,6 +62,12 @@ M4 = /bin/m4
#if defined(LinuxArchitecture) || defined(BSDArchitecture)
#if defined(__llvm__)
NOIMPLTEMPLATES =
#else
NOIMPLTEMPLATES = -fno-implicit-templates
#endif
/*
* put cpp directives here rather than in CXXDEFINES because
* for some reason the CXXDEFINES aren't passed to the link phase
@@ -69,12 +75,12 @@ M4 = /bin/m4
*/
CXXOPTIONS = \
-DSP_VOLATILE=volatile -DSP_CONST=const -DSP_ANSI_CLASS_INST \
-DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST -fno-implicit-templates
-DSP_HAVE_LOCALE -DSP_MULTI_BYTE -DSP_MANUAL_INST $(NOIMPLTEMPLATES)
/*
* Flags passed into compile step when doing manual template instantiation.
*/
CXXTEMPLATEFLAGS = -fno-implicit-templates
CXXTEMPLATEFLAGS = $(NOIMPLTEMPLATES)
M4 = /usr/bin/m4