Am Sat, 11 Jul 2020 11:09:33 +0200 schrieb Jürgen Spitzmüller <[email protected]>:
> Am Samstag, den 11.07.2020, 10:33 +0200 schrieb Kornel Benko:
> > There must be some problem setting the compile definitions for
> > stdlib-debug into the
> > header file.
> >
> > If I recompile everything, using also the environment
> > CXXFLAGS ( = "-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC")
> > then the crash is gone.
>
> I found out that removing
>
> #include <typeinfo>
>
> From the InsetFloat.cpp header fixes the crash for me. LyX compiles and
> seems to work fine.
>
> Thierry, why do you include <typeinfo> here?
>
> Jürgen
This explains why using CXXFLAGS works.
The include of config.h is too late.
Does the sequence
#include <config.h>
#include <typeinfo>
work for you?
Kornel
pgpJCFDGoZ40C.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list [email protected] http://lists.lyx.org/mailman/listinfo/lyx-devel
