We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2238 - Enable GCC atomics for clang
Summary: Enable GCC atomics for clang
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: atomic (show other bugs)
Version: HG 2.1
Hardware: All All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-14 07:34 UTC by Marcus von Appen
Modified: 2013-11-16 19:58 UTC (History)
0 users

See Also:


Attachments
cmake patch for clang and atomics (617 bytes, patch)
2013-11-14 07:34 UTC, Marcus von Appen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus von Appen 2013-11-14 07:34:52 UTC
Created attachment 1441 [details]
cmake patch for clang and atomics

clang provides support for optimized atomics.
The attached patch enables the cmake build system to take clang into account on checking for atomics.
Comment 1 Sam Lantinga 2013-11-16 19:58:56 UTC
Added, thanks!
https://hg.libsdl.org/SDL/rev/2c9aedfba740