delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/31/16:21:35

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Windows ME and DJGPP
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <csvg7tkosu6t10ogi9ttuvtneuculo23jh@4ax.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010131101046 DOT 29266K-100000 AT is> <3a78130f DOT 16030234 AT news DOT freeserve DOT net>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 18
X-Trace: /wLwTaHwPYzeHfGCQR0hMSW8TQwCpxcrt+mCO9Qw0iWc48yIDZdknTORSLQunS9LHzybQMAYZdRv!JVHauo/et3o3MdaCXes4mkRkNKZUq11degBq/1zcCOBd1pdthM4HrFRiF8yFPQG0Q1X154aXE5CV!76DqDg==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 31 Jan 2001 21:09:33 GMT
Distribution: world
Date: Wed, 31 Jan 2001 21:09:33 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 31 Jan 2001 13:29:12 GMT, dontmailme AT iname DOT com (Steamer)
wrote:

>Eli Zaretskii wrote:
>
>> Hmm?  Is this in C or in C++?  I don't think you need any casts in a C
>> program for assigning int to a double or the other way around.
>
>Nor do you in C++.  It's strange that GCC chooses to warn about
>this in C++ but not in C.

Most likely to support overloading a method or other function that can
take an int or a double.  Also because a double can lose significant
figures when cast to int (MSVC does this too in C code).

-- 
Windows CE + Windows ME + Windows NT = CEMENT
  http://www.geocities.com/rcwoolley/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019