Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Compiling jucer_AutoUpdater.cpp
- In file included from ../../../../modules/juce_graphics/juce_graphics.h:121,
- from ../../../../modules/juce_gui_basics/juce_gui_basics.h:57,
- from ../../../../modules/juce_analytics/juce_analytics.h:55,
- from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:17,
- from ../../Source/Application/../Application/jucer_Headers.h:29,
- from ../../Source/Application/jucer_AutoUpdater.cpp:27:
- ../../../../modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getAlpha()':
- ../../../../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&'}
- 116 | forcedinline uint8& getAlpha() noexcept { return comps [indexA]; }
- | ~~~~~~~~~~~~~^
- ../../../../modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getRed()':
- ../../../../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&'}
- 117 | forcedinline uint8& getRed() noexcept { return comps [indexR]; }
- | ~~~~~~~~~~~~~^
- ../../../../modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getGreen()':
- ../../../../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&'}
- 118 | forcedinline uint8& getGreen() noexcept { return comps [indexG]; }
- | ~~~~~~~~~~~~~^
- ../../../../modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getBlue()':
- ../../../../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&'}
- 119 | forcedinline uint8& getBlue() noexcept { return comps [indexB]; }
- | ~~~~~~~~~~~~~^
- In file included from ../../../../modules/juce_graphics/juce_graphics.h:143,
- from ../../../../modules/juce_gui_basics/juce_gui_basics.h:57,
- from ../../../../modules/juce_analytics/juce_analytics.h:55,
- from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:17,
- from ../../Source/Application/../Application/jucer_Headers.h:29,
- from ../../Source/Application/jucer_AutoUpdater.cpp:27:
- ../../../../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]':
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:623:17: required from 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::handleEdgeTableLine(int, int, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = true]'
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:2021: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]'
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:1587: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]'
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:2637:67: required from 'void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour(IteratorType&, juce::PixelARGB, bool) const [with IteratorType = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIteratorFloat]'
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:1892:13: required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::fillRectWithColour(SavedStateType&, juce::Rectangle<float>, juce::PixelARGB) const [with SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:1889:14: required from here
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:709: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]
- 709 | auto d = reinterpret_cast<int*> (dest);
- | ^
- In file included from ../../../../modules/juce_graphics/juce_graphics.h:121,
- from ../../../../modules/juce_gui_basics/juce_gui_basics.h:57,
- from ../../../../modules/juce_analytics/juce_analytics.h:55,
- from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:17,
- from ../../Source/Application/../Application/jucer_Headers.h:29,
- from ../../Source/Application/jucer_AutoUpdater.cpp:27:
- ../../../../modules/juce_graphics/colour/juce_PixelFormats.h:365:17: note: defined here
- 365 | class JUCE_API PixelRGB
- | ^~~~~~~~
- In file included from ../../../../modules/juce_graphics/juce_graphics.h:143,
- from ../../../../modules/juce_gui_basics/juce_gui_basics.h:57,
- from ../../../../modules/juce_analytics/juce_analytics.h:55,
- from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:17,
- from ../../Source/Application/../Application/jucer_Headers.h:29,
- from ../../Source/Application/jucer_AutoUpdater.cpp:27:
- ../../../../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]':
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:623:17: required from 'void juce::RenderingHelpers::EdgeTableFillers::SolidColour<PixelType, replaceExisting>::handleEdgeTableLine(int, int, int) const [with PixelType = juce::PixelRGB; bool replaceExisting = false]'
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:2021: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]'
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:1592: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]'
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:2637:67: required from 'void juce::RenderingHelpers::SoftwareRendererSavedState::fillWithSolidColour(IteratorType&, juce::PixelARGB, bool) const [with IteratorType = juce::RenderingHelpers::ClipRegions<juce::RenderingHelpers::SoftwareRendererSavedState>::RectangleListRegion::SubRectangleIteratorFloat]'
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:1892:13: required from 'void juce::RenderingHelpers::ClipRegions<SavedStateType>::RectangleListRegion::fillRectWithColour(SavedStateType&, juce::Rectangle<float>, juce::PixelARGB) const [with SavedStateType = juce::RenderingHelpers::SoftwareRendererSavedState]'
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:1889:14: required from here
- ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:709: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]
- 709 | auto d = reinterpret_cast<int*> (dest);
- | ^
- In file included from ../../../../modules/juce_graphics/juce_graphics.h:121,
- from ../../../../modules/juce_gui_basics/juce_gui_basics.h:57,
- from ../../../../modules/juce_analytics/juce_analytics.h:55,
- from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:17,
- from ../../Source/Application/../Application/jucer_Headers.h:29,
- from ../../Source/Application/jucer_AutoUpdater.cpp:27:
- ../../../../modules/juce_graphics/colour/juce_PixelFormats.h:365:17: note: defined here
- 365 | class JUCE_API PixelRGB
- | ^~~~~~~~
- make: *** [Makefile:149: build/intermediate/Debug/jucer_AutoUpdater_ca658dc2.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement