From owner-freebsd-current@FreeBSD.ORG Sun Aug 27 22:57:35 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36E7316A4DF; Sun, 27 Aug 2006 22:57:35 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id E306B43D46; Sun, 27 Aug 2006 22:57:25 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from mail.ninth-nine.com ([IPv6:2001:3e0:4cf:1:d2:ff:fe23:1b4]) (authenticated bits=0) by sakura.ninth-nine.com (8.13.6/8.13.6/NinthNine) with ESMTP id k7RMv3Bs015239 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Aug 2006 07:57:09 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Mon, 28 Aug 2006 07:57:03 +0900 From: Norikatsu Shigemura To: Alexander Kabaev Message-Id: <20060828075703.d1c81021.nork@FreeBSD.org> In-Reply-To: <20060826223608.GA5436@hub.freebsd.org> References: <20060826212120.GA66604@freefall.freebsd.org> <20060826223608.GA5436@hub.freebsd.org> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [IPv6:2001:3e0:4cf:0:230:48ff:fe41:2455]); Mon, 28 Aug 2006 07:57:09 +0900 (JST) Cc: current@FreeBSD.org Subject: Re: HEADS UP: GCC 3.4.6 update complete X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Aug 2006 22:57:35 -0000 On Sat, 26 Aug 2006 22:36:08 +0000 Alexander Kabaev wrote: > All is clear. This update should be pretty uneventful and nothing should > break because of it. I am very interested in being notified of anything > that contradicts with an above statement. I couldn't compile gcc, because of following error message. ===> gnu/usr.bin/cc/cc1plus (all) cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/usr/src/tmp/usr\" -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp -I. -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c: In function `grokfndecl': /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c:5721: error: too many arguments to function `grok_op_properties' /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c: At top level: /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c:9008: error: conflicting types for 'grok_op_properties' /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/cp-tree.h:3686: error: previous declaration of 'grok_op_properties' was here /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/decl.c:9008: error: conflicting types for 'grok_op_properties' /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/cp-tree.h:3686: error: previous declaration of 'grok_op_properties' was here I can fix it such as following patch. --- contrib/gcc/cp/cp-tree.h.orig Sun Aug 27 06:29:09 2006 +++ contrib/gcc/cp/cp-tree.h Mon Aug 28 07:42:35 2006 @@ -3683,7 +3683,7 @@ extern tree get_scope_of_declarator (tree); extern void grok_special_member_properties (tree); extern int grok_ctor_properties (tree, tree); -extern bool grok_op_properties (tree, bool); +extern bool grok_op_properties (tree, int, bool); extern tree xref_tag (enum tag_types, tree, bool, bool); extern tree xref_tag_from_type (tree, tree, int); extern void xref_basetypes (tree, tree); But.... cc -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp -I. -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/pt.c /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/pt.c: In function `tsubst_decl': /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/pt.c:6315: error: too few arguments to function `grok_op_properties' Sorry, I don't know how to fix:-(. I have no idea. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - } else if (IDENTIFIER_OPNAME_P (DECL_NAME (r))) grok_op_properties (r, (complain & tf_error) != 0); if (DECL_FRIEND_P (t) && DECL_FRIEND_CONTEXT (t)) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -