I found a bug with isblank()

Stefan Frings stefan.frings@vodafone.com
Wed Sep 4 06:30:00 GMT 2002


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/



More information about the Cygwin mailing list