Jean-Marc Lasgouttes wrote:
"Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
Abdelrazak> Maybe Koji could try to enable that unconditionally:
Abdelrazak> - #if SIZEOF_WCHAR_T != 4 && defined(__GNUC__) &&
Abdelrazak> defined(__GNUC_MINOR__) && __GNUC__ == 3 && __GNUC_MINOR__
Abdelrazak> < 4 + #if 1
Koji, could you try that?
OK, I just send the result. I tried this modification on the files below:
src/support/docstream.cpp
src/support/docstring.cpp
src/support/docstring.h
src/support/types.h
However, lyx (today's svn) crashed even before it reaches to main()
function with the following message:
> Program received signal SIGSEGV, Segmentation fault.
> 0x0807c732 in sentry (this=0xbfbfe6c0, [EMAIL PROTECTED]) at
> ostream.tcc:55
Backtrace at the crash time seems corrupt, but initial layers contain:
> #0 0x0807c732 in sentry (this=0xbfbfe6c0, [EMAIL PROTECTED]) at
> ostream.tcc:55
> #1 0x0807c972 in std::operator<< <std::char_traits<char> > (
> Ba [EMAIL PROTECTED], __s=0x879fcd1 "Assertion triggered in ")
> at ostream.tcc:738
> #2 0x08088a48 in boost::assertion_failed (expr=0x87d28ed
> "singleton_",
> function=0x87d4680 "static lyx::LyX& lyx::LyX::ref()",
> file=0x87d2860 "LyX.cpp", line=211) at boost.cpp:54
> #3 0x0824f3e6 in lyx::LyX::ref () at LyX.cpp:211
> #4 0x082593cf in lyx::getGuiMessages () at LyX.cpp:1546
> #5 0x081d3d39 in lyx::_ ([EMAIL PROTECTED]) at gettext.cpp:34
> #6 0x0845b170 in __static_initialization_and_destruction_0 (
> __initialize_p=1, __priority=65535) at InsetListingsParams.cpp:117
> #7 0x08467ded in global constructors keyed to
> _ZN3lyx36_GLOBAL__N_._pch.h_00000000_5FBB75A917allowed_languagesE ()
> at InsetListingsParams.cpp:658
> #8 0x0879e0f5 in __do_global_ctors_aux ()
> #9 0x0806c891 in _init ()
> #10 0x00000206 in ?? ()
> #11 0x00000001 in ?? () ... and so on
Koji