Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Dec 2002 11:18:53 +1100
From:      Tim Robbins <tjr@FreeBSD.ORG>
To:        Marc Recht <marc@informatik.uni-bremen.de>
Cc:        Nate Lawson <nate@root.org>, Mike Barcroft <mike@FreeBSD.ORG>, current@FreeBSD.ORG
Subject:   Re: __BSD_VISIBLE and u_int
Message-ID:  <20021214111853.A98037@dilbert.robbins.dropbear.id.au>
In-Reply-To: <238240000.1039819703@leeloo.intern.geht.de>; from marc@informatik.uni-bremen.de on Fri, Dec 13, 2002 at 11:48:23PM %2B0100
References:  <Pine.BSF.4.21.0212131423560.37378-100000@root.org> <238240000.1039819703@leeloo.intern.geht.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sys/file.h> does not work.


Tim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021214111853.A98037>