delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/05/17:37:34

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
X-Incognito-SN: 531
Date: Wed, 04 Sep 2002 15:29:25 +0100
From: stefan DOT frings AT vodafone DOT com (Stefan Frings)
Subject: I found a bug with isblank()
To: cygwin AT cygwin DOT com
Reply-to: stefan DOT frings AT vodafone DOT com
Message-id: <vines.qudD+uWVRxA@MMO-ZV-ZV-DUS05.ZV.MMO.DE>
MIME-version: 1.0
X-Priority: 3 (Normal)
X-Incognito-Version: 5.1.0.84

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.


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019