[riot-notifications] [RIOT-OS/RIOT] core: fix c11 atomic definitions (fix gcc9 compilation) (#11514)
notifications at github.com
Wed May 15 14:16:54 CEST 2019
The parameters have to be qualified as Pointer to `volatile` memory here, as this is the official API specification. I think there is no other choice than casting the `void`-Pointer to `volatile` memory to a Pointer to `volatile uintXY_t`. This should for the given C code result in the same machine code to be generated anyway, just without relying on undefined behavior.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications