Open dilavni opened 4 years ago
https://github.com/mtytel/helm/blob/abdedd527e6e1cf86636f0f1e8a3e75b06ed166a/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h#L116-L119
I'm getting:
../../../JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:116:77: error: cannot bind packed field ‘((juce::PixelARGB*)this)->juce::PixelARGB::.juce::PixelARGB::::comps[3]’ to ‘juce::uint8&’ {aka ‘unsigned char&’} 116 | forcedinline uint8& getAlpha() noexcept { return comps [indexA]; }
compiling with GCC 9.2.1 20191008
I can second this, same issue, GCC 9.2.0. Anyone found anything for this?
@Rcomian : it's fixed in Jikstra:fix_gcc91 and that builds fine. it has a pull request but it hasn't been merged. Happy synthetizing
https://github.com/mtytel/helm/blob/abdedd527e6e1cf86636f0f1e8a3e75b06ed166a/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h#L116-L119
I'm getting:
../../../JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:116:77: error: cannot bind packed field ‘((juce::PixelARGB*)this)->juce::PixelARGB::.juce::PixelARGB::::comps[3]’ to ‘juce::uint8&’ {aka ‘unsigned char&’}
116 | forcedinline uint8& getAlpha() noexcept { return comps [indexA]; }
compiling with GCC 9.2.1 20191008