Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2002 15:33:59 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long'
Message-ID:  <20020823133359.GA35353@falcon.midgard.homeip.net>
In-Reply-To: <200208231254.g7NCslnM074032@lurza.secnetix.de>
References:  <20020822223657.A364@grosbein.pp.ru> <200208231254.g7NCslnM074032@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 23, 2002 at 02:54:47PM +0200, Oliver Fromme wrote:
> Eugene Grosbein <eugen@grosbein.pp.ru> 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'
> 
> BTW, does gcc 3.x finally support C99?

Yes, although I believe there are still some things missing.

> After all, "long long" _is_ ANSI C.
> For several years already.

Correct, but gcc 2.95.x (which is used in 4.x) does not support C99 and
"long long" is not part of the original ANSI C standard, which is what
the warning messages above refer to.



-- 
<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?20020823133359.GA35353>