From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31538 invoked by alias); 6 Sep 2002 12:50:20 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31425 invoked from network); 6 Sep 2002 12:50:18 -0000 Received: from unknown (HELO web21010.mail.yahoo.com) (216.136.227.64) by sources.redhat.com with SMTP; 6 Sep 2002 12:50:18 -0000 Message-ID: <20020906125018.66368.qmail@web21010.mail.yahoo.com> Received: from [130.127.122.186] by web21010.mail.yahoo.com via HTTP; Fri, 06 Sep 2002 05:50:18 PDT Date: Fri, 06 Sep 2002 06:01:00 -0000 From: Nicholas Wourms Subject: Re: I found a bug with isblank() To: stefan.frings@vodafone.com, cygwin@cygwin.com In-Reply-To: <20020906123151.19442.qmail@web21001.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-09/txt/msg00253.txt.bz2 --- Nicholas Wourms wrote: > --- Stefan Frings wrote: > > Hello, > > older versions of cygwin C-Lib did not have the function > isblank() > > so I wrote > > my own version. Now I found out that the latest version has this > > function in > > /usr/include/ctype.h so I cannot use my own version any longer. > > Error message > > from gcc: > > > > extras.c:32: conflicting types for 'isblank' > > /usr/include/ctype.h:23: previous declaration of 'isblank' > > > > So I commented my function isblank() out but now I got another > > error message: > > > > extras.o(.text+0x211):extras.c: undefined reference to 'isblank'. > > > > It seems that isblank() is now defined in ctype.h but is missing > in > > the > > libraries. > > Actually, it is probably the case that it isn't being exported by > the > cygwin1.dll, which means the function isn't in the c import > library. > The function may have been recently added to newlib, so that is why > you are picking it up. What is necessary is to actually tell the > cygwin1.dll to exort the new symbols. I'll take a look at it today > and see what is necessary to export it. You could probably help > the > situation by referencing what *standards* isblank() is part of and > why it should be included in the cygwin1.dll. Nevermind about the information, I forgot that it is part of C99 locale. I'll submit a patch to the sources today. If they add it, it should be in the next snapshot. Cheers, Nicholas __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/