Skip to content

Commit

Permalink
Try to use java 8 instead of 7 as 7 is no longer supported by JDK-22
Browse files Browse the repository at this point in the history
  • Loading branch information
daid committed Dec 30, 2024
1 parent 9e4986e commit 517e31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SeriousProton2.include.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ macro(android_apk NAME ASSETS_FOLDER)
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/java_compiled/")
add_custom_command(
OUTPUT "java_compiled/sp2/${NAME}/R.class"
COMMAND ${Java_JAVAC_EXECUTABLE} ARGS -source 1.7 -target 1.7 -classpath "${ANDROID_PLATFORM_JAR}" ${JAVA_SOURCES} -d "${CMAKE_CURRENT_BINARY_DIR}/java_compiled/"
COMMAND ${Java_JAVAC_EXECUTABLE} ARGS -source 1.8 -target 1.8 -classpath "${ANDROID_PLATFORM_JAR}" ${JAVA_SOURCES} -d "${CMAKE_CURRENT_BINARY_DIR}/java_compiled/"
DEPENDS ${JAVA_SOURCES}
)
# Convert sources into dex file
Expand Down

1 comment on commit 517e31c

@daid-tinyci
Copy link

@daid-tinyci daid-tinyci bot commented on 517e31c Dec 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TinyCI build failure:

[/home/tinyci/builds/daid/SeriousProton2/_build_unittests:cmake --build .] returned [1]:


[2/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/assert.cpp.o

[3/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/2d/compound.cpp.o

[4/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/2d/box.cpp.o

[5/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/buildinResources.cpp.o

[6/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/audio/musicPlayer.cpp.o

[7/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/2d/joint.cpp.o

[8/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/2d/chains.cpp.o

[9/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/audio/sound.cpp.o

[10/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/2d/polygon.cpp.o

[11/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/2d/revolutejoint.cpp.o

[12/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/audio/audioSource.cpp.o

[13/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/2d/ropejoint.cpp.o

[14/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/3d/capsule.cpp.o

[15/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/2d/shape.cpp.o

[16/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/3d/box.cpp.o

[17/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/3d/cylinder.cpp.o

[18/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/2d/box2dBackend.cpp.o

[19/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/3d/sphere.cpp.o

[20/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/3d/compound.cpp.o

[21/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/3d/convexHull.cpp.o

[22/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/3d/mesh.cpp.o

[23/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/backend.cpp.o

[24/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/exception/dummy/unhandled.cpp.o

[25/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/shape.cpp.o

[26/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/simple2d/shape.cpp.o

[27/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/3d/shape.cpp.o

[28/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/container.cpp.o

[29/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/animation.cpp.o

[30/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/exception/unhandled.cpp.o

[31/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/exception/unix/unhandled.cpp.o

[32/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/color.cpp.o

[33/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/simple2d/simple2dBackend.cpp.o

[34/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/collision/3d/bullet3dBackend.cpp.o

[35/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/graphicslayer.cpp.o

[36/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/font.cpp.o

[37/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/audio/music.cpp.o

[38/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/fontManager.cpp.o

[39/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/font/freetype.cpp.o

[40/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/engine.cpp.o

[41/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/layout/horizontal.cpp.o

[42/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/layout/vertical.cpp.o

[43/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/layout/grid.cpp.o

[44/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/font/bitmap.cpp.o

[45/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/layout/layout.cpp.o

[46/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/layout/horizontalflow.cpp.o

[47/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/layout/verticalflow.cpp.o

[48/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/button.cpp.o

[49/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/panel.cpp.o

[50/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/root.cpp.o

[51/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/image.cpp.o

[52/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/itemlist.cpp.o

[53/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/keynavigator.cpp.o

[54/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/label.cpp.o

[55/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/progressbar.cpp.o

[56/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/listbox.cpp.o

[57/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/slider.cpp.o

[58/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/loader.cpp.o

[59/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/textfield.cpp.o

[60/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/scene.cpp.o

[61/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/theme.cpp.o

[62/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/themeimage.cpp.o

[63/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/togglebutton.cpp.o

[64/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/meshbuilder.cpp.o

[65/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/textarea.cpp.o

[66/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/tumbler.cpp.o

[67/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/meshdata.cpp.o

[68/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/renderTexture.cpp.o

[69/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/opengl.cpp.o

[70/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/gui/widget/widget.cpp.o

[71/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/collisionrenderpass.cpp.o

[72/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/renderdata.cpp.o

[73/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp.o

In file included from /data/tinyci_builds/daid/SeriousProton2/include/sp2/io/resourceProvider.h:6,

                 from /data/tinyci_builds/daid/SeriousProton2/include/sp2/graphics/image.h:8,

                 from /data/tinyci_builds/daid/SeriousProton2/include/sp2/graphics/texture.h:6,

                 from /data/tinyci_builds/daid/SeriousProton2/include/sp2/graphics/scene/renderdata.h:7,

                 from /data/tinyci_builds/daid/SeriousProton2/include/sp2/graphics/scene/renderqueue.h:4,

                 from /data/tinyci_builds/daid/SeriousProton2/include/sp2/graphics/scene/basicnoderenderpass.h:5,

                 from /data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:1:

In constructor ‘sp::_PListIteratorBase::_PListIteratorBase(sp::_PListBase*)’,

    inlined from ‘sp::PList<T>::Iterator::Iterator(sp::_PListBase*) [with T = sp::Camera]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:251:34,

    inlined from ‘sp::PList<T>::Iterator sp::PList<T>::begin() const [with T = sp::Camera]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:324:49,

    inlined from ‘virtual bool sp::BasicNodeRenderPass::onPointerMove(sp::Vector2d, int)’ at /data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:46:32:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:69:35: warning: storing the address of local variable ‘__for_begin’ in ‘*(sp::_PListBase*)((char*)this + 24).sp::_PListBase::iterators_start’ [-Wdangling-pointer=]

   69 |             list->iterators_start = this;

      |             ~~~~~~~~~~~~~~~~~~~~~~^~~~~~

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp: In member function ‘virtual bool sp::BasicNodeRenderPass::onPointerMove(sp::Vector2d, int)’:

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:46:32: note: ‘__for_begin’ declared here

   46 |         for(P<Camera> camera : cameras)

      |                                ^~~~~~~

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:46:32: note: ‘<unknown>’ declared here

In constructor ‘sp::_PListIteratorBase::_PListIteratorBase(sp::_PListBase*)’,

    inlined from ‘sp::PList<T>::Iterator::Iterator(sp::_PListBase*) [with T = sp::Camera]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:251:34,

    inlined from ‘sp::PList<T>::Iterator sp::PList<T>::begin() const [with T = sp::Camera]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:324:49,

    inlined from ‘virtual bool sp::BasicNodeRenderPass::onPointerDown(sp::io::Pointer::Button, sp::Vector2d, int)’ at /data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:77:32:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:69:35: warning: storing the address of local variable ‘__for_begin’ in ‘*(sp::_PListBase*)((char*)this + 24).sp::_PListBase::iterators_start’ [-Wdangling-pointer=]

   69 |             list->iterators_start = this;

      |             ~~~~~~~~~~~~~~~~~~~~~~^~~~~~

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp: In member function ‘virtual bool sp::BasicNodeRenderPass::onPointerDown(sp::io::Pointer::Button, sp::Vector2d, int)’:

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:77:32: note: ‘__for_begin’ declared here

   77 |         for(P<Camera> camera : cameras)

      |                                ^~~~~~~

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:77:32: note: ‘<unknown>’ declared here

In constructor ‘sp::_PListIteratorBase::_PListIteratorBase(sp::_PListBase*)’,

    inlined from ‘sp::PList<T>::Iterator::Iterator(sp::_PListBase*) [with T = sp::Camera]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:251:34,

    inlined from ‘sp::PList<T>::Iterator sp::PList<T>::begin() const [with T = sp::Camera]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:324:49,

    inlined from ‘virtual bool sp::BasicNodeRenderPass::onWheelMove(sp::Vector2d, sp::io::Pointer::Wheel)’ at /data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:148:32:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:69:35: warning: storing the address of local variable ‘__for_begin’ in ‘*(sp::_PListBase*)((char*)this + 24).sp::_PListBase::iterators_start’ [-Wdangling-pointer=]

   69 |             list->iterators_start = this;

      |             ~~~~~~~~~~~~~~~~~~~~~~^~~~~~

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp: In member function ‘virtual bool sp::BasicNodeRenderPass::onWheelMove(sp::Vector2d, sp::io::Pointer::Wheel)’:

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:148:32: note: ‘__for_begin’ declared here

  148 |         for(P<Camera> camera : cameras)

      |                                ^~~~~~~

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:148:32: note: ‘<unknown>’ declared here

In constructor ‘sp::_PListIteratorBase::_PListIteratorBase(sp::_PListBase*)’,

    inlined from ‘sp::PList<T>::Iterator::Iterator(sp::_PListBase*) [with T = sp::Camera]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:251:34,

    inlined from ‘sp::PList<T>::Iterator sp::PList<T>::begin() const [with T = sp::Camera]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:324:49,

    inlined from ‘virtual void sp::BasicNodeRenderPass::render(sp::RenderQueue&)’ at /data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:31:32:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/pointerList.h:69:35: warning: storing the address of local variable ‘__for_begin’ in ‘*(sp::_PListBase*)((char*)this + 24).sp::_PListBase::iterators_start’ [-Wdangling-pointer=]

   69 |             list->iterators_start = this;

      |             ~~~~~~~~~~~~~~~~~~~~~~^~~~~~

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp: In member function ‘virtual void sp::BasicNodeRenderPass::render(sp::RenderQueue&)’:

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:31:32: note: ‘__for_begin’ declared here

   31 |         for(P<Camera> camera : cameras)

      |                                ^~~~~~~

/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/basicnoderenderpass.cpp:31:32: note: ‘<unknown>’ declared here

[74/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/renderpass.cpp.o

[75/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/mesh/fbx.cpp.o

[76/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/graphicslayer.cpp.o

[77/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/texture.cpp.o

[78/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/fileSelectionDialog.cpp.o

[79/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/clipboard.cpp.o

[80/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/shader.cpp.o

[81/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/cameraCapture.cpp.o

[82/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/scene/renderqueue.cpp.o

[83/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/textureManager.cpp.o

[84/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/mesh/obj.cpp.o

[85/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/textureAtlas.cpp.o

[86/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/spriteAnimation.cpp.o

[87/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/internalResourceProvider.cpp.o

[88/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/directoryResourceProvider.cpp.o

[89/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/mesh/glb.cpp.o

[90/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/irc/twitch.cpp.o

[91/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/network/socketBase.cpp.o

[92/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/http/request.cpp.o

[93/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/filesystem.cpp.o

[94/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/irc/client.cpp.o

[95/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/network/selector.cpp.o

[96/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/keyValueTreeSaver.cpp.o

[97/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/network/address.cpp.o

[98/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/lazyLoader.cpp.o

[99/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/network/tcpListener.cpp.o

[100/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/http/websocket.cpp.o

[101/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/network/udpSocket.cpp.o

[102/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/keyValueTreeLoader.cpp.o

[103/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/serialization/list.cpp.o

[104/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/subprocess.cpp.o

[105/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/resourceProvider.cpp.o

[106/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/network/tcpSocket.cpp.o

[107/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/http/server.cpp.o

[108/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/serialport.cpp.o

[109/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/virtualTouchKeys.cpp.o

[110/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/serialization/serializer.cpp.o

[111/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/logging.cpp.o

[112/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/zipResourceProvider.cpp.o

[113/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/serialization/dataset.cpp.o

[114/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/keyValueTree.cpp.o

[115/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/pointerBase.cpp.o

[116/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/multiplayer/registry.cpp.o

[117/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/multiplayer/base.cpp.o

[118/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/pointer.cpp.o

[119/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/pointerList.cpp.o

[120/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/multiplayer/replication.cpp.o

[121/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/random.cpp.o

[122/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/scene/camera.cpp.o

[123/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/scene/node.cpp.o

[124/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/scene/scene.cpp.o

[125/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/script/bindingClass.cpp.o

[126/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/image.cpp.o

[127/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/script/bindingObject.cpp.o

[128/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/script/callback.cpp.o

[129/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/io/keybinding.cpp.o

[130/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/script/coroutine.cpp.o

[131/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/scene/tilemap.cpp.o

[132/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/script/luaBindings.cpp.o

[133/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/script/environment.cpp.o

[134/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/script/luaState.cpp.o

[135/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/scene/voxelmap.cpp.o

[136/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/script/vector.cpp.o

[137/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/stringutil/base64.cpp.o

[138/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/scene/particleEmitter.cpp.o

[139/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/stringutil/sha1.cpp.o

[140/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/stringutil/utf8.cpp.o

[141/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/stringutil/luaTokenizer.cpp.o

[142/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/timer.cpp.o

[143/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/multiplayer/discovery.cpp.o

[144/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/tween.cpp.o

[145/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/updatable.cpp.o

[146/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/stringutil/i18n.cpp.o

[147/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/stringutil/convert.cpp.o

[148/529] Building CXX object CMakeFiles/UnitTests.dir/src/address.cpp.o

[149/529] Building CXX object CMakeFiles/UnitTests.dir/src/http.cpp.o

[150/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/multiplayer/client.cpp.o

[151/529] Building CXX object CMakeFiles/UnitTests.dir/src/i18n.cpp.o

[152/529] Building CXX object CMakeFiles/UnitTests.dir/src/color.cpp.o

[153/529] Building CXX object extlibs/CMakeFiles/box2d.dir/Box2D/Collision/Shapes/b2EdgeShape.cpp.o

[154/529] Building CXX object extlibs/CMakeFiles/box2d.dir/Box2D/Collision/Shapes/b2ChainShape.cpp.o

[155/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/tweak.cpp.o

[156/529] Building CXX object extlibs/CMakeFiles/box2d.dir/Box2D/Collision/Shapes/b2CircleShape.cpp.o

[157/529] Building CXX object CMakeFiles/UnitTests.dir/src/socket.cpp.o

[158/529] Building CXX object CMakeFiles/UnitTests.dir/src/main.cpp.o

FAILED: CMakeFiles/UnitTests.dir/src/main.cpp.o 

/usr/bin/c++ -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -I/data/tinyci_builds/daid/SeriousProton2/include -I/data/tinyci_builds/daid/SeriousProton2/extlibs/bullet -I/data/tinyci_builds/daid/SeriousProton2/extlibs -I/data/tinyci_builds/daid/SeriousProton2/_build_unittests/_deps/json-src/single_include -I/data/tinyci_builds/daid/SeriousProton2/extlibs/miniz -I/data/tinyci_builds/daid/SeriousProton2/extlibs/freetype-2.9/include -isystem /usr/include/SDL2 -O3 -DNDEBUG -O3 -ffast-math -fno-exceptions -Wall -Wno-psabi -Wstrict-aliasing -Wold-style-cast -Werror=suggest-override -Werror=return-type -Werror=delete-non-virtual-dtor -Werror=shadow-compatible-local -std=gnu++17 -MD -MT CMakeFiles/UnitTests.dir/src/main.cpp.o -MF CMakeFiles/UnitTests.dir/src/main.cpp.o.d -o CMakeFiles/UnitTests.dir/src/main.cpp.o -c /data/tinyci_builds/daid/SeriousProton2/tests/src/main.cpp

In file included from /data/tinyci_builds/daid/SeriousProton2/tests/src/main.cpp:4:

/data/tinyci_builds/daid/SeriousProton2/tests/src/doctest.h:4008:47: error: size of array ‘altStackMem’ is not an integral constant-expression

 4008 |         static char             altStackMem[4 * SIGSTKSZ];

      |                                               ^

[159/529] Building CXX object CMakeFiles/UnitTests.dir/src/serializer.cpp.o

[160/529] Building CXX object extlibs/CMakeFiles/box2d.dir/Box2D/Collision/b2BroadPhase.cpp.o

[161/529] Building CXX object extlibs/CMakeFiles/box2d.dir/Box2D/Collision/b2CollideCircle.cpp.o

[162/529] Building CXX object extlibs/CMakeFiles/box2d.dir/Box2D/Collision/Shapes/b2PolygonShape.cpp.o

[163/529] Building CXX object extlibs/CMakeFiles/box2d.dir/Box2D/Collision/b2Collision.cpp.o

[164/529] Building CXX object CMakeFiles/UnitTests.dir/src/udp.cpp.o

[165/529] Building CXX object extlibs/CMakeFiles/box2d.dir/Box2D/Collision/b2CollideEdge.cpp.o

[166/529] Building CXX object extlibs/CMakeFiles/box2d.dir/Box2D/Collision/b2CollidePolygon.cpp.o

[167/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/multiplayer/server.cpp.o

[168/529] Building CXX object CMakeFiles/UnitTests.dir/src/script.cpp.o

In file included from /data/tinyci_builds/daid/SeriousProton2/include/sp2/script/luaBindings.h:9,

                 from /data/tinyci_builds/daid/SeriousProton2/include/sp2/script/bindingClass.h:6,

                 from /data/tinyci_builds/daid/SeriousProton2/include/sp2/script/bindingObject.h:6,

                 from /data/tinyci_builds/daid/SeriousProton2/include/sp2/script/environment.h:7,

                 from /data/tinyci_builds/daid/SeriousProton2/tests/src/script.cpp:1:

In constructor ‘sp::Variant::Variant(sp::Variant&&)’,

    inlined from ‘sp::Result<T>::Result(T&&) [with T = sp::Variant]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/result.h:12:22,

    inlined from ‘sp::Result<sp::Variant> sp::script::Callback::call(ARGS ...) [with ARGS = {}]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h:27:28,

    inlined from ‘void _DOCTEST_ANON_FUNC_29()’ at /data/tinyci_builds/daid/SeriousProton2/tests/src/script.cpp:171:5:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/variant.h:8:7: warning: ‘<unnamed>.sp::Variant::data’ may be used uninitialized [-Wmaybe-uninitialized]

    8 | class Variant

      |       ^~~~~~~

In file included from /data/tinyci_builds/daid/SeriousProton2/include/sp2/script/bindingClass.h:103:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h: In function ‘void _DOCTEST_ANON_FUNC_29()’:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h:27:20: note: ‘<anonymous>’ declared here

   27 |             return Variant();

      |                    ^~~~~~~~~

In constructor ‘sp::Variant::Variant(sp::Variant&&)’,

    inlined from ‘sp::Result<T>::Result(T&&) [with T = sp::Variant]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/result.h:12:22,

    inlined from ‘sp::Result<sp::Variant> sp::script::Callback::call(ARGS ...) [with ARGS = {}]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h:34:28,

    inlined from ‘void _DOCTEST_ANON_FUNC_29()’ at /data/tinyci_builds/daid/SeriousProton2/tests/src/script.cpp:171:5:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/variant.h:8:7: warning: ‘<unnamed>.sp::Variant::data’ may be used uninitialized [-Wmaybe-uninitialized]

    8 | class Variant

      |       ^~~~~~~

/data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h: In function ‘void _DOCTEST_ANON_FUNC_29()’:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h:34:20: note: ‘<anonymous>’ declared here

   34 |             return Variant();

      |                    ^~~~~~~~~

In constructor ‘sp::Variant::Variant(sp::Variant&&)’,

    inlined from ‘sp::Result<T>::Result(T&&) [with T = sp::Variant]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/result.h:12:22,

    inlined from ‘sp::Result<sp::Variant> sp::script::Callback::call(ARGS ...) [with ARGS = {}]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h:27:28,

    inlined from ‘void _DOCTEST_ANON_FUNC_29()’ at /data/tinyci_builds/daid/SeriousProton2/tests/src/script.cpp:173:5:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/variant.h:8:7: warning: ‘<unnamed>.sp::Variant::data’ may be used uninitialized [-Wmaybe-uninitialized]

    8 | class Variant

      |       ^~~~~~~

/data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h: In function ‘void _DOCTEST_ANON_FUNC_29()’:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h:27:20: note: ‘<anonymous>’ declared here

   27 |             return Variant();

      |                    ^~~~~~~~~

In constructor ‘sp::Variant::Variant(sp::Variant&&)’,

    inlined from ‘sp::Result<T>::Result(T&&) [with T = sp::Variant]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/result.h:12:22,

    inlined from ‘sp::Result<sp::Variant> sp::script::Callback::call(ARGS ...) [with ARGS = {}]’ at /data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h:34:28,

    inlined from ‘void _DOCTEST_ANON_FUNC_29()’ at /data/tinyci_builds/daid/SeriousProton2/tests/src/script.cpp:173:5:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/variant.h:8:7: warning: ‘<unnamed>.sp::Variant::data’ may be used uninitialized [-Wmaybe-uninitialized]

    8 | class Variant

      |       ^~~~~~~

/data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h: In function ‘void _DOCTEST_ANON_FUNC_29()’:

/data/tinyci_builds/daid/SeriousProton2/include/sp2/script/callback.h:34:20: note: ‘<anonymous>’ declared here

   34 |             return Variant();

      |                    ^~~~~~~~~

[169/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/window.cpp.o

[170/529] Building CXX object CMakeFiles/seriousproton2.dir/data/tinyci_builds/daid/SeriousProton2/src/graphics/image/hq2x.cpp.o

[171/529] Building CXX object CMakeFiles/UnitTests.dir/src/string.cpp.o

ninja: build stopped: subcommand failed.

Please sign in to comment.