This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: getline error with make
- From: ericblake at comcast dot net (Eric Blake)
- To: "Br. Nirmalachaitanya" <nirmalachaitanya at gmail dot com>, cygwin at cygwin dot com
- Date: Thu, 20 Apr 2006 04:07:25 +0000
- Subject: Re: getline error with make
>
> When trying to 'make' FontForge on Cygwin, we get the following error.
>
> gimagereadxpm.c:128: error: conflicting types for 'getline'
> /usr/include/sys/stdio.h.31: error: previous declaration of 'getline'
> was here
This has already been brought up on this list:
http://www.cygwin.com/ml/cygwin/2006-01/msg01217.html
> Hope there might be some solution to this problem, from one or both
> sides. . .
Both. Cygwin CVS has already guarded the declaration with
_GNU_SOURCE, so it is not exposed in a strict compilation
environment. And FontForge should realize that the Austin
group is considering including the GNU definition of readline
as a mandatory function in the next version of POSIX, so any
application that wants to use their own version needs to
be aware that a standardized version will likely also exist
soon.
--
Eric Blake
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/