A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/llvm/llvm-project/issues/54563 below:

member reference base type '_Atomic(struct x)' is not a structure or union · Issue #54563 · llvm/llvm-project · GitHub

_Atomic struct x { int x; } x;
void f(int y)
{
    x.x = y;
}
$ clang t0.c -std=c11 -pedantic -Wall -Wextra -c
<source>:4:6: error: member reference base type '_Atomic(struct x)' is not a structure or union
    x.x = y;

The atomic structure is still a structure.

Expected to be:

accessing a member 'x' of an atomic structure 'x'

Or similar.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4