Bug Report
Unable to build SDL with -DCMAKE_BUILD_TYPE=Release for Ubuntu 20.04
However SDL in such configuration is built successfully on Ubuntu 18.04
Reproduction Steps
- git checkout develop
- cmake ../sdl_core -DCMAKE_BUILD_TYPE=Release
- make install
Expected Behavior
SDL is built successfully
Observed Behavior
SDL build fails with errors:
/home/developer/sdl/sdl_core/src/components/include/utils/semantic_version.h:49:20: error: ‘*((void*)(& signature)+10).utils::SemanticVersion::patch_version_’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
49 | patch_version_ = other.patch_version_;
OS & Version Information
Test Case, Sample Code, and / or Example App