Overview

Artifact ID: 888b4ba1c903f28c9f75c3db0d100b40c1a91b6c21a60dd51bf576c705b10778
Ticket: 29e856ea8c1f5b84547d7d4a99338dd0260d0dc2
"HAVE_MEMMOVE": Macro redefinition
User & Date: anonymous 2020-05-15 12:31:12
Changes

  1. foundin changed to: "0.9.1"
  2. icomment:
    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.
    
    <verbatim>
    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
    </verbatim>
    
    To fix it, please replace in "expat\winconfig.h" line 57
    by
    <verbatim>
    #if !defined(HAVE_MEMMOVE)
    #define HAVE_MEMMOVE
    #endif
    </verbatim>
    
  3. login: "anonymous"
  4. mimetype: "text/x-fossil-wiki"
  5. private_contact changed to: "0f366eb3e9e2fcab52b8ebacd197db9047186a5f"
  6. severity changed to: "Important"
  7. status changed to: "Open"
  8. title changed to: ""HAVE_MEMMOVE": Macro redefinition"
  9. type changed to: "Code_Defect"