Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build problem with gcc 9 #522

Closed
ycollet opened this issue Apr 30, 2019 · 1 comment
Closed

Build problem with gcc 9 #522

ycollet opened this issue Apr 30, 2019 · 1 comment

Comments

@ycollet
Copy link

ycollet commented Apr 30, 2019

I build JUCE with gcc 9 from Fedore 30.
I meet a problem with JUCE (here, it's with the compilation of a plugin, but I have the same problem with JUCE).
Here is the error message:

  • The essential error message:
builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getGreen()':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:118:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[1]' to 'juce::uint8&' {aka 'unsigned char&'}
  • the complete log:
/usr/bin/c++   -I/builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules -I/usr/include/freetype2  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wno-unknown-warning-option -Wno-multichar -Wno-class-memaccess -Werror=return-type -fPIC -fvisibility=hidden -fvisibility-inlines-hidden   -std=gnu++11 -o CMakeFiles/juce_graphics.dir/project/adl/JuceLibraryCode/include_juce_graphics.cpp.o -c /builddir/build/BUILD/ADLplug/project/adl/JuceLibraryCode/include_juce_graphics.cpp
BUILDSTDERR: In file included from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.h:121,
BUILDSTDERR: In file included from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.h:121,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp:42,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp:42,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/project/adl/JuceLibraryCode/include_juce_graphics.cpp:9:
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/project/adl/JuceLibraryCode/include_juce_graphics.cpp:9:
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getAlpha()':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getAlpha()':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:116:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[3]' to 'juce::uint8&' {aka 'unsigned char&'}
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:116:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[3]' to 'juce::uint8&' {aka 'unsigned char&'}
BUILDSTDERR:   116 |     forcedinline uint8& getAlpha() noexcept           { return comps [indexA]; }
BUILDSTDERR:   116 |     forcedinline uint8& getAlpha() noexcept           { return comps [indexA]; }
BUILDSTDERR:       |                                                                ~~~~~~~~~~~~~^
BUILDSTDERR:       |                                                                ~~~~~~~~~~~~~^
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getRed()':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getRed()':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:117:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[2]' to 'juce::uint8&' {aka 'unsigned char&'}
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:117:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[2]' to 'juce::uint8&' {aka 'unsigned char&'}
BUILDSTDERR:   117 |     forcedinline uint8& getRed() noexcept             { return comps [indexR]; }
BUILDSTDERR:   117 |     forcedinline uint8& getRed() noexcept             { return comps [indexR]; }
BUILDSTDERR:       |                                                                ~~~~~~~~~~~~~^
BUILDSTDERR:       |                                                                ~~~~~~~~~~~~~^
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getGreen()':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getGreen()':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:118:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[1]' to 'juce::uint8&' {aka 'unsigned char&'}
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:118:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[1]' to 'juce::uint8&' {aka 'unsigned char&'}
BUILDSTDERR:   118 |     forcedinline uint8& getGreen() noexcept           { return comps [indexG]; }
BUILDSTDERR:   118 |     forcedinline uint8& getGreen() noexcept           { return comps [indexG]; }
BUILDSTDERR:       |                                                                ~~~~~~~~~~~~~^
BUILDSTDERR:       |                                                                ~~~~~~~~~~~~~^
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getBlue()':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getBlue()':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:119:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[0]' to 'juce::uint8&' {aka 'unsigned char&'}
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:119:77: error: cannot bind packed field '((juce::PixelARGB*)this)->juce::PixelARGB::<anonymous>.juce::PixelARGB::<unnamed union>::comps[0]' to 'juce::uint8&' {aka 'unsigned char&'}
BUILDSTDERR:   119 |     forcedinline uint8& getBlue() noexcept            { return comps [indexB]; }
BUILDSTDERR:   119 |     forcedinline uint8& getBlue() noexcept            { return comps [indexB]; }
BUILDSTDERR:       |                                                                ~~~~~~~~~~~~~^
BUILDSTDERR:       |                                                                ~~~~~~~~~~~~~^
BUILDSTDERR: In file included from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.h:143,
BUILDSTDERR: In file included from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.h:143,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp:42,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp:42,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/project/adl/JuceLibraryCode/include_juce_graphics.cpp:9:
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/project/adl/JuceLibraryCode/include_juce_graphics.cpp:9:
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h: In instantiation of 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::replaceLine(juce::PixelRGB*, juce::PixelARGB, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = true]':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h: In instantiation of 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::replaceLine(juce::PixelRGB*, juce::PixelARGB, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = true]':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:627:17:   required from 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::handleEdgeTableLine(int, int, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = true]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:627:17:   required from 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::handleEdgeTableLine(int, int, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = true]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:2025:57:   required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::SubRectangleIteratorFloat::iterate(Renderer&) const [with Renderer = juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB, true>; SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:2025:57:   required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::SubRectangleIteratorFloat::iterate(Renderer&) const [with Renderer = juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB, true>; SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1591:13:   required from 'void juce::RenderingHelpers::EdgeTableFillers::renderSolidFill(Iterator&, const juce::Image::BitmapData&, juce::PixelARGB, bool, DestPixelType*) [with Iterator = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIteratorFloat; DestPixelType = juce::PixelRGB]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1591:13:   required from 'void juce::RenderingHelpers::EdgeTableFillers::renderSolidFill(Iterator&, const juce::Image::BitmapData&, juce::PixelARGB, bool, DestPixelType*) [with Iterator = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIteratorFloat; DestPixelType = juce::PixelRGB]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:2644:67:   required from 'void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour(IteratorType&, juce::PixelARGB, bool) const [with IteratorType = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIteratorFloat]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:2644:67:   required from 'void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour(IteratorType&, juce::PixelARGB, bool) const [with IteratorType = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIteratorFloat]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1896:13:   required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::fillRectWithColour(SavedStateType&, juce::Rectangle<float>, juce::PixelARGB) const [with SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1896:13:   required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::fillRectWithColour(SavedStateType&, juce::Rectangle<float>, juce::PixelARGB) const [with SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1893:14:   required from here
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1893:14:   required from here
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:713: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]
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:713: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]
BUILDSTDERR:   713 |                             auto d = reinterpret_cast<int*> (dest);
BUILDSTDERR:   713 |                             auto d = reinterpret_cast<int*> (dest);
BUILDSTDERR:       |                                  ^
BUILDSTDERR:       |                                  ^
BUILDSTDERR: In file included from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.h:121,
BUILDSTDERR: In file included from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.h:121,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp:42,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp:42,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/project/adl/JuceLibraryCode/include_juce_graphics.cpp:9:
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/project/adl/JuceLibraryCode/include_juce_graphics.cpp:9:
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:366:17: note: defined here
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:366:17: note: defined here
BUILDSTDERR:   366 | class JUCE_API  PixelRGB
BUILDSTDERR:   366 | class JUCE_API  PixelRGB
BUILDSTDERR:       |                 ^~~~~~~~
BUILDSTDERR:       |                 ^~~~~~~~
BUILDSTDERR: In file included from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.h:143,
BUILDSTDERR: In file included from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.h:143,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp:42,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp:42,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/project/adl/JuceLibraryCode/include_juce_graphics.cpp:9:
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/project/adl/JuceLibraryCode/include_juce_graphics.cpp:9:
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h: In instantiation of 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::replaceLine(juce::PixelRGB*, juce::PixelARGB, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = false]':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h: In instantiation of 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::replaceLine(juce::PixelRGB*, juce::PixelARGB, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = false]':
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:627:17:   required from 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::handleEdgeTableLine(int, int, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = false]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:627:17:   required from 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::handleEdgeTableLine(int, int, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = false]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:2025:57:   required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::SubRectangleIteratorFloat::iterate(Renderer&) const [with Renderer = juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB, false>; SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:2025:57:   required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::SubRectangleIteratorFloat::iterate(Renderer&) const [with Renderer = juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB, false>; SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1596:13:   required from 'void juce::RenderingHelpers::EdgeTableFillers::renderSolidFill(Iterator&, const juce::Image::BitmapData&, juce::PixelARGB, bool, DestPixelType*) [with Iterator = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIteratorFloat; DestPixelType = juce::PixelRGB]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1596:13:   required from 'void juce::RenderingHelpers::EdgeTableFillers::renderSolidFill(Iterator&, const juce::Image::BitmapData&, juce::PixelARGB, bool, DestPixelType*) [with Iterator = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIteratorFloat; DestPixelType = juce::PixelRGB]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:2644:67:   required from 'void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour(IteratorType&, juce::PixelARGB, bool) const [with IteratorType = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIteratorFloat]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:2644:67:   required from 'void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour(IteratorType&, juce::PixelARGB, bool) const [with IteratorType = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIteratorFloat]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1896:13:   required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::fillRectWithColour(SavedStateType&, juce::Rectangle<float>, juce::PixelARGB) const [with SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1896:13:   required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::fillRectWithColour(SavedStateType&, juce::Rectangle<float>, juce::PixelARGB) const [with SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1893:14:   required from here
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:1893:14:   required from here
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:713: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]
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/native/juce_RenderingHelpers.h:713: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]
BUILDSTDERR:   713 |                             auto d = reinterpret_cast<int*> (dest);
BUILDSTDERR:   713 |                             auto d = reinterpret_cast<int*> (dest);
BUILDSTDERR:       |                                  ^
BUILDSTDERR:       |                                  ^
BUILDSTDERR: In file included from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.h:121,
BUILDSTDERR: In file included from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.h:121,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp:42,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/juce_graphics.cpp:42,
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/project/adl/JuceLibraryCode/include_juce_graphics.cpp:9:
BUILDSTDERR:                  from /builddir/build/BUILD/ADLplug/project/adl/JuceLibraryCode/include_juce_graphics.cpp:9:
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:366:17: note: defined here
BUILDSTDERR: /builddir/build/BUILD/ADLplug/thirdparty/JUCE/modules/juce_graphics/colour/juce_PixelFormats.h:366:17: note: defined here
BUILDSTDERR:   366 | class JUCE_API  PixelRGB
BUILDSTDERR:   366 | class JUCE_API  PixelRGB
BUILDSTDERR:       |                 ^~~~~~~~
BUILDSTDERR:       |                 ^~~~~~~~
BUILDSTDERR: At global scope:
BUILDSTDERR: At global scope:
BUILDSTDERR: cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option'
BUILDSTDERR: cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option'
BUILDSTDERR: make[2]: *** [CMakeFiles/juce_graphics.dir/build.make:66: CMakeFiles/juce_graphics.dir/project/adl/JuceLibraryCode/include_juce_graphics.cpp.o] Error 1
BUILDSTDERR: make[2]: *** [CMakeFiles/juce_graphics.dir/build.make:66: CMakeFiles/juce_graphics.dir/project/adl/JuceLibraryCode/include_juce_graphics.cpp.o] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/ADLplug/build_adl'
make[2]: Leaving directory '/builddir/build/BUILD/ADLplug/build_adl'
@tpoole
Copy link
Member

tpoole commented Apr 30, 2019

Fixed in 4e0adb2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants