Open davidpirro opened 5 years ago
Hi, thanks for reporting! That's an issue with the old JUCE version I am using and GCC 9. I'll have to migrate to new JUCE, let's see how much effort this is... Best, Matthias
should be working now with porting to latest JUCE 5.4.6 commit: 71e302b
Hi. I'm having a problem building for linux on a debian system. Configuring with cmake goes well, but when make is called I get mutiple times the following error when the JUCE modules are built
mcfx-master/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:113:77: error: cannot bind packed field ‘((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[3]’ to ‘juce::uint8&’ {aka ‘unsigned char&’} 113 | e uint8& getAlpha() noexcept { return comps [indexA]; }
and a warning
juce_RenderingHelpers.h:681:34: warning: converting a packed ‘juce::PixelRGB’ pointer (alignment 1) to a ‘int’ pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 681 | int* d = reinterpret_cast<int*> (dest);
Any ideas?
Thank you for your help!