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

Including Xerces_autoconf_config.hpp on Windows fails due to undefined ssize_t

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.2
    • 3.2.3
    • Build
    • None

    Description

      When including Xerces_autoconf_config.hpp on Windows the following error messages:

       

      error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis: "default-int" wird von C++ nicht unterstützt.
      error C2146: Syntaxfehler: Fehlendes ";" vor Bezeichner "XMLSSize_t"
      

      (Sorry that these are in German - they translate to "Missing type specifier - assuming int" and "syntax error: missing ";" before identifier "XMLSSize_t")

      Apparently ssize_t is a POSIX extension and as such isn't available in MSVC (by default?)

      Attachments

        Activity

          People

            scantor Scott Cantor
            Cogitri Rasmus Thomsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: