Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2139

dllimport warnings when using xercesc withing mingw-64

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.2.0
    • None
    • Build
    • None

    Description

      g++ -std=c++11 -Wno-deprecated -Wnon-virtual-dtor -O3 -mthreads -mtune=generic -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe -DNDEBUG -DACE_HAS_CUSTOM_EXPORT_MACROS=0 -Wno-unknown-pragmas -DNDEBUG -IX:/BUILD/DOC_ROOT/ACE -DACE_NDEBUG -DACE_NO_INLINE -I../.. -IX:/BUILD/DOC_ROOT/xerces-c-3.2.0-x86_64-windows-gcc4.9.3/include -DXML_USE_PTHREADS -DXML_UTILS_BUILD_DLL -c -o .shobj/XML_Typedefs.o /x/BUILD/DOC_ROOT/ACE/ace/XML_Utils/XML_Typedefs.cpp
      In file included from X:/BUILD/DOC_ROOT/xerces-c-3.2.0-x86_64-windows-gcc4.9.3/include/xercesc/validators/datatype/DatatypeValidator.hpp:27:0,
      {{ from X:/BUILD/DOC_ROOT/xerces-c-3.2.0-x86_64-windows-gcc4.9.3/include/xercesc/framework/XMLAttr.hpp:28,}}
      {{ from X:/BUILD/DOC_ROOT/xerces-c-3.2.0-x86_64-windows-gcc4.9.3/include/xercesc/framework/XMLDocumentHandler.hpp:27,}}
      {{ from X:/BUILD/DOC_ROOT/xerces-c-3.2.0-x86_64-windows-gcc4.9.3/include/xercesc/parsers/AbstractDOMParser.hpp:26,}}
      {{ from X:/BUILD/DOC_ROOT/xerces-c-3.2.0-x86_64-windows-gcc4.9.3/include/xercesc/parsers/XercesDOMParser.hpp:26,}}
      {{ from x:/BUILD/DOC_ROOT/ACE/ace/XML_Utils/XML_Helper.h:23,}}
      {{ from x:/BUILD/DOC_ROOT/ACE/ace/XML_Utils/XML_Typedefs.h:11,}}
      {{ from x:/BUILD/DOC_ROOT/ACE/ace/XML_Utils/XML_Typedefs.cpp:1:}}
      X:/BUILD/DOC_ROOT/xerces-c-3.2.0-x86_64-windows-gcc4.9.3/include/xercesc/util/KVStringPair.hpp:176:13: warning: 'void xercesc_3_2::KVStringPair::setKey(const XMLCh*, XMLSize_t)' redeclared without dllimport attribute after being referenced with dll linkage
      {{ inline void KVStringPair::setKey( const XMLCh* const newKey}}
      {{ ^}}
      X:/BUILD/DOC_ROOT/xerces-c-3.2.0-x86_64-windows-gcc4.9.3/include/xercesc/util/KVStringPair.hpp:190:13: warning: 'void xercesc_3_2::KVStringPair::setValue(const XMLCh*, XMLSize_t)' redeclared without dllimport attribute after being referenced with dll linkage
      {{ inline void KVStringPair::setValue( const XMLCh* const newValue}}
      {{ ^}}

      Attachments

        Activity

          People

            Unassigned Unassigned
            jwillemsen@remedy.nl Johnny Willemsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: