On Sep 30 10:57, Brian Ford wrote: > My own, compiled from CVS: > gcc (GCC) 3.4.3 20040928 (prerelease) > > ../../../../cygwin/winsup/cygserver/sysv_sem.cc:179: error: `__offsetof__' > was not declared in this scope > ../../../../cygwin/winsup/cygserver/sysv_sem.cc: In function `void > seminit()': > ../../../../cygwin/winsup/cygserver/sysv_sem.cc:217: error: `__offsetof__' > undeclared (first use this function) > ../../../../cygwin/winsup/cygserver/sysv_sem.cc:217: error: (Each > undeclared identifier is reported only once for each function it appears > in.) > > This is a mess of macros in code that I'm not familiar with, so I thought > I'd just report it rather than try to fix it. It's not a showstopper > for me anyway.
Thanks, I'm aware of this problem. This is original code from FreeBSD, but the FreeBSD code is plain C while I converted it partly to C++. Unfortunately the offsetof macro in case of using C++ has drastically changed with GCC 3.4 and it's said to be more correct this way... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/