delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | "K.J.Williams" <lordwilliams1972 AT gmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Upgrading from a bad C compiler |
Date: | Sun, 29 Jul 2012 19:51:27 -0700 (PDT) |
Organization: | http://groups.google.com |
Lines: | 38 |
Message-ID: | <5a660313-6c6f-433d-aa5f-45be87a95493@googlegroups.com> |
References: | <17d4b525-2c31-4c20-b3c5-a7118343e9a5 AT googlegroups DOT com> |
<jucp01$p35$1 AT speranza DOT aioe DOT org> <b1f8c389-45f4-43e4-9056-62fc50fc9462 AT googlegroups DOT com> | |
<juh7c1$7hk$1 AT speranza DOT aioe DOT org> <3331145d-900b-4bef-8ad0-f533f0b4a17b AT googlegroups DOT com> | |
<juuseq$j7b$1 AT speranza DOT aioe DOT org> <a7htthFse5U1 AT mid DOT dfncis DOT de> | |
<jv1ect$iv$1 AT speranza DOT aioe DOT org> <83lii3hd5r DOT fsf AT gnu DOT org> | |
NNTP-Posting-Host: | 75.164.218.167 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1343616688 11597 127.0.0.1 (30 Jul 2012 02:51:28 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Mon, 30 Jul 2012 02:51:28 +0000 (UTC) |
Cc: | djgpp AT delorie DOT com |
In-Reply-To: | <83lii3hd5r.fsf@gnu.org> |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | glegroupsg2000goo.googlegroups.com; posting-host=75.164.218.167; |
posting-account=jrLHRgkAAABPV01ZW_RN_U6Tm5UnYNUx | |
User-Agent: | G2/1.0 |
Bytes: | 1954 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Saturday, July 28, 2012 12:57:20 PM UTC-7, Eli Zaretskii wrote: > #include <stdio.h> > > > > int > > main (void) > > { > > long double foo; > > size_t lds = sizeof foo; > > > > printf ("sizeof long double = %d\n", lds); > > > > return 0; > > } if long double is legal in C.....(I don't recall this in the C99) That actually would have to be : int main(void) { long double foo; printf("size of long double = %d\r\n", sizeof(foo)); return 0; } long double would have to be defined in limits.h
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |