On Wednesday 11 July 2007 20:36:25 Enrico Forestieri wrote: > > Yes, this is r18988 striking again :( > > I don't think that this is related to the platform but rather to the > compiler version. I think that gcc 3.x is missing some locale facets. > > Jean-Pierre, does the attached patch solve the bug for you? > > Anyway, after r18988 LyX is not so much forgiving about wrong locales. > On Linux, try for example: > > $ env LC_ALL=foo ./src/lyx-qt4 > > and you will get that exception, too.
Is this "(!defined(USE_WCHAR_T)" still required? As far as I understood you argument this would be enough: #if defined(__GNUC__) && __GNUC__ < 4) Or at least the other way around: #if defined(__GNUC__) && __GNUC__ < 4) || (!defined(USE_WCHAR_T) -- José Abílio