From owner-freebsd-current Sun Dec 8 4:17:33 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 59CAB37B401 for ; Sun, 8 Dec 2002 04:17:31 -0800 (PST) Received: from popelschnipser.de (ultrakoreggd.org [217.160.78.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 182E743E4A for ; Sun, 8 Dec 2002 04:17:24 -0800 (PST) (envelope-from marc@informatik.uni-bremen.de) Received: (qmail 32620 invoked by uid 1048); 8 Dec 2002 12:17:17 -0000 Received: from marc@informatik.uni-bremen.de by p10089345 by uid 1045 with qmail-scanner-1.15 (clamscan: 0.54. spamassassin: 2.42. Clear:. Processed in 0.266144 secs); 08 Dec 2002 12:17:17 -0000 Received: from unknown (HELO ?192.168.100.100?) (217.227.199.133) by ultrakoreggd.org with SMTP; 8 Dec 2002 12:17:16 -0000 Date: Sun, 08 Dec 2002 13:17:15 +0100 From: Marc Recht To: freebsd-current@FreeBSD.ORG Subject: sys/file.h and POSIX Message-ID: <509390000.1039349835@leeloo.intern.geht.de> X-Mailer: Mulberry/3.0.0b9 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========1356440887==========" 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 --==========1356440887========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi! While compiling some third-party code I got this: gcc -D_POSIX_C_SOURCE=3D200112L -D_XOPEN_SOURCE_=3D600=20 -D_XOPEN_SOURCE_EXTENDED=3D1 test.c In file included from test.c:2: /usr/include/sys/file.h:130: syntax error before "u_int" This makes me wonder a bit.. Shouldn't the header at least be includeable ? = Eg. setting __BSD_VISIBLE around xfile ? Test source: #include #include int main() { return 0; } Regards, Marc "Premature optimization is the root of all evil." -- Donald E. Knuth --==========1356440887========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE98zhL7YQCetAaG3MRAoEIAJ9uMq3opgPshiQtpObJUBDxJ6kRPACZAQVa tOFHxLk7iu1gtsD0x/BQIEA= =vo9W -----END PGP SIGNATURE----- --==========1356440887==========-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message