[
https://issues.apache.org/jira/browse/XERCESC-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052206#comment-17052206
]
Rasmus Thomsen edited comment on XERCESC-2194 at 3/5/20, 2:52 PM:
------------------------------------------------------------------
Hm, CMake does check for ssize_t and recognizes that it's not available:
{code}-- Check size of ssize_t - failed{code} but we still end up with ssize_t
in the mentioned header in our builds. We're building from the 3.2.2 Git tag.
We use MSVC version 19.14.26428.1
was (Author: cogitri):
Hm, CMake does check for ssize_t and recognizes that it's not available:
{code}-- Check size of ssize_t - failed{code} but we still end up with ssize_t
in our builds. We're building from the 3.2.2 Git tag. We use MSVC version
19.14.26428.1
> Including Xerces_autoconf_config.hpp on Windows fails due to undefined ssize_t
> ------------------------------------------------------------------------------
>
> Key: XERCESC-2194
> URL: https://issues.apache.org/jira/browse/XERCESC-2194
> Project: Xerces-C++
> Issue Type: Bug
> Components: Build
> Affects Versions: 3.2.2
> Reporter: Rasmus Thomsen
> Priority: Major
>
> When including Xerces_autoconf_config.hpp on Windows the following error
> messages:
>
> {code:cpp}
> error C4430: Fehlender Typspezifizierer - int wird angenommen. Hinweis:
> "default-int" wird von C++ nicht unterstützt.
> error C2146: Syntaxfehler: Fehlendes ";" vor Bezeichner "XMLSSize_t"
> {code}
> (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?)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]