This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Errors compiling cdrtools under cygwin 1.5.19


On Jan 24 18:46, Simone Crestani wrote:
> Hi,
> I found out that cygwin 1.5.19 gives some problems when I try to compile 
> cdrtools and cdrdao.
> [...]
>    Try to convince cygwin to remove their non-conforming interface
>    definition.
> 
>    The getline() iterface I use goes back to 1982 and has been used in
>    a commercial
>    UNIX clone for a long time.

His fault.  He shouldn't declare a function unconditionally, but use the
system headers if there's a definition available.

As for the correctness, the getline definition in Cygwin's
/usr/include/sys/stdio.h file is *exactly* the definition used on Linux:

  ssize_t getline(char **, size_t *, FILE *);


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]