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

[Windows:MSVC] building error with static SDL bug reappeared #9255

Closed
sandsc opened this issue Mar 12, 2024 · 3 comments
Closed

[Windows:MSVC] building error with static SDL bug reappeared #9255

sandsc opened this issue Mar 12, 2024 · 3 comments
Assignees
Milestone

Comments

@sandsc
Copy link

sandsc commented Mar 12, 2024

#5156 [Windows:MSVC] building error with static SDL bug has reappeared after pull on latest commit.

Severity Code Description Project File Line Suppression State Details
Error C2268 'memmove' is a compiler predefined library helper. Library helpers are not supported with /GL; compile object file '..\build\win-x64-release\src\build\sdl\sdl3-static.dir\release\sdl_memmove.obj' without /GL.

@sandsc
Copy link
Author

sandsc commented Mar 12, 2024

error can be fixed by turn INTERPROCEDURAL_OPTIMIZATION off
set_target_properties(SDL3-static PROPERTIES INTERPROCEDURAL_OPTIMIZATION OFF)

@slouken slouken added this to the 3.2.0 milestone Mar 13, 2024
@slouken
Copy link
Collaborator

slouken commented May 22, 2024

@madebr, is this still active?

@slouken slouken closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2024
@madebr
Copy link
Contributor

madebr commented Oct 6, 2024

To conclude this, combining SDL_LIBC=OFF with ltcg is not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants