Error Compiling on macOS

James Pedersen <[email protected]> Tue, 23 Apr 2024 19:45:54 -0700
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <CADHtKCc-rufyJFqqeFq2Um1d2oUw_1ZmLGG5-yeBCjFbAJ2wgA@mail.gmail.com>
Hi,

When I try to compile dar 2.7.14 on MacOS Mojave, I get the following
error:

*In file included from archive.cpp:31*
*In file included from ./i_archive.hpp:46:*
*In file included from ./catalogue.hpp:46:*
*./cat_entree.hpp:104:15: error: exception specification of explicitly
defaulted move assignment operator does not match the calculated one*
*    cat_entree & operator = (cat_entree && ref) noexcept = default;*

*In file included from archive.cpp:31:*
*In file included from ./i_archive.hpp:46:*

*In file included from ./catalogue.hpp:47:*
*./cat_nomme.hpp:52:14: error: exception specification of explicitly
defaulted move assignment operator does not match the calculated one*
*    cat_nomme & operator = (cat_nomme && ref) noexcept = default;*

*2 errors generated.*
*make[3]: *** [archive.lo] Error 1*
*make[2]: *** [all-recursive] Error 1*
*make[1]: *** [all-recursive] Error 1*

*Make:  *** [all] Error 2 *

How can I fix this error?

Thank you,
James Pedersen