[ expat-Bugs-1048448 ] Create different link symbols for different XML_Char sizes
"SourceForge.net" <[email protected]> Thu, 27 Jan 2005 20:22:07 -0800
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1048448, was opened at 2004-10-16 16:16 Message generated for change (Comment added) made by fdrake You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1048448&group_id=10127 Category: None Group: Feature Request Status: Open >Resolution: Postponed Priority: 5 Submitted By: Steinar Bang (steinarb) Assigned to: Nobody/Anonymous (nobody) Summary: Create different link symbols for different XML_Char sizes Initial Comment: It would be nice if some C preprocessor magic could be used to make different XML_Char sizes, selected at compile time, result in different link symbols for the functions in the API. This would make it possible for different shared libraries making up an application on linux, to link against expat shared libraries that have been compiled with different values for XML_char. I ran into a problem when I had compiled my own shared library version of expat on linux, compiled with -DUNICODE, and a base library had been linked with the fontconfig library, to improve X11 font handling. The fontconfig library had an XML config file, and used expat to parse the file. It used the system installed version of expat, which had a char sized XML_Char. This resulted in the following console output at my application's startup: Fontconfig error: line 1: unknown encoding Fontconfig error: Cannot load default config file and the application started up with a strange-looking font named "Arioso", when what I expected was "Helvetica". ---------------------------------------------------------------------- >Comment By: Fred L. Drake, Jr. (fdrake) Date: 2005-01-27 23:22 Message: Logged In: YES user_id=3066 This should definately be done, but will break binary compatibility with recent releases. We'll plan to include this as a new feature in Expat 3 (Expat 2 will be the result of recent, not something incompatible with the current releases). Marking this "postponed"; this will be un-postponed when we start Expat 3 development. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1048448&group_id=10127