Am Dienstag, 26. Juni 2007 14:17 schrieb Jean-Marc Lasgouttes:
> 
> http://bugzilla.lyx.org/show_bug.cgi?id=3537
> 
> This bug comes from the fact that FreeBSD (in it current incarnations
> at least) does not have proper support for wchar_t.
> 
> I did not rename LIBC_WCTYPE_USES_UCS4 to something more readable like
> USE_WCHAR_T. Should I?

I think so, since AFAIK LIBC_WCTYPE_USES_UCS4 would be wrong: From what I 
understand from the past discussions the FreeBSD libc uses UCS4, but 
libstdc++ has no proper wchar_t support compiled in. 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 (we did at some 
point in time, but it turned out that it did not work).

> Koji, does the patch work for you?
> 
> Georg, does it look right to you?

Yes. But I think that a comment should be added in configure.ac why FreeBSD 
is excluded, probably pointing to the libstdc++ bug report (or the 
lyx-devel thread). Then it will be easy to check whether the FreeBSD 
exclusion can be removed or not if somebody stumbles over the test and 
wonders why it is there.


Georg

Reply via email to