[haiku-commits] Re: haiku: hrev47001 - headers/posix

  • From: Jonathan Schleifer <js-haiku-commits@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 10 Mar 2014 18:31:34 +0100

Am 10.03.2014 um 18:28 schrieb Jérôme Duval <korli@xxxxxxxxxxxxxxxx>:

> You know there is a reason to add this check, right? It doesn't make
> me happy either...

Yes, the idea was that you define the standard you want to use to make sure the 
functions you use behave according to that standard. The problem is: Everybody 
has a different definition as to which standard describes that function. E.g. 
everybody has a different opinion on what _POSIX_C_SOURCE version or 
_XOPEN_SOURCE version you need. So the end result is that the function you want 
to use is not defined, because operating system A has the opinion that this 
belongs to XOPEN while operating system B has the opinion that this belongs to 
POSIX. The end result is that many define _GNU_SOURCE to mean "everything that 
exists", rendering the whole point of the defines meaningless.

--
Jonathan

Other related posts: