Page MenuHomePhabricator

[clang][AIX] Define __STDC_NO_ATOMICS__ for c11 and above
Needs ReviewPublic

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.Mon, May 3, 1:44 PM