Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Wed, 15 Aug 2001 13:24:50 -0400 From: Jason Tishler To: Cygwin-Developers Subject: Does CVS build? Message-ID: <20010815132450.A1468@dothill.com> Mail-Followup-To: Cygwin-Developers Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0crhq69hqmXogQAX" Content-Disposition: inline User-Agent: Mutt/1.3.18i --0crhq69hqmXogQAX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline After doing a fresh checkout a few hours ago, I got the following build error: gcc ... ../../../src/libiberty/strerror.c ../../../src/libiberty/strerror.c:465: warning: static declaration for `sys_nerr' follows non-static ../../../src/libiberty/strerror.c:466: conflicting types for `sys_errlist' /home/jt/src/cygwin/src/newlib/libc/include/sys/errno.h:21: previous declaration of `sys_errlist' make[1]: *** [strerror.o] Error 1 make[1]: Leaving directory `/home/jt/src/cygwin/build/i686-pc-cygwin/libiberty' make: *** [all-target-libiberty] Error 2 I was able to workaround the above by applying the attached patch. Is this cockpit error? Or, does CVS currently not build? Thanks, Jason --0crhq69hqmXogQAX Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="error.h.diff" Index: newlib/libc/include/sys/errno.h =================================================================== RCS file: /cvs/src/src/newlib/libc/include/sys/errno.h,v retrieving revision 1.7 diff -u -p -r1.7 errno.h --- errno.h 2001/08/14 14:36:58 1.7 +++ errno.h 2001/08/15 17:21:42 @@ -17,10 +17,6 @@ extern int *__errno _PARAMS ((void)); extern __IMPORT _CONST char * _CONST _sys_errlist[]; extern __IMPORT int _sys_nerr; -#ifdef __CYGWIN__ -extern __IMPORT const char * const sys_errlist[]; -extern __IMPORT int sys_nerr; -#endif #define __errno_r(ptr) ((ptr)->_errno) --0crhq69hqmXogQAX--