o3de / o3de

Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
https://o3de.org
Other
7.67k stars 2.19k forks source link

Periodic build Bug Report: Mac profile job red due to compilation error #12489

Open moraaar opened 1 year ago

moraaar commented 1 year ago

Failed Jenkins Job Information: https://jenkins-pipeline.agscollab.com/blue/organizations/jenkins/O3DE-LY-Fork-development_periodic-incremental-daily-internal/detail/O3DE-LY-Fork-development_periodic-incremental-daily-internal/504/pipeline/1356

In file included from /Users/lybuilder/workspace/o3de/build/mac/External/EditorModeFeedback-3e582c90/Code/CMakeFiles/EditorModeFeedback.Editor.Static.dir/Unity/unity_0_cxx.cxx:15:
/Users/lybuilder/workspace/o3de/Gems/AtomLyIntegration/EditorModeFeedback/Code/Source/Pass/EditorStatePassSystem.cpp:187:33: error: loop variable 'entityId' of type 'const AZ::EntityId' creates a copy from type 'const AZ::EntityId' [-Werror,-Wrange-loop-analysis]
                for (const auto entityId : entityIds)
                                ^
/Users/lybuilder/workspace/o3de/Gems/AtomLyIntegration/EditorModeFeedback/Code/Source/Pass/EditorStatePassSystem.cpp:187:22: note: use reference type 'const AZ::EntityId &' to prevent copying
                for (const auto entityId : entityIds)
                     ^~~~~~~~~~~~~~~~~~~~~
                                &
1 error generated.

Attachments log.txt

moraaar commented 1 year ago

Tagging @jonawals