[cfe-dev] Transparent union
krj at rajaratnam.dk
Fri Aug 1 10:34:35 PDT 2008
Chris Lattner wrote:
> On Dec 18, 2007, at 3:41 AM, Sanghyeon Seo wrote:
>> In GNU C Library, /usr/include/sys/wait.h defines __WAIT_STATUS as
>> __attribute__((__transparent_union__)) if __GNUC__ is defined.
>> (Otherwise it's void *.) As a result, if a program calls wait, clang
>> currently errors with "incompatible types".
> Can you please file a bugzilla for this one to track it?
Nuno Lopes has submitted a bug for this:
I also ran into this issue when compiling Wireshark.
More information about the cfe-dev