Hello all, 

        Is there any implementation of the Xerces-C++ library for the
VXWorks operating system ? 

I have started to port the library on VXWorks but I met a strange
compilation error ("abnormal program termination, compiler error").
I am using the last version of Xerces-C++, and I am using the XML_UNIX and
XML_GCC symbols to compile for VXWorks. All the modules are compiled except
the schema module. 

Herebelow you have the command-line for the gcc compiler and the compiler
messages :


        \tools\Tornado2001\host\x86-win32\bin\vxrm.bat  release\schema.link
release\GeneralAttributeCheck.o
        set WIND_BASE=\tools\Tornado2001& set WIND_HOST_TYPE=x86-win32&
\tools\Tornado2001\host\x86-win32\bin\cc386
-B\tools\Tornado2001/host/x86-win32/lib/gcc-lib/ -DVXWORKS -DTHREAD -Dgcc272

 -D_REENTRANT -DACE_LACKS_RTTI -DACE_VXWORKS=0x540 -DAPPSINFRA_USES_ACE
-Wno-uninitialized -fvolatile -W -fcheck-new -mpentium -ansi -nostdinc
-DRW_MULTI_THREAD -D_REENTRANT -fvolatile -nostdlib -fno-builtin
-fno-defer-pop -fexceptions -Wno-pmf-conversions -fno-rtti -DCPU=PENTIUM
-I. -I\tools\Tornado2001\target\h 
GeneralAttributeCheck.cpp -o release/GeneralAttributeCheck.o
\calypso/src/utils/xml/src/util/regx/Token.hpp: In method `class Token *
Token::getChild(int) const':
In file included from
\calypso/src/utils/xml/src/util/regx/TokenFactory.hpp:70,
                 from
\calypso/src/utils/xml/src/util/regx/RegularExpression.hpp:69,
                 from
\calypso/src/utils/xml/src/validators/datatype/DatatypeValidator.hpp:67,
                 from
\calypso/src/utils/xml/src/validators/datatype/AbstractStringValidator.hpp:9
8,
                 from
\calypso/src/utils/xml/src/validators/datatype/StringDatatypeValidator.hpp:8
0,
                 from
\calypso/src/utils/xml/src/validators/datatype/IDDatatypeValidator.hpp:92,
                 from
\calypso/src/utils/xml/src/validators/schema/GeneralAttributeCheck.hpp:77,
                 from GeneralAttributeCheck.cpp:108:
\calypso/src/utils/xml/src/util/regx/Token.hpp:194: warning: unused
parameter `int const index'
\calypso/src/utils/xml/src/util/regx/Token.hpp: In method `void
Token::setMax(int)':
\calypso/src/utils/xml/src/util/regx/Token.hpp:237: warning: unused
parameter `int const maxVal'
\calypso/src/utils/xml/src/util/regx/Token.hpp: In method `void
Token::setMin(int)':
\calypso/src/utils/xml/src/util/regx/Token.hpp:241: warning: unused
parameter `int const minVal'
\calypso/src/utils/xml/src/util/regx/Token.hpp: In method `void
Token::addChild(class Token *, class TokenFactory *)':
\calypso/src/utils/xml/src/util/regx/Token.hpp:253: warning: unused
parameter `class Token * const child'
\calypso/src/utils/xml/src/util/regx/Token.hpp:253: warning: unused
parameter `class TokenFactory * const tokFactory'
\calypso/src/utils/xml/src/util/regx/Token.hpp: In method `void
Token::addRange(int, int)':
\calypso/src/utils/xml/src/util/regx/Token.hpp:261: warning: unused
parameter `int const start'
\calypso/src/utils/xml/src/util/regx/Token.hpp:261: warning: unused
parameter `int const end'
\calypso/src/utils/xml/src/util/regx/Token.hpp: In method `void
Token::mergeRanges(const class Token *)':
\calypso/src/utils/xml/src/util/regx/Token.hpp:266: warning: unused
parameter `const class Token * const tok'
\calypso/src/utils/xml/src/util/regx/Token.hpp: In method `void
Token::subtractRanges(class RangeToken *)':
\calypso/src/utils/xml/src/util/regx/Token.hpp:281: warning: unused
parameter `class RangeToken * const tok'
\calypso/src/utils/xml/src/util/regx/Token.hpp: In method `void
Token::intersectRanges(class RangeToken *)':
\calypso/src/utils/xml/src/util/regx/Token.hpp:286: warning: unused
parameter `class RangeToken * const tok'
\calypso/src/utils/xml/src/util/regx/ModifierToken.hpp: In method `class
Token * ModifierToken::getChild(int) const':
In file included from
\calypso/src/utils/xml/src/util/regx/RegularExpression.hpp:73,
                 from
\calypso/src/utils/xml/src/validators/datatype/DatatypeValidator.hpp:67,
                 from
\calypso/src/utils/xml/src/validators/datatype/AbstractStringValidator.hpp:9
8,
                 from
\calypso/src/utils/xml/src/validators/datatype/StringDatatypeValidator.hpp:8
0,
                 from
\calypso/src/utils/xml/src/validators/datatype/IDDatatypeValidator.hpp:92,
                 from
\calypso/src/utils/xml/src/validators/schema/GeneralAttributeCheck.hpp:77,
                 from GeneralAttributeCheck.cpp:108:
\calypso/src/utils/xml/src/util/regx/ModifierToken.hpp:119: warning: unused
parameter `int const index'
\calypso/src/utils/xml/src/validators/schema/SchemaElementDecl.hpp: In
method `void SchemaElementDecl::setContentSpec(class ContentSpecNode *)':
In file included from
\calypso/src/utils/xml/src/validators/schema/SchemaGrammar.hpp:111,
                 from
\calypso/src/utils/xml/src/validators/schema/TraverseSchema.hpp:81,
                 from GeneralAttributeCheck.cpp:115:
\calypso/src/utils/xml/src/validators/schema/SchemaElementDecl.hpp:337:
warning: unused parameter `class ContentSpecNode * toAdopt'
\calypso/src/utils/xml/src/validators/schema/SchemaElementDecl.hpp: In
method `void SchemaElementDecl::setContentModel(class XMLContentModel *)':
\calypso/src/utils/xml/src/validators/sche
abnormal program termination
ma/SchemaElementDecl.hpp:354: warning: unused parameter `class
XMLContentModel * const newModelToAdopt'
\calypso/src/utils/xml/src/validators/schema/SchemaGrammar.hpp: In method
`unsigned int SchemaGrammar::getElemId(unsigned int, const short unsigned
int *, const short unsigned int *, unsigned int) const':
In file included from
\calypso/src/utils/xml/src/validators/schema/TraverseSchema.hpp:81,
                 from GeneralAttributeCheck.cpp:115:
\calypso/src/utils/xml/src/validators/schema/SchemaGrammar.hpp:458: warning:
unused parameter `const short unsigned int * const qName'
\calypso/src/utils/xml/src/validators/schema/SchemaGrammar.hpp: In method
`const class XMLElementDecl * SchemaGrammar::getElemDecl(unsigned int, const
short unsigned int *, const short unsigned int *, unsigned int) const':
\calypso/src/utils/xml/src/validators/schema/SchemaGrammar.hpp:478: warning:
unused parameter `const short unsigned int * const qName'
\calypso/src/utils/xml/src/validators/schema/SchemaGrammar.hpp: In method
`class XMLElementDecl * SchemaGrammar::getElemDecl(unsigned int, const short
unsigned int *, const short unsigned int *, unsigned int)':
\calypso/src/utils/xml/src/validators/schema/SchemaGrammar.hpp:491: warning:
unused parameter `const short unsigned int * const qName'
\calypso/src/utils/xml/src/validators/schema/TraverseSchema.hpp: In method
`bool TraverseSchema::isValidRefDeclaration(const class DOM_Element &)':
In file included from GeneralAttributeCheck.cpp:115:
\calypso/src/utils/xml/src/validators/schema/TraverseSchema.hpp:871:
Internal compiler error.
\calypso/src/utils/xml/src/validators/schema/TraverseSchema.hpp:871: Please
submit a full bug report to `[EMAIL PROTECTED]'.
*** Error code 1 (ignored)
        
        Any idea ? 


                Thanks in advance, 


                Robert.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to