From owner-freebsd-stable Thu Aug 22 7:39:56 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 C594B37B400 for ; Thu, 22 Aug 2002 07:39:53 -0700 (PDT) Received: from grosbein.pp.ru (D00015.dialonly.kemerovo.su [213.184.66.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D70243E3B for ; Thu, 22 Aug 2002 07:39:51 -0700 (PDT) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (smmsp@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.5/8.12.5) with ESMTP id g7MEdkEI000454 for ; Thu, 22 Aug 2002 22:39:46 +0800 (KRAST) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.5/8.12.5/Submit) id g7MEavRL000403 for stable@freebsd.org; Thu, 22 Aug 2002 22:36:57 +0800 (KRAST) Date: Thu, 22 Aug 2002 22:36:57 +0800 From: Eugene Grosbein 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 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 : #include #include 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