Date: Sun, 8 Dec 2002 13:43:57 -0800 From: David Schultz <dschultz@uclink.Berkeley.EDU> To: Marc Recht <marc@informatik.uni-bremen.de> Cc: freebsd-standards@FreeBSD.ORG Subject: Re: POSIX and the real life or FreeBSD too strict ? Message-ID: <20021208214357.GA945@HAL9000.homeunix.com> In-Reply-To: <758430000.1039382013@leeloo.intern.geht.de> References: <584000000.1039360297@leeloo.intern.geht.de> <20021208203949.GA535@HAL9000.homeunix.com> <758430000.1039382013@leeloo.intern.geht.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Marc Recht <marc@informatik.uni-bremen.de>: > I've tried the following two sources on FreeBSD-current (today), FreeBSD > 4.7-RC, NetBSD 1.6 (gcc2.95), > Solaris 8/Sparc (gcc 3.0) and Gentoo Linux (gcc 3.2, today). > gcc -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE_=600 > -D_XOPEN_SOURCE_EXTENDED=1 > On -current both sources can't be compiled. On FreeBSD 4.x the first can't > be compiled (because of _SC_PAGE_SIZE). All other OSes compiled them just > fine. If you say -D_XOPEN_SOURCE=600 instead of -D_XOPEN_SOURCE_=600, the first test works fine. ;-) The second one looks like a bug in FreeBSD. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021208214357.GA945>