[haiku-development] Re: dtc port, bison and stdlib.h header guard

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 22 Aug 2012 13:25:50 +0200

On 22/08/2012 13:19, Jérôme Duval wrote:
>> The simplest solution seems to align to glibc and switch the guard to
>> _STDLIB_H. I don't like it either but at least it shouldn't do any harm.
>>
>> Comments?
> 
> Please update your bison to 2.5. It should/could be fixed there if I
> read the changelog right.

I guess I'll have no choice but to update my dev installs then...
any stable nightly to recommend?

> Fix portability problem on OpenBSD 4.7.
> 
>       Jim Meyering reported this in
>       <http://lists.gnu.org/archive/html/bug-bison/2010-10/msg00007.html>.
>       * data/yacc.c: Use EXIT_SUCCESS as a witness for stdlib.h,
>       not _STDLIB_H.  EXIT_SUCCESS has been defined by the standard
>       for quite some time.

Ah right, I was wondering about doing this as well :)

François.

Other related posts: