mtytel / helm

Helm - a free polyphonic synth with lots of modulation
http://tytel.org/helm
GNU General Public License v3.0
2.34k stars 201 forks source link

cannot bind packed field #241

Open dilavni opened 4 years ago

dilavni commented 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

Rcomian commented 4 years ago

I can second this, same issue, GCC 9.2.0. Anyone found anything for this?

dilavni commented 4 years ago

@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