> I am wasting way too much time integrating my app with the > xerces parser. To add to my woes, I am facing compiler different > compiler errors for different projects that use the same xerces > code... :-) Can someone help me fix these errors the easy way ? Was it really necessary to include an entire _unrelated_ email in your post? DOMNode *n // it is a valid domnode. // the following statement fails. error is "2440: 'static_cast' : > cannot convert from 'class xercesc_2_2::DOMNode *' to 'class > xercesc_2_2::DOMElement *' Types pointed to are unrelated; > conversion requires reinterpret_cast, C-style cast or function-style > cast" > > DOMElement *de = static_cast<DOMElement *>(n); > > // this fails too, error is "C2027: use of undefined type 'DOMElement'" > DOMElement *de = reinterpret_cast<DOMElement *>(n); Well I think that would tell you what's wrong. Did you include the header file for DOMElement? Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: help me get rid of some compile errors...
David N Bertoni/Cambridge/IBM Tue, 25 Mar 2003 09:10:06 -0800
- help me get rid of some compile errors... vinayak
- Re: help me get rid of some compile err... David N Bertoni/Cambridge/IBM
- Re: help me get rid of some compile err... David J Craigon
- Re: help me get rid of some compile err... David J Craigon
- RE: help me get rid of some compile err... vinayak