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

GRAPHICS: AGS: Fix ODR problems in AGS and add Clang support #6090

Merged
merged 5 commits into from
Sep 5, 2024

Conversation

lephilousophe
Copy link
Member

This PR fixes leftovers following the PR #5581 where AGS code was not touched to apply the same recipe.
Then, the support for Clang is added with proper version checks.
Finally the checks for GCC and Clang version are relaxed for architecture which do not need such checks (ARMv8 for NEON and x86_64 for SSE2).

This is not perfect as old Android ARM cannot benefit from the SIMD code but it allows to widen the support to Android ARM64 and all MacOS platforms at least.

Copy link
Contributor

@elasota elasota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine to me

@bluegr
Copy link
Member

bluegr commented Sep 5, 2024

Nice work, thanks!

@bluegr bluegr merged commit 30952fb into scummvm:master Sep 5, 2024
8 checks passed
@lephilousophe lephilousophe deleted the odr-clang branch September 5, 2024 08:54
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

Successfully merging this pull request may close these issues.

3 participants