DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23024>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23024

DOMCasts magic: failure building Xerces-C 2.3.0 with C++ Builder 5





------- Additional Comments From [EMAIL PROTECTED]  2003-09-11 08:24 -------
As for elegance vs. speed - I agree that they're often opposite to each other,
though I don't agree that this is a matter of elegance: the ABI is
implementation-defined and counting on a particular layout is simply
un(sup)portable. You'll run into problems as soon as you try changing the
alignment, or as soon as the compiler's developers decide to optimize something
by changing the ABI and re-organizing order of the symbols. I've recently seen a
question on the xercesc-dev list about single byte aligning - I wouldn't be
surprised if the casting magic gets you into trouble on those kinds of setups
(but you can always reopen the bug later).

As for the two compilers: they are the same version (or at least they say they
are). The only difference is that BCB5 was installed by the IT department and I
installed BCC551 myself. I guess I'll be installing my own programs more often
:| I don't know why the output is different in the two cases, but I'll live with it.

In any case, I have a working Xerces-C DLL (which I personally won't be using -
I just maintain the internal copy) so I'll live with the magic for now :)

Thanks, all

rlc

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

Reply via email to