[cfe-dev] Transparent union

Steve Naroff snaroff at apple.com
Tue Dec 18 06:27:03 PST 2007


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".
>
> Other than this and too verbose format string warnings, All of Tcl 6.4
> (very old version, but build system is simple Makefile without any
> automagics) compiles, including -emit-llvm. Whether the result is
> correct is unknown, but Tcl has a complete test suite.
>

This is great news.

Thanks for the clear/concise bug reports and patches,

snaroff

> -- 
> Seo Sanghyeon
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list