Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build SDL with -DCMAKE_BUILD_TYPE=Release on Ubuntu 20.04 #3644

Closed
dboltovskyi opened this issue Mar 2, 2021 · 1 comment
Closed
Labels

Comments

@dboltovskyi
Copy link
Contributor

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
  1. git checkout develop
  2. cmake ../sdl_core -DCMAKE_BUILD_TYPE=Release
  3. 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
@iCollin
Copy link
Collaborator

iCollin commented Mar 4, 2021

Thank you for reporting, closed via #3650

@iCollin iCollin closed this as completed Mar 4, 2021
@Jack-Byrne Jack-Byrne mentioned this issue Mar 18, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants