Skip to content

Compilation error #16

Description

@dpryan79

During a recent migration on Bioconda I ran into the following compilation error on OSX using clang:

2022-10-01T20:52:03.9518190Z 20:52:03 BIOCONDA INFO (ERR) /Users/runner/miniconda/conda-bld/artic-tools_1664657237571/work/extlibs/googletest/googlemock/include/gmock/gmock-actions.h:455:3: error: definition of implicit copy constructor for 'PolymorphicAction<testing::internal::ReturnVoidAction>' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
2022-10-01T20:52:03.9572120Z 20:52:03 BIOCONDA INFO (ERR)   GTEST_DISALLOW_ASSIGN_(PolymorphicAction);
2022-10-01T20:52:03.9626720Z 20:52:03 BIOCONDA INFO (ERR)   ^
2022-10-01T20:52:03.9707650Z 20:52:03 BIOCONDA INFO (ERR) /Users/runner/miniconda/conda-bld/artic-tools_1664657237571/work/extlibs/googletest/googletest/include/gtest/internal/gtest-port.h:682:8: note: expanded from macro 'GTEST_DISALLOW_ASSIGN_'
2022-10-01T20:52:03.9748850Z 20:52:03 BIOCONDA INFO (ERR)   void operator=(type const &) = delete
2022-10-01T20:52:03.9802820Z 20:52:03 BIOCONDA INFO (ERR)        ^
2022-10-01T20:52:03.9849190Z 20:52:03 BIOCONDA INFO (ERR) /Users/runner/miniconda/conda-bld/artic-tools_1664657237571/work/extlibs/googletest/googlemock/include/gmock/gmock-actions.h:1016:10: note: in implicit copy constructor for 'testing::PolymorphicAction<testing::internal::ReturnVoidAction>' first required here
2022-10-01T20:52:03.9924530Z 20:52:03 BIOCONDA INFO (ERR)   return MakePolymorphicAction(internal::ReturnVoidAction());
2022-10-01T20:52:04.0025640Z 20:52:03 BIOCONDA INFO (ERR)          ^

Any ideas how to resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions