[haiku-development] Re: Build failure on Solaris host

  • From: Andreas Färber <andreas.faerber@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 14 Aug 2010 13:46:38 +0200

Am 12.08.2010 um 09:26 schrieb Axel Dörfler:

Andreas Färber <andreas.faerber@xxxxxx> wrote:
which I guess is a mismatch between the updated regex sources and the
regex.h in build/host/cygwin. Unfortunately the updated
regex.h uses Haiku-specific types, so is unusable.

That would be a bug; POSIX headers should only use stdint.h types.
Also, maybe you'll have to define __USE_GNU (or similar)?

I dug out an original glibc header, and yes, I had to add two defines for it to compile.
Fixed in r38096 and r38097.

If anyone has a Cygwin setup, please let me know if I should apply the vanilla header there as well.


Other related posts: