[ 
https://issues.apache.org/jira/browse/XERCESC-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16115862#comment-16115862
 ] 

Scott Cantor commented on XERCESC-2109:
---------------------------------------

Added SIZE_MAX defines to cmake config.h in r1804244

I'll assign to you to check this fix.

> 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
>             Fix For: 3.2.0
>
>
> {{{
> 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

Reply via email to