Am Thu, 14 Jan 2021 20:30:03 +0200
schrieb Yuriy Skalko <yuriy.ska...@gmail.com>:

> > I cannot even compile everything under clang8
> > /usr2/src/lyx/lyx-git/src/support/FileMonitor.cpp:62:9: error: call to 
> > 'make_unique' is
> > ambiguous return make_unique<FileMonitor>(instance().getGuard(filename));
> >                ^~~~~~~~~~~~~~~~~~~~~~~~
> > /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/bits/unique_ptr.h:834:5:
> > note: candidate function [with _Tp = lyx::support::FileMonitor, _Args =
> > <std::shared_ptr<lyx::support::FileMonitorGuard>>] make_unique(_Args&&... 
> > __args)
> > 
> >         Kornel  
> 
> 
> Does replacing make_unique with lyx::make_unique help?
> 
> Yuriy

Yes, it helps. Now the next are
        /usr2/src/lyx/lyx-git/src/graphics/GraphicsCacheItem.cpp:445
        /usr2/src/lyx/lyx-git/src/mathed/MathExtern.cpp:602
        /usr2/src/lyx/lyx-git/src/mathed/MathExtern.cpp:687
        /usr2/src/lyx/lyx-git/src/mathed/MathExtern.cpp:772
        /usr2/src/lyx/lyx-git/src/mathed/MathExtern.cpp:860
        /usr2/src/lyx/lyx-git/src/Buffer.cpp:1474
        /usr2/src/lyx/lyx-git/src/BufferList.cpp:131
        /usr2/src/lyx/lyx-git/src/TocBackend.cpp:148

Changing all of them now compiles. Thanks.

        Kornel

Attachment: pgpEJUaXooElg.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