[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: header file bug sys/types.h sys/file.h vs. _XOPEN_SOURCE
From:       Dag-Erling_Smørgrav <des () des ! no>
Date:       2009-11-19 13:25:10
Message-ID: 86skca6409.fsf () ds4 ! des ! no
[Download RAW message or body]

"Matthias Andree" <matthias.andree@gmx.de> writes:
> I've talked to Theodore Y. Ts'o, who is the sysutils/e2fsprogs
> upstream maintainer and proposed to remove the _XOPEN_SOURCE
> definition (my idea  was that the code shouldn't be claiming standards
> compliance while it uses  non-standard headers), but he refused that
> (since it would break the  e2fsprogs build on Solaris).

He's right.  You misunderstand _XOPEN_SOURCE; it does not mean "my
program complies with X/Open blah", it means "my program requires the
facilities provided by X/Open blah".  The problem lies in FreeBSD's
headers, which don't implement namespace separation correctly.

DES
-- 
Dag-Erling Smørgrav - des@des.no
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic