Bug in master (related to docbook changes?)
Kornel Benko
kornel at lyx.org
Sat Jul 11 09:58:42 UTC 2020
Am Sat, 11 Jul 2020 11:09:33 +0200
schrieb Jürgen Spitzmüller <spitz at lyx.org>:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200711/fee3531a/attachment-0001.asc>
More information about the lyx-devel
mailing list