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