Date: Thu, 22 Aug 2002 22:36:57 +0800 From: Eugene Grosbein <eugen@grosbein.pp.ru> To: stable@freebsd.org Subject: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' Message-ID: <20020822223657.A364@grosbein.pp.ru>
next in thread | raw e-mail | index | archive | help
Hi! I used to maintain some projects written in C at the age of FreeBSD 3.x. Programs used to build silently, without any warning on FreeBSD 3.x and early 4.x releases using 'gcc -ansi -pedantic -Wall'. Now I get lots of warning in system includes. For example, in <stdlib.h>: #include <stdio.h> #include <stdlib.h> int main(void) { calloc(10,1024*1024); return 0; } /* EOF */ # 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? Eugene Grosbein 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?20020822223657.A364>