From owner-freebsd-stable Thu Jul 11 5:33:45 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 F06E637B400 for ; Thu, 11 Jul 2002 05:33:43 -0700 (PDT) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id C09A043E42 for ; Thu, 11 Jul 2002 05:33:42 -0700 (PDT) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from pulcherrima (pulcherrima [128.130.111.23]) by vexpert.dbai.tuwien.ac.at (8.11.6/8.11.6) with ESMTP id g6BCXfC20965 for ; Thu, 11 Jul 2002 14:33:41 +0200 (MET DST) Date: Thu, 11 Jul 2002 14:33:39 +0200 (CEST) From: Gerald Pfeifer To: freebsd-stable@freebsd.org Subject: GCC/header-related regressions on -STABLE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 standards/40084 and standards/40402 constitute significant regressions on -STABLE, which definitely should be fixed for 4.6.1-RELEASE. Having three-line C++ programs like the following #include #include int main() { } issue three(!) warnings with g++ -pedantic is A Very Bad Thing[TM], especially on -STABLE. I'd did a bit of investigation, and the source of this problem seems to be revision 1.6.2.2 of contrib/gcc/cccp.c. Either this should be reverted, or /usr/include/stddef.h and stdlib.h fixed. Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message