Closed amzn-changml closed 1 year ago
Describe the bug
During AR builds of the development branch, an unused variable error occurs when building for the release target
Assets required
The source code from the atomsampleviewer repo
Steps to reproduce Steps to reproduce the behavior:
Build with the asv elease target using this command:
python/python.sh -u scripts/build/ci_build.py --platform Linux --type asv_release
Expected behavior The build completes successfully
Actual behavior The build fails with the following message:
In file included from /data/workspace/o3de/build/linux/External/RPI-7738995e/Code/CMakeFiles/Atom_RPI.Public.dir/Unity/unity_14_cxx.cxx:17: data/workspace/o3de/Gems/Atom/RPI/Code/Source/RPI.Public/Pass/Pass.cpp:437:18: error: unused variable 'prefix' [-Werror,-Wunused-variable] auto prefix = [&]() -> AZStd::string ^ /data/workspace/o3de/Gems/Atom/RPI/Code/Source/RPI.Public/Pass/Pass.cpp:608:18: error: unused variable 'prefix' [-Werror,-Wunused-variable] auto prefix = [&]() -> AZStd::string ^ 2 errors generated.
Screenshots/Video
Example build in AR: https://jenkins.build.o3de.org/blue/organizations/jenkins/o3de-atom-sampleviewer/detail/development/9/pipeline/515
Found in Branch Engine - development ASV - development
OS Info
Linux - Ubuntu 22.04
Describe the bug
During AR builds of the development branch, an unused variable error occurs when building for the release target
Assets required
The source code from the atomsampleviewer repo
Steps to reproduce Steps to reproduce the behavior:
Build with the asv elease target using this command:
Expected behavior The build completes successfully
Actual behavior The build fails with the following message:
Screenshots/Video
Example build in AR: https://jenkins.build.o3de.org/blue/organizations/jenkins/o3de-atom-sampleviewer/detail/development/9/pipeline/515
Found in Branch Engine - development ASV - development
OS Info