delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/20/00:07:42

X-Spam-Check-By: sourceware.org
From: ericblake AT comcast DOT net (Eric Blake)
To: "Br. Nirmalachaitanya" <nirmalachaitanya AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: getline error with make
Date: Thu, 20 Apr 2006 04:07:25 +0000
Message-Id: <042020060407.26083.444708FD0006677E000065E322092246270A050E040D0C079D0A@comcast.net>
X-Mailer: AT&T Message Center Version 1 (Apr 11 2006)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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

- Raw text -


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