[cfe-dev] Transparent union
Sanghyeon Seo
sanxiyn at gmail.com
Tue Dec 18 03:41:07 PST 2007
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.
--
Seo Sanghyeon
More information about the cfe-dev
mailing list