tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "strict" weak aliases



On Tue, Aug 09, 2011 at 03:01:05PM -0500, David Young wrote:
 > Sure.  Is it __typeof__() or __typeof(), though?  I'm told that
 > __typeof__() is in the GCC manual, however, NetBSD uses __typeof() at
 > least once:
 > 
 > sys/dirent.h:#define _DIRENT_NAMEOFF(dp) __builtin_offsetof(__typeof(*dp), 
 > d_name)

I put that there recently and I thought I'd written __typeof__, so
don't take it as authoritative.

If gcc accepts both it doesn't really matter that much.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index