🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #4975

compile error

#4975
From: America
Date: Fri, 05 Nov 2004 18:46
30 lines
2945 bytes
I have this error when compile ->
[C++ Error] winsock2.h(103): E2238 Multiple declaration for 'fd_set'
[C++ Error] winsock.h(55): E2344 Earlier declaration of 'fd_set'
[C++ Error] winsock2.h(106): E2146 Need an identifier to declare
[C++ Error] winsock2.h(147): E2238 Multiple declaration for 'timeval'
[C++ Error] winsock.h(98): E2344 Earlier declaration of 'timeval'
[C++ Error] winsock2.h(203): E2238 Multiple declaration for 'hostent'
[C++ Error] winsock.h(154): E2344 Earlier declaration of 'hostent'
[C++ Error] winsock2.h(216): E2238 Multiple declaration for 'netent'
[C++ Error] winsock.h(167): E2344 Earlier declaration of 'netent'
[C++ Error] winsock2.h(223): E2238 Multiple declaration for 'servent'
[C++ Error] winsock.h(174): E2344 Earlier declaration of 'servent'
[C++ Error] winsock2.h(235): E2238 Multiple declaration for 'protoent'
[C++ Error] winsock.h(186): E2344 Earlier declaration of 'protoent'
[C++ Error] winsock2.h(319): E2238 Multiple declaration for 'in_addr'
[C++ Error] winsock.h(270): E2344 Earlier declaration of 'in_addr'
[C++ Error] winsock2.h(377): E2238 Multiple declaration for 'sockaddr_in'
[C++ Error] winsock.h(320): E2344 Earlier declaration of 'sockaddr_in'
[C++ Error] winsock2.h(387): E2238 Multiple declaration for 'WSAData'
[C++ Error] winsock.h(330): E2344 Earlier declaration of 'WSAData'
[C++ Error] winsock2.h(403): E2146 Need an identifier to declare
[C++ Error] winsock2.h(536): E2238 Multiple declaration for 'sockaddr'
[C++ Error] winsock.h(493): E2344 Earlier declaration of 'sockaddr'
[C++ Error] winsock2.h(545): E2238 Multiple declaration for 'sockproto'
[C++ Error] winsock.h(502): E2344 Earlier declaration of 'sockproto'
[C++ Error] winsock2.h(584): E2238 Multiple declaration for 'linger'
[C++ Error] winsock2.h(584): E2228 Too many error or warning messages

I use a ServerSocket and NMFTP so it's good but I add a Indy
TrivialFtpServer I get much error.help me please.
Technical Details
Message-ID: <418bc9ac@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,fbeedcb16ebceccc,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "America" <teo@udinelanotte.it>
From: "America" <teo@udinelanotte.it>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: compile error 
Date: Fri, 5 Nov 2004 19:46:03 +0100
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 80.181.64.1
Message-ID: <418bc9ac@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099680172 80.181.64.1 (5 Nov 2004 10:42:52 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail