From owner-freebsd-stable Thu Aug 22 11:20:39 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42C6A37B400 for ; Thu, 22 Aug 2002 11:20:36 -0700 (PDT) Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2263A43E65 for ; Thu, 22 Aug 2002 11:20:35 -0700 (PDT) (envelope-from erikt@midgard.homeip.net) Received: from d1o913.telia.com (d1o913.telia.com [195.252.44.241]) by mailb.telia.com (8.12.5/8.12.5) with ESMTP id g7MIKXHn004268 for ; Thu, 22 Aug 2002 20:20:33 +0200 (CEST) X-Original-Recipient: Received: from falcon.midgard.homeip.net (h62n2fls20o913.telia.com [212.181.163.62]) by d1o913.telia.com (8.8.8/8.8.8) with SMTP id UAA16532 for ; Thu, 22 Aug 2002 20:20:33 +0200 (CEST) Received: (qmail 17045 invoked by uid 1001); 22 Aug 2002 18:20:27 -0000 Date: Thu, 22 Aug 2002 20:20:27 +0200 From: Erik Trulsson To: Colin Percival Cc: Eugene Grosbein , stable@freebsd.org Subject: Re: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' Message-ID: <20020822182027.GA13479@falcon.midgard.homeip.net> Mail-Followup-To: Colin Percival , Eugene Grosbein , stable@freebsd.org References: <20020822223657.A364@grosbein.pp.ru> <5.0.2.1.1.20020822074356.01e97258@popserver.sfu.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.0.2.1.1.20020822074356.01e97258@popserver.sfu.ca> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Aug 22, 2002 at 07:52:47AM -0700, Colin Percival wrote: > At 22:36 22/08/2002 +0800, Eugene Grosbein wrote: > ># gcc -ansi -pedantic -Wall test.c > >In file included from test.c:4: > >/usr/include/stdlib.h:110: warning: ANSI C does not support `long long' > >/usr/include/stdlib.h:114: warning: ANSI C does not support `long long' > > > >Why? > > I can't seem to reproduce this: > www# uname -r > 4.6.1-RELEASE-p10 That is because this change happened with the import of gcc 2.95.4 which was added to 4-STABLE after RELENG_4_6 had been branched. So, no, you shouldn't see it, nor should anybody else who is running 4.6-RELEASE (or 4.6.1-RELEASE or 4.6.2-RELEASE) This is only in -STABLE (and possibly in -current but things are sufficiently different there that these warnings might not appear there.) > www# cat test.c > > #include > #include > > int main(void) > { > calloc(10,1024*1024); > return 0; > } > www# gcc -ansi -pedantic -Wall test.c > www# > > Colin Percival -- Erik Trulsson ertr1013@student.uu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message