From owner-freebsd-current Fri Dec 13 16:19: 7 2002 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 B51C837B401; Fri, 13 Dec 2002 16:19:04 -0800 (PST) Received: from smtp03.iprimus.com.au (smtp03.iprimus.com.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DF6543EC2; Fri, 13 Dec 2002 16:19:03 -0800 (PST) (envelope-from tim@robbins.dropbear.id.au) Received: from smtp01.iprimus.net.au (210.50.30.70) by smtp03.iprimus.com.au (6.7.010) id 3DF67D45000705A0; Sat, 14 Dec 2002 11:18:51 +1100 Received: from dilbert.robbins.dropbear.id.au ([210.50.86.67]) by smtp01.iprimus.net.au with Microsoft SMTPSVC(5.0.2195.5600); Sat, 14 Dec 2002 11:18:49 +1100 Received: from dilbert.robbins.dropbear.id.au (f0wofhd4iw4s4upn@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6) with ESMTP id gBE0IsgP098165; Sat, 14 Dec 2002 11:18:54 +1100 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.6/8.12.6/Submit) id gBE0Ir4E098164; Sat, 14 Dec 2002 11:18:53 +1100 (EST) (envelope-from tim) Date: Sat, 14 Dec 2002 11:18:53 +1100 From: Tim Robbins To: Marc Recht Cc: Nate Lawson , Mike Barcroft , current@FreeBSD.ORG Subject: Re: __BSD_VISIBLE and u_int Message-ID: <20021214111853.A98037@dilbert.robbins.dropbear.id.au> References: <238240000.1039819703@leeloo.intern.geht.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <238240000.1039819703@leeloo.intern.geht.de>; from marc@informatik.uni-bremen.de on Fri, Dec 13, 2002 at 11:48:23PM +0100 X-OriginalArrivalTime: 14 Dec 2002 00:18:50.0721 (UTC) FILETIME=[60B21510:01C2A306] 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 On Fri, Dec 13, 2002 at 11:48:23PM +0100, Marc Recht wrote: > > Hmm, which of these defines claims posix src? -D_ANSI_SOURCE ? > > > > cc -O -c -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -I./../include > [...] > > > >> u_int is undocumented and unportable, so it probably shouldn't be > >> used. It's only 3 characters shorter than `unsigned' anyway. > > > > It's for ports. > And this is once a again a good example why we _really_ need a define (like > Solaris'__EXTENSIONS__ ) that sets __BSD_VISIBLE (no matter what) and could > be set in CONFIBURE_ENV. No, it's a good example of why Linux programmers shouldn't ask for an ANSI C environment then complain when does not work. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message