Am Sat, 11 Jul 2020 08:34:13 -0400
schrieb Richard Kimberly Heck <rikih...@lyx.org>:

> On 7/11/20 8:02 AM, Enrico Forestieri wrote:
> > On Fri, Jul 10, 2020 at 10:18:27PM +0200, Enrico Forestieri wrote:
> >  
> >> This is what I get:
> >>
> >>   CXX      Buffer.o
> >> In file included
> >> from /usr/lib/gcc/x86_64-pc-cygwin/9.3.0/include/c++/unordered_set:46,
> >> from ../../src/OutputParams.h:19, from ../../src/Format.h:18,
> >>                  from ../../src/BufferParams.h:21,
> >>                  from ../../src/BiblioInfo.h:20,
> >>                  from ../../src/Buffer.cpp:18:  
> > [...]  
> >> make[4]: *** [Makefile:2213: Buffer.o] Errore 1  
> > This is due to the recent docbook support. The failure occurs on all
> > platforms for which sizeof(wchar_t) == 2 (such as cygwin and mingw)
> > or for which HAVE_WCHAR_T is not defined (possibly FreeBSD and others).
> >
> > The failure can be replicated on linux by editing config.h and changing
> > #define SIZEOF_WCHAR_T 4
> > to
> > #define SIZEOF_WCHAR_T 2
> > and recompiling.  
> 
> Does it help to use set.h instead of unordered_set.h? (I don't have
> SIZEOF_WCHAR_T in my config.h, at least not with cmake.)
> 
> Riki
> 
> 

In the cmake-build-dir
 $ egrep SIZEOF_WCHAR_T *.h
        configCompiler.h:/* #undef SIZEOF_WCHAR_T_IS_2 */
        configCompiler.h:#define SIZEOF_WCHAR_T_IS_4 1
        configCompiler.h:#ifdef SIZEOF_WCHAR_T_IS_2
        configCompiler.h:#  define SIZEOF_WCHAR_T 2
        configCompiler.h:#  ifdef SIZEOF_WCHAR_T_IS_4
        configCompiler.h:#    define SIZEOF_WCHAR_T 4
        configCompiler.h:#if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4

        Kornel

Attachment: pgpFykqeZr6w5.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to