On Thu, 5 Jul 2007, Jean-Marc Lasgouttes wrote:

> Hello,
> 
> I write to you as the respective maintainers of the LyX port for
> OpenBSD and NetBSD 
> http://pkgsrc.se/editors/lyx-qt
> http://ports.openbsd.nu/print/lyx
> 
> Recently, we managed (after much difficulties) to fix a bug on FreeBSD
> where LyX would not even start. The reason why that the wchar_t
> support in libstdc++ is no usable (due to the new unicode capabilities
> of LyX). 
> 
> Therefore we have now the following code in config.h.in:
> 
> /*
>  * the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t
>  * support compiled in:
>  * http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9
>  * And we are not interested at all what libc
>  * does: What we need is a 32bit wide wchar_t, and a libstdc++ that
>  * has the needed wchar_t support and uses UCS4. Whether it
>  * implements this with the help of libc, or whether it has own code
>  * does not matter for us, because we don't use libc directly (Georg)
> */
> #if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && ! defined(__FREEBSD__)
> #  define USE_WCHAR_T
> #endif
> 
> 
> Is there something we shall do concerning your respective platforms?
> 
> Regards,
> Jean-Marc Lasgouttes (LyX developer)
> 
> PS: please forward this message to the relevant persons if needed.

I won't be able to check this for about three weeks. Thanks for the email 
and I will try to reply in a few weeks.


  Jeremy C. Reed

Reply via email to