This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I thought I'd check my claim that the ieee model works on Solaris. It
doesn't, not even close - the code has bitrotted badly.
As Francois said, there's a cast from nl_catd to catalog which fails
on 64-bit (nl_catd is
nl_catd_struct* on SunOS, void* on GNU/Linux, catalog is int everywhere).
Because that cast works on 32-bit, and Solaris builds 32-bit libs
first, the build gets a lot further before it hits more problems.
The attached patch fixes some obvious errors, but definitions of
__convert_{to,from}_v and _GLIBCXX_NUM_CATEGORIES are also needed, as
well as locale::facet::_S_lc_ctype_c_locale, local::_S_categories and
constructors for messages.
Even with all of them defined, there are still linker errors because
messages_members.h doesn't seem to be included by any source files in
the library, resulting in undefined symbols.
Attachment:
locale_ieee.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |