Any #GCC folks know why the transparent_union attribute works in C but not C++? The motivating use case is for a system header, which exposes an API that needs to be callable from both C and C++ with identical code, yet it appears that this attribute has never worked in g++ (and is documented as C only). But I can't find any rationale for this choice.
Post
Replies:
0
No replies yet
Be the first to share your thoughts.