"xercesc/util/Transcoders/Iconv/IconvTransService.cpp", line 414: Error: An
integer constant expression is required within the array subscript operator
-------------------------------------------------------------------------------------------------------------------------------------------------------
Key: XERCESC-1444
URL: http://issues.apache.org/jira/browse/XERCESC-1444
Project: Xerces-C++
Type: Bug
Components: Utilities
Versions: Nightly build (please specify the date)
Environment: % uname -a
SunOS merlin.sce.carleton.ca 5.9 Generic_118558-04 sun4u sparc
SUNW,Sun-Blade-100
% which CC
/opt/SUNWspro/bin/CC
%
Reporter: Greg Franks
Compiled from
% svn info
Path: .
URL: http://svn.apache.org/repos/asf/xerces/c/trunk
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 191274
Compiling xercesc/util/Transcoders/Iconv/IconvTransService.cpp
"xercesc/util/Transcoders/Iconv/IconvTransService.cpp", line 414: Error: An
integer constant expression is required within$
1 Error(s) detected.
make[2]: *** [xercesc/util/Transcoders/Iconv/IconvTransService.lo] Error 1
The Sunpro compiler doesn't like MB_CUR_MAX.
while (toTranscode[srcCursor])
{
char mbBuf[MB_CUR_MAX];
int len = wctomb(mbBuf, toTranscode[srcCursor++]), j;
if (len < 0)
MB_CUR_MAX is defined in /usr/include/iso/stdlib_iso.h. I don't know if this
should/should not be dragged in automagically based on compiler flags. I'll
poke around a bit more.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]