[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
IBM4C parser on HP-UX
- From: "Abhishek Srivastava" <abisheks@i...>
- To: "xml dev mailing list" <xml-dev@i...>
- Date: Mon, 25 Oct 1999 18:08:08 +0530

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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|

|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
 |
Atom 0.3 |
 |
|
Stylus Studio has published XML-DEV in RSS and ATOM formats,
enabling users to easily subcribe to the list from their preferred news reader application.
|
Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website.
they were not included by the author in the initial post. To view the content without the Sponsor Links please
click here.
|
|