[jira] [Commented] (XERCESC-2110) Build failure on FreeBSD with Autoconf
[ https://issues.apache.org/jira/browse/XERCESC-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16115330#comment-16115330 ] Roger Leigh commented on XERCESC-2110: -- Potential fix here: https://github.com/rleigh-codelibre/xerces-c/commits/timegm > 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() - timezone; >~~ ^ > 1 error generated. > }}} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org
[jira] [Commented] (XERCESC-2110) Build failure on FreeBSD with Autoconf
[ https://issues.apache.org/jira/browse/XERCESC-2110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16115321#comment-16115321 ] Roger Leigh commented on XERCESC-2110: -- This is due to HAVE_TIMEGM being missing from the config.h.cmake.in header. Are there any other potentially missing values? > 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() - timezone; >~~ ^ > 1 error generated. > }}} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org
[jira] [Updated] (XERCESC-2111) Build failure with Windows and VS2013
[ https://issues.apache.org/jira/browse/XERCESC-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roger Leigh updated XERCESC-2111: - Affects Version/s: 3.2.0 > Build failure with Windows and VS2013 > - > > Key: XERCESC-2111 > URL: https://issues.apache.org/jira/browse/XERCESC-2111 > Project: Xerces-C++ > Issue Type: Bug > Components: Build >Affects Versions: 3.2.0 > Environment: Windows Server 2008R2 with Visual Studio 2013 >Reporter: Roger Leigh > > snprintf isn't available before VS2015, though a Microsoft-specific variant > is available which we could use conditionally. However, even this is not > present in earlier Visual Studio releases. Do we strictly need to use > snprintf here? If we do, how far back do our Visual Studio portability > requirements go? > {{{ > 17:53:44 FAILED: C:\PROGRA~2\MICROS~3.0\VC\bin\amd64\cl.exe /nologo /TP > -DHAVE_CONFIG_H=1 -DXERCES_BUILDING_LIBRARY=1 > -DXERCES_DLL_NAME=\"xerces-c_3_2.dll\0\" -D_THREAD_SAFE=1 -Dxerces_c_EXPORTS > -I. > -ID:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src > -Isrc > -ID:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\stage\include > /DWIN32 /D_WINDOWS /W3 /GR /EHsc /W3 /MD /O2 /Ob2 /DNDEBUG /showIncludes > /Fosrc\CMakeFiles\xerces-c.dir\xercesc\util\XMLDateTime.cpp.obj > /Fdsrc\CMakeFiles\xerces-c.dir\ /FS -c > D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp > 17:53:44 > D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp(471) > : warning C4244: 'initializing' : conversion from 'time_t' to 'unsigned > long', possible loss of data > 17:53:44 > D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp(473) > : warning C4244: 'initializing' : conversion from 'time_t' to 'unsigned > long', possible loss of data > 17:53:44 > D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp(475) > : warning C4244: 'initializing' : conversion from 'time_t' to 'unsigned > long', possible loss of data > 17:53:44 > D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp(477) > : warning C4244: 'initializing' : conversion from 'time_t' to 'unsigned > long', possible loss of data > 17:53:44 > D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp(480) > : error C3861: 'snprintf': identifier not found > }}} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org
[jira] [Created] (XERCESC-2111) Build failure with Windows and VS2013
Roger Leigh created XERCESC-2111: Summary: Build failure with Windows and VS2013 Key: XERCESC-2111 URL: https://issues.apache.org/jira/browse/XERCESC-2111 Project: Xerces-C++ Issue Type: Bug Components: Build Environment: Windows Server 2008R2 with Visual Studio 2013 Reporter: Roger Leigh snprintf isn't available before VS2015, though a Microsoft-specific variant is available which we could use conditionally. However, even this is not present in earlier Visual Studio releases. Do we strictly need to use snprintf here? If we do, how far back do our Visual Studio portability requirements go? {{{ 17:53:44 FAILED: C:\PROGRA~2\MICROS~3.0\VC\bin\amd64\cl.exe /nologo /TP -DHAVE_CONFIG_H=1 -DXERCES_BUILDING_LIBRARY=1 -DXERCES_DLL_NAME=\"xerces-c_3_2.dll\0\" -D_THREAD_SAFE=1 -Dxerces_c_EXPORTS -I. -ID:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src -Isrc -ID:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\stage\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /W3 /MD /O2 /Ob2 /DNDEBUG /showIncludes /Fosrc\CMakeFiles\xerces-c.dir\xercesc\util\XMLDateTime.cpp.obj /Fdsrc\CMakeFiles\xerces-c.dir\ /FS -c D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp 17:53:44 D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp(471) : warning C4244: 'initializing' : conversion from 'time_t' to 'unsigned long', possible loss of data 17:53:44 D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp(473) : warning C4244: 'initializing' : conversion from 'time_t' to 'unsigned long', possible loss of data 17:53:44 D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp(475) : warning C4244: 'initializing' : conversion from 'time_t' to 'unsigned long', possible loss of data 17:53:44 D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp(477) : warning C4244: 'initializing' : conversion from 'time_t' to 'unsigned long', possible loss of data 17:53:44 D:\build\OME-FILES-CPP-DEV-merge-win-superbuild\2a8f6256\build\xerces-source\src\xercesc\util\XMLDateTime.cpp(480) : error C3861: 'snprintf': identifier not found }}} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org
[jira] [Created] (XERCESC-2110) Build failure on FreeBSD with Autoconf
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() - timezone; ~~ ^ 1 error generated. }}} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org
[jira] [Created] (XERCESC-2109) Build failure on FreeBSD with CMake
Roger Leigh created XERCESC-2109: Summary: Build failure on FreeBSD with CMake Key: XERCESC-2109 URL: https://issues.apache.org/jira/browse/XERCESC-2109 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 Assignee: Roger Leigh {{{ 19:20:26 cd /opt/hudson/workspace/OME-FILES-CPP-DEV-merge-superbuild/BUILD_TYPE/Release/node/brill/build/xerces-build/src && /usr/bin/CC -DHAVE_CONFIG_H=1 -DXERCES_BUILDING_LIBRARY=1 -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE=1 -Dxerces_c_EXPORTS -I/usr/local/include -I/opt/hudson/workspace/OME-FILES-CPP-DEV-merge-superbuild/BUILD_TYPE/Release/node/brill/build/xerces-build -I/opt/hudson/workspace/OME-FILES-CPP-DEV-merge-superbuild/BUILD_TYPE/Release/node/brill/build/xerces-source/src -I/opt/hudson/workspace/OME-FILES-CPP-DEV-merge-superbuild/BUILD_TYPE/Release/node/brill/build/xerces-build/src -isystem /opt/hudson/workspace/OME-FILES-CPP-DEV-merge-superbuild/BUILD_TYPE/Release/node/brill/build/stage/include -Wall -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wextra -Wformat=2 -Wimplicit-atomic-properties -Wmissing-declarations -Wno-long-long -Woverlength-strings -Woverloaded-virtual -Wredundant-decls -Wreorder -Wswitch-default -Wunused-variable -Wwrite-strings -Wno-variadic-macros -fstrict-aliasing -msse2 -O3 -DNDEBUG -fPIC -pthread -std=gnu++14 -o CMakeFiles/xerces-c.dir/xercesc/util/Base64.cpp.o -c /opt/hudson/workspace/OME-FILES-CPP-DEV-merge-superbuild/BUILD_TYPE/Release/node/brill/build/xerces-source/src/xercesc/util/Base64.cpp 19:20:26 /opt/hudson/workspace/OME-FILES-CPP-DEV-merge-superbuild/BUILD_TYPE/Release/node/brill/build/xerces-source/src/xercesc/util/Base64.cpp:149:14: error: use of undeclared identifier 'XERCES_SIZE_MAX' 19:20:26 else if (XERCES_SIZE_MAX - inputLength < 2) { 19:20:26 ^ 19:20:26 1 error generated. }}} -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org