Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 07:52:47 -0700
From:      Colin Percival <colin_percival@sfu.ca>
To:        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:  <5.0.2.1.1.20020822074356.01e97258@popserver.sfu.ca>
In-Reply-To: <20020822223657.A364@grosbein.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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
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


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?5.0.2.1.1.20020822074356.01e97258>