This is an archive of the discontinued LLVM Phabricator instance.

[clang][AIX] Define __STDC_NO_ATOMICS__ for c11 and above
AbandonedPublic

Authored by daltenty on Mar 28 2021, 9:46 PM.

Details

Summary

The libc implementation on AIX does not have stdatomic.h and the requisite interfaces for c11 atomics, so for now it's better to set STDC_NO_ATOMICS

Diff Detail

Event Timeline

daltenty created this revision.Mar 28 2021, 9:46 PM
daltenty requested review of this revision.Mar 28 2021, 9:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2021, 9:46 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
clang/lib/Basic/Targets/OSTargets.h
727

Checking Opts.C11 might be sufficient.

jsji added reviewers: lkail, Restricted Project.May 3 2021, 1:44 PM
daltenty abandoned this revision.Jul 19 2021, 10:50 AM