Type Conversion Not Supported for Atomic Types
Error Information
1 2 3 | error: used type '_Atomic(int_fast32_t)' where arithmetic or pointer type is required uint32_t(_Atomic(int_fast32_t))(1) ^ |
Problem
Clang does not support type conversion for non-standard or atomic types. The supported types are listed in clang/include/clang/AST/BuiltinTypes.def, which does not include atomic types.
Solution
Do not perform type conversion for atomic types.
Parent topic: Clang Compatibility Problems