----- Original Message -----
Sent: Monday, October 25, 1999 8:38
AM
Subject: IBM4C parser on HP-UX
Hi All,
I have installed the IBM for C++ XML parser. If I
write a simple program
like
# include
<sax/HandlerBase.hpp>
# include
<parsers/ValidatingParsers.hpp>
int main(int argc,char* args[])
{
try
{
XMLPlatformUtils::Initialize();
}
catch(const XMLException&
toCatch)
{
cout
<< "error in initializing ";
}
}
I get the following error messages :
Warning 552:
"/home/abisheks/xml4c2_3_1/include/util/Exception.hpp", line 37
#
Ambiguous overloaded function declaration; default
arguments make this
function indistinguishable from
previous one. Clashing function
"XMLException::XMLException(const unsigned short *,const unsigned
short
*)" was previously declared
at
["/home/abisheks/xml4c2_3_1/include/util/Exception.hpp", line
35].
XMLException(const XMLCh*
const msg, const char* const type =
0)
^^^^^^^^^^^^
Warning 552: "/home/abisheks/xml4c2_3_1/include/util/Exception.hpp", line
38 #
Ambiguous overloaded function declaration; default
arguments make this
function indistinguishable from
previous one. Clashing function
"XMLException::XMLException(const char *,const char *)" was
previously
declared at
["/home/abisheks/xml4c2_3_1/include/util/Exception.hpp",
line
36].
XMLException(const char* const msg, const XMLCh* const type =
0)
^^^^^^^^^^^^
Error 399: "test.cpp", line 13 # Cannot use the :: operator with
incomplete
class XMLPlatformUtils
["/home/abisheks/xml4c2_3_1/include/util/String.hpp", line
295].
XMLPlatformUtils::Initialize();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*** Error exit code
2
Stop.
I am on HP UX 11.0 and using the aCC compiler.
What's wrong ?? I have changed the environment variables as mentioned in
the installation procedure.
Thanks & best Regards,
Abhishek.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_/
Abhishek Srivastava
_/
Hewlett Packard ISO
_/_/_/ _/_/_/ -------------------
_/ / _/ _/
(Work) +91-80-2251554 x1190
_/ _/
_/_/_/ (Ip)
15.10.47.37
_/
(Url) http://sites.netscape.net/abhishes/homepage
_/ You've
heard it all by now. Get wired or get whacked.
You're networking or you're not working. Dot-com or die
- SUN
MICROSYSTEMS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~