Re: Carla: FTBFS in Fedora rawhide/f36 - error: aggregate 'std::array<long unsigned int, 4> sizes' has incomplete type and cannot be defined

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

 



Martin Gansser wrote on 2022/01/29 23:02:
Hi,

when building Carla on rawhide the compilation fails with the following error message [1]:

Compiling juce_gui_basics.cpp
In file included from juce_gui_basics.cpp:265:
native/x11/juce_linux_XWindowSystem.cpp: In member function 'juce::BorderSize<int> juce::XWindowSystem::getBorderSize(Window) const':
native/x11/juce_linux_XWindowSystem.cpp:1599:42: error: aggregate 'std::array<long unsigned int, 4> sizes' has incomplete type and cannot be defined
  1599 |             std::array<unsigned long, 4> sizes;
       |                                          ^~~~~
native/x11/juce_linux_XWindowSystem.cpp:1607:85: error: could not convert '{<expression error>, <expression error>, <expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'juce::BorderSize<int>'
  1607 |             return { (int) sizes[2], (int) sizes[0], (int) sizes[3], (int) sizes[1] };
       |                                                                                     ^
       |                                                                                     |
       |                                                                                     <brace-enclosed initializer list>
native/x11/juce_linux_XWindowSystem.cpp: In function 'juce::Rectangle<int> juce::getWorkArea(const XWindowSystemUtilities::GetXProperty&)':
native/x11/juce_linux_XWindowSystem.cpp:2181:29: error: aggregate 'std::array<long int, 4> position' has incomplete type and cannot be defined
  2181 |         std::array<long, 4> position;
       |                             ^~~~~~~~
native/x11/juce_linux_XWindowSystem.cpp:2190:55: error: could not convert '{<expression error>, <expression error>, <expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'juce::Rectangle<int>'
  2190 |                  (int) position[2], (int) position[3] };
       |                                                       ^
       |                                                       |
       |                                                       <brace-enclosed initializer list>


[1] https://kojipkgs.fedoraproject.org//work/tasks/4698/82104698/build.log

how can solve this ?

Regards
Martin

#include <array> is missing in juce_linux_XWindowSystem.cpp

Mamoru
_______________________________________________
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