[haiku-development] Re: Duplicate headers?

  • From: James Leone <linuxcpa@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 10 Oct 2014 08:49:15 -0700

On Oct 10, 2014 8:33 AM, "James Leone" <linuxcpa@xxxxxxxxx> wrote:
>
>
> On Oct 9, 2014 11:58 PM, "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> wrote:
> >
> > Am 10.10.2014 06:42, schrieb James Leone:
> >
> >> make[1]: Entering directory
`...ircservices/work/ircservices-5.0.64/lang'
> >> gcc -DSTATIC_MODULES -Wno-error -g -Wall -Wmissing-prototypes
> >> -fno-builtin-log langcomp.c -o langcomp
> >> langcomp.c:118:14: error: conflicting types for 'getline'
> >>   static char *getline(FILE *f)
> >
> >
> > getline() is POSIX, so ircservices needs to be fixed.
>
> Actually the BSD header is not Posix so it needs to be fixed.
>

But I am happy to say both headers are ASCII compliant.
> > Bye,
> >    Axel.
> >
> >

Other related posts: