Re: OpenColorIO 2.0: armv7hf only linker error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 23, 2021 at 10:13 AM Ben Beasley <code@xxxxxxxxxxxxxxxxxx> wrote:
The same specialization of ProcessorCache:

   template class ProcessorCache<std::size_t, ProcessorRcPtr>;

is explicitly instantiated in two different translation units:

    src/OpenColorIO/Processor.cpp
    src/OpenColorIO/Config.cpp

which violates the C++ standard (an explicit instantiation definition
shall appear at most once in a program).

Since you are compiling with C++11 (vs. C++98), you can change the line
in Config.cpp to

   extern template class ProcessorCache<std::size_t, ProcessorRcPtr>;

and it should be fine (in theory, I haven’t run a scratch build).

I'll give that a try, but why does only armv7hl fail?

Thanks,
Richard
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux