You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gcc fails on typedef of iree_atomic_intptr_t #1269
Building IREE with gcc 8.3 or 9.3, the build fails due to
/home/mbrehler/repos/iree/iree/base/atomics.h:72:9: error: ‘_Atomic’ does not name a type
72 | typedef _Atomic __INTPTR_TYPE__ iree_atomic_intptr_t;
| ^
This results in
/home/mbrehler/repos/iree/iree/base/atomics.h:97:22: error: ‘iree_atomic_intptr_t’ was not declared in this scope; did you mean ‘iree_atomic_store’?
97 | static_assert(sizeof(iree_atomic_intptr_t) == sizeof(intptr_t),
| ^~~~~~~~~~~~~~~~~~~~
| iree_atomic_store
and further the missingiree_atomic_intptr_t does effect iree/vm/module.h and iree/vm/ref.h.
Activity
marbre commentedon Mar 26, 2020
The C11 keyword
_Atomicis not implemented in C++, which seems to be a common issue.Fix compile issues for gcc 9.1.1.
Fix compile issues for gcc 9.1.1. (#2569)