Am Mittwoch, 24. April 2019, 16:29:16 CEST schrieb Jean-Marc Lasgouttes: > Le 22/04/2019 à 20:07, Kornel Benko a écrit : > > /usr2/src/lyx/lyx-git/src/support/tests/dummy_functions.cpp:12:8: warning: > > type 'struct LyXRC' violates the C++ One Definition Rule [-Wodr] > > /usr2/src/lyx/lyx-git/src/LyXRC.h:547:14: warning: 'lyxrc' violates the C++ > > One Definition Rule [-Wodr] > > ... > > /usr2/src/lyx/lyx-git/src/LayoutEnums.h:48:6: warning: type 'LyXAlignment' > > violates the C++ One Definition Rule [-Wodr] > > /usr2/src/lyx/lyx-git/src/output_xhtml.h:292:13: warning: 'alignmentToCSS' > > violates the C++ One Definition Rule [-Wodr] > > > > Simply comment the relevant lines will not work > > > > Better now? > > JMarc > >
Probably yes. I already made orthogonal change, so that the test programs are
not
linked with -flto.
The change was crossing your change :(.
Recompiling with only your change ... looks good
Kornel
signature.asc
Description: This is a digitally signed message part.
