🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#21
From: Remy Lebeau (TeamB)
Date: Fri, 28 Dec 2007 19:45
18 lines
1889 bytes
"Tom Byars" <tam118118@hotmail.com> wrote in message 
news:47754841$1@newsgroups.borland.com...

> This is line 208 in Idiohandler.hpp Remy.

The only way that line can produce an Integer overflow is if the compiler is 
treating 0xffffffffffffffff as an int instead of an __int64.  I don't know 
why Borland/CodeGear keeps having the Delphi compiler output signed values 
(in this case, -1) as unsigned hex values when generating an .hpp file. 
That is not very smart of them to do.  To avoid the warning, you will have 
to edit the file manually to say this instead:

    virtual void __fastcall ReadStream(Classes::TStream* AStream, __int64 
AByteCount = -1, bool AReadUntilDisconnect = false);


Gambit 
Technical Details
Message-ID: <47755361$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4773c52b@newsgroups.borland.com> <477501a1$1@newsgroups.borland.com> <4775318e$1@newsgroups.borland.com> <477539a5$1@newsgroups.borland.com> <47754841$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: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.upgrade
References: <4773c52b@newsgroups.borland.com> <477501a1$1@newsgroups.borland.com> <4775318e$1@newsgroups.borland.com> <477539a5$1@newsgroups.borland.com> <47754841$1@newsgroups.borland.com>
Subject: Re: mswsock.h & iosfwd prevent BCB6 project compiling using BCB 2007
Date: Fri, 28 Dec 2007 11:45:32 -0800
Lines: 20
Organization: Lebeau Software
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.3198
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 207.178.157.90
Message-ID: <47755361$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1198871393 207.178.157.90 (28 Dec 2007 11:49:53 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!217.73.144.44.MISMATCH!ecngs!feeder.ecngs.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail