Ticket UUID: 29e856ea8c1f5b84547d7d4a99338dd0260d0dc2
Title: "HAVE_MEMMOVE": Macro redefinition
Status: Closed Type: Code_Defect
Severity: Important Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2020-06-05 11:20:09
Version Found In: 0.9.1
User Comments:
anonymous added on 2020-05-15 12:31:12:

Rolf,

thank you for great tdom.

When compiling tdom 0.9.1 on Windows with MSVC2015, I get the following warning. As warnings are treated as errors, compilation stops.

nmake -f Makefile.vc opts=static,staticpkg,msvcrt,nostubs,symbols TCLDIR=c:\test\tcl8.6.10_vc2015_static_staticpkg_msvcrt_nostubs_symbols 
...
c:\test\tdom-0.9.1\expat\winconfig.h(57): error C2220: Warnung wird als Fehler interpretiert, es wurde keine object-Datei generiert.
c:\test\tdom-0.9.1\expat\winconfig.h(57): warning C4005: "HAVE_MEMMOVE": Makro-Neudefinition
c:\test\tdom-0.9.1\expat\winconfig.h(57): note: Befehlszeilenargumente: siehe vorherige Definition von "HAVE_MEMMOVE"
xmltok.c

To fix it, please replace in "expat\winconfig.h" line 57 by

#if !defined(HAVE_MEMMOVE)
#define HAVE_MEMMOVE
#endif


anonymous (claiming to be oehhar) added on 2020-05-15 14:38:11:

I just checked out the trunk and the macro is not present any more at all. I closed the ticket.

Sorry for the noise, Harald