Operating System - HP-UX
1829154 Members
2459 Online
109986 Solutions
New Discussion

Wide character support in libc.a

 
Phillip Carruthers
New Member

Wide character support in libc.a

We are building an application on HPUX 11.11 with gcc and functions such as wctob() (wide character to byte) as being used by the std::locale.

When we try to run the application on a HPUX 11.00 system the libc shared library does not have wctob() etc.

Is there a patch for this version of HPUX or does anybody know how to get round the issue?

Please note cannot build a static application as the build conflicts with a third party library.
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: Wide character support in libc.a

You are out of luck. 11.11 had a whole bunch of new wchar functions added. These can't be moved back to 11.00. Only forward compatibility is supported.

You do know that 11.00 is no longer supported?]

Any reason you aren't using wctomb(3)?
If the length > 1, then that is an error.
Phillip Carruthers
New Member

Re: Wide character support in libc.a

Thankyou for your reply.