Advertisement
Guest User

Juce 5.4.3-1 Build Error

a guest
Jun 30th, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.88 KB | None | 0 0
  1. Compiling jucer_AutoUpdater.cpp
  2. In file included from ../../../../modules/juce_graphics/juce_graphics.h:121,
  3. from ../../../../modules/juce_gui_basics/juce_gui_basics.h:57,
  4. from ../../../../modules/juce_analytics/juce_analytics.h:55,
  5. from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:17,
  6. from ../../Source/Application/../Application/jucer_Headers.h:29,
  7. from ../../Source/Application/jucer_AutoUpdater.cpp:27:
  8. ../../../../modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getAlpha()':
  9. ../../../../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&'}
  10. 116 | forcedinline uint8& getAlpha() noexcept { return comps [indexA]; }
  11. | ~~~~~~~~~~~~~^
  12. ../../../../modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getRed()':
  13. ../../../../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&'}
  14. 117 | forcedinline uint8& getRed() noexcept { return comps [indexR]; }
  15. | ~~~~~~~~~~~~~^
  16. ../../../../modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getGreen()':
  17. ../../../../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&'}
  18. 118 | forcedinline uint8& getGreen() noexcept { return comps [indexG]; }
  19. | ~~~~~~~~~~~~~^
  20. ../../../../modules/juce_graphics/colour/juce_PixelFormats.h: In member function 'juce::uint8& juce::PixelARGB::getBlue()':
  21. ../../../../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&'}
  22. 119 | forcedinline uint8& getBlue() noexcept { return comps [indexB]; }
  23. | ~~~~~~~~~~~~~^
  24. In file included from ../../../../modules/juce_graphics/juce_graphics.h:143,
  25. from ../../../../modules/juce_gui_basics/juce_gui_basics.h:57,
  26. from ../../../../modules/juce_analytics/juce_analytics.h:55,
  27. from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:17,
  28. from ../../Source/Application/../Application/jucer_Headers.h:29,
  29. from ../../Source/Application/jucer_AutoUpdater.cpp:27:
  30. ../../../../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]':
  31. ../../../../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]'
  32. ../../../../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]'
  33. ../../../../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]'
  34. ../../../../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]'
  35. ../../../../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]'
  36. ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:1889:14: required from here
  37. ../../../../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]
  38. 709 | auto d = reinterpret_cast<int*> (dest);
  39. | ^
  40. In file included from ../../../../modules/juce_graphics/juce_graphics.h:121,
  41. from ../../../../modules/juce_gui_basics/juce_gui_basics.h:57,
  42. from ../../../../modules/juce_analytics/juce_analytics.h:55,
  43. from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:17,
  44. from ../../Source/Application/../Application/jucer_Headers.h:29,
  45. from ../../Source/Application/jucer_AutoUpdater.cpp:27:
  46. ../../../../modules/juce_graphics/colour/juce_PixelFormats.h:365:17: note: defined here
  47. 365 | class JUCE_API PixelRGB
  48. | ^~~~~~~~
  49. In file included from ../../../../modules/juce_graphics/juce_graphics.h:143,
  50. from ../../../../modules/juce_gui_basics/juce_gui_basics.h:57,
  51. from ../../../../modules/juce_analytics/juce_analytics.h:55,
  52. from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:17,
  53. from ../../Source/Application/../Application/jucer_Headers.h:29,
  54. from ../../Source/Application/jucer_AutoUpdater.cpp:27:
  55. ../../../../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]':
  56. ../../../../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]'
  57. ../../../../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]'
  58. ../../../../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]'
  59. ../../../../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]'
  60. ../../../../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]'
  61. ../../../../modules/juce_graphics/native/juce_RenderingHelpers.h:1889:14: required from here
  62. ../../../../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]
  63. 709 | auto d = reinterpret_cast<int*> (dest);
  64. | ^
  65. In file included from ../../../../modules/juce_graphics/juce_graphics.h:121,
  66. from ../../../../modules/juce_gui_basics/juce_gui_basics.h:57,
  67. from ../../../../modules/juce_analytics/juce_analytics.h:55,
  68. from ../../JuceLibraryCode/../JuceLibraryCode/JuceHeader.h:17,
  69. from ../../Source/Application/../Application/jucer_Headers.h:29,
  70. from ../../Source/Application/jucer_AutoUpdater.cpp:27:
  71. ../../../../modules/juce_graphics/colour/juce_PixelFormats.h:365:17: note: defined here
  72. 365 | class JUCE_API PixelRGB
  73. | ^~~~~~~~
  74. make: *** [Makefile:149: build/intermediate/Debug/jucer_AutoUpdater_ca658dc2.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement