From owner-freebsd-current Mon Mar 4 11:30:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id 635E437B419; Mon, 4 Mar 2002 11:29:56 -0800 (PST) Received: from pool0193.cvx40-bradley.dialup.earthlink.net ([216.244.42.193] helo=mindspring.com) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16hy9e-0001i3-00; Mon, 04 Mar 2002 11:29:50 -0800 Message-ID: <3C83CB1E.A289BC49@mindspring.com> Date: Mon, 04 Mar 2002 11:29:34 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Matthew Dillon Cc: "M. Warner Losh" , philip@sduwebship.student.umd.edu, freebsd-questions@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: 5.0-CURRENT makebuild world fails References: <20020303023045.E93659-100000@sduwebship.student.umd.edu> <20020303.143027.105075680.imp@village.org> <200203041806.g24I6nb69758@apollo.backplane.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Dillon wrote: > I always like to say that these things are "Illegal everywhere except > in GCC on a sunny Sunday". > > This is a misfeature in GCC. Like dynamically sized arrays declared > on the stack (which to my horror I actually use sometimes) or dynamic > braced auto initializers (which I don't). > > It would be best to cleanup instances of these when we come across them. Don't forget the varradic macros with the "..." in their parameter lists. Since this original thread started because some poor fool was using Flexilint, probably in the vain hope that code that lints clean is somehow immune to logic errors (this is where I've seen Flexolint used in the past), it should be noted that there is no dead chicken you can wave over the options to make varradic macros legal... -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message