🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#15
From: Tom Byars
Date: Fri, 28 Dec 2007 17:25
28 lines
2720 bytes
dhoke, thanks for the reply. I tried this but when I do it this way it only 
comes up with a single warning (c:\program files\codegear\rad 
studio\5.0\include\Indy10\Idiohandler.hpp 208: Integer arithmetic overflow) 
and no errors. In the preprocessed file the offending line is listed but 
with no problem reported. Any ideas what's happening. I can't claim to know 
what this 'preprocessing' is about.

"dhoke" <dhoke.nojunk@east-shore.com> wrote in message 
news:477501a1$1@newsgroups.borland.com...
> 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.
>
 
Technical Details
Message-ID: <4775318e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4773c52b@newsgroups.borland.com> <477501a1$1@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
From: "Tom Byars" <tam118118@hotmail.com>
Newsgroups: borland.public.cppbuilder.upgrade
References: <4773c52b@newsgroups.borland.com> <477501a1$1@newsgroups.borland.com>
Subject: Re: mswsock.h & iosfwd prevent BCB6 project compiling using BCB 2007
Date: Fri, 28 Dec 2007 17:25:36 -0000
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 12.0.1606
X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606
NNTP-Posting-Host: 90.199.181.70
Message-ID: <4775318e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1198862734 90.199.181.70 (28 Dec 2007 09:25:34 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Lines: 1