Re: importC Error: undefined identifier `__atomic_thread_fence`
On Friday, June 21, 2024 12:39:44 PM MDT mw via Digitalmars-d-learn wrote: > Looks like `__atomic_thread_fence` is a GCC built-in function, so > how to make importC recognize it? dmd cannot handle it. gcc or ldc might, but dmd generally needs standard C code. Stuff like gcc built-ins basically has
importC Error: undefined identifier `__atomic_thread_fence`
Looks like `__atomic_thread_fence` is a GCC built-in function, so how to make importC recognize it? Thanks.