| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <20020906125018.66368.qmail@web21010.mail.yahoo.com> |
| Date: | Fri, 6 Sep 2002 05:50:18 -0700 (PDT) |
| From: | Nicholas Wourms <nwourms AT yahoo DOT com> |
| Subject: | Re: I found a bug with isblank() |
| To: | stefan DOT frings AT vodafone DOT com, cygwin AT cygwin DOT com |
| In-Reply-To: | <20020906123151.19442.qmail@web21001.mail.yahoo.com> |
| MIME-Version: | 1.0 |
--- Nicholas Wourms <nwourms AT yahoo DOT com> wrote: > --- Stefan Frings <stefan DOT frings AT vodafone DOT com> 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |