WIP: [clang, cmake] Fix building with fmt 10 (default ubuntu 25.04) and with LTO on Clang (again) #2504

Closed
DraVee wants to merge 5 commits from DraVee:another-fix/clang-on-ubuntu into master
Member

af82eb0e19: @crueter this commit is just a fix proposed by chatgpt, a better fix should be made to fix this https://pastebin.com/PbaFXrBa

af82eb0e19f747343af0be486fd5ee6f8c378edb: @crueter this commit is just a fix proposed by chatgpt, a better fix should be made to fix this https://pastebin.com/PbaFXrBa
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
* based off: https://stackoverflow.com/questions/73011966/unable-to-compile-c-program-with-clang-14

Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
* we should avoid this, better to set each option per case

Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
[cmake/meta] group and comment things
All checks were successful
eden-license / license-header (pull_request) Successful in 42s
05a91aa06c
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
CMakeLists.txt Outdated
@ -231,0 +240,4 @@
# Compiler / Platform Specific Defaults
# For MSVC or Android, enforce external SDL2, CPM, bundled FFmpeg, and precompiled headers.
if (MSVC OR ANDROID)
Owner

If we're going to enforce it, just use CMakeDependentOption.

If we're going to enforce it, just use CMakeDependentOption.
[DO NOT MERGE] WIP
All checks were successful
eden-license / license-header (pull_request) Successful in 18s
746372c363
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
DraVee closed this pull request 2025-09-19 04:08:04 +02:00
All checks were successful
eden-license / license-header (pull_request) Successful in 18s
Required
Details

Pull request closed

Sign in to join this conversation.
No description provided.