Date: Thu, 22 Aug 2002 20:20:27 +0200 From: Erik Trulsson <ertr1013@student.uu.se> To: Colin Percival <colin_percival@sfu.ca> Cc: Eugene Grosbein <eugen@grosbein.pp.ru>, 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> In-Reply-To: <5.0.2.1.1.20020822074356.01e97258@popserver.sfu.ca> References: <20020822223657.A364@grosbein.pp.ru> <5.0.2.1.1.20020822074356.01e97258@popserver.sfu.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <stdio.h>
> #include <stdlib.h>
>
> int main(void)
> {
> calloc(10,1024*1024);
> return 0;
> }
> www# gcc -ansi -pedantic -Wall test.c
> www#
>
> Colin Percival
--
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020822182027.GA13479>
