[jira] [Created] (XERCESC-2110) Build failure on FreeBSD with Autoconf

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (XERCESC-2110) Build failure on FreeBSD with Autoconf

JIRA xerces-c-dev@xml.apache.org
Roger Leigh created XERCESC-2110:
------------------------------------

             Summary: Build failure on FreeBSD with Autoconf
                 Key: XERCESC-2110
                 URL: https://issues.apache.org/jira/browse/XERCESC-2110
             Project: Xerces-C++
          Issue Type: Bug
          Components: Build
    Affects Versions: 3.2.0
         Environment: FreeBSD 11.1 with clang 4.0.0
            Reporter: Roger Leigh


Looks like illegal arithmetic with time_t?

{{{
make  all-am
  CXX      xercesc/util/XMLDateTime.lo
../../xerces-c-3.2.0/src/xercesc/util/XMLDateTime.cpp:571:27: error: invalid operands to binary expression ('time_t' (aka 'long') and 'char *(*)(int, int)')
        return mktime(&t) - timezone;
               ~~~~~~~~~~ ^ ~~~~~~~~
1 error generated.
}}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]