🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.upgrade
Article #14

Re: mswsock.h & iosfwd prevent BCB6 project compiling using BCB 2007

#14
From: dhoke
Date: Fri, 28 Dec 2007 13:59
25 lines
2408 bytes
Did you try preprocessing the source file (in bds2006, right click menu in 
project pane on subject source file, select preprocess), and examining the 
preprocessed output, looking at the preprocessed version of the item causing 
the errror?

Your problem seems similar to some I encountered looking at one of the 2007 
trial versions (for bds2006 projects), but I have forgotten specifics - in 
some similar cases I recall finding some local #define's messing with 
parameters or types in the prototype.  (I'm vaguely thinking there was some 
change to B/CG filtered, ms-originating SDK-based winsock headers included 
with 2007, but right now don't recall what, that required some change to 
includes - maybe an add'l include, or something like...)

Be sure you look at the _entire_ prototype - I wasted much time in one case 
because I didn't think the actual problem could be _beyond_ where the 
IDE/compiler was reporting the error, but it was eventually found to be so.

"Tom Byars" <tam118118@hotmail.com> wrote in message 
news:4773c52b@newsgroups.borland.com...
> I've just installed BCB 2007 and tried to compile a package written and 
> working under BCB 6. All units compile OK apart from one which leads to 
> meaningless errors consisting of
>
> mswsock.h(401): E2293 ) expected
>
Technical Details
Message-ID: <477501a1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!62.111.101.3.MISMATCH!news.germany.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4773c52b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,deb4629ff779f0b0
X-Google-Attributes: gid10529a,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "dhoke" <dhoke.nojunk@east-shore.com>
From: "dhoke" <dhoke.nojunk@east-shore.com>
Newsgroups: borland.public.cppbuilder.upgrade
References: <4773c52b@newsgroups.borland.com>
Subject: Re: mswsock.h & iosfwd prevent BCB6 project compiling using BCB 2007
Date: Fri, 28 Dec 2007 08:59:00 -0500
Lines: 27
Organization: East Shore Technologies, Inc.
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 72.92.186.89
Message-ID: <477501a1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1198850465 72.92.186.89 (28 Dec 2007 06:01:05 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!62.111.101.3.MISMATCH!news.germany.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail