curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: BCC32 Multiple declaration for 'pollfd'

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 2 Jan 2017 12:19:22 +0100 (CET)

On Fri, 30 Dec 2016, Toninho via curl-users wrote:

> I'm trying to compile curl with Borland BCC 7.20 and I receive this error:

> Error E2238 .\BCC_objs\http.int 200503: Multiple declaration for 'pollfd'
> Error E2344 .\BCC_objs\http.int 156344: Earlier declaration of 'pollfd'

This looks like compiler brekage to me. http.c doesn't even use any pollfd so
it appears that problem might originate from your include files?

Can you make your compiler stop after the preprocessing stage to see if you
can find out any problems with 'pollfd' at that point in time?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ:        https://curl.haxx.se/docs/faq.html
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-02