From: "U.Nakamura" Date: 2005-12-02T10:48:01+09:00 Subject: Re: ruby 1.8.4 preview2 Hello, nobu In message "Re: ruby 1.8.4 preview2" on Dec.01,2005 23:36:11, wrote: | I don't think so. Just re-packaging with Bison 1.x, 2.0 or | modified 2.1. I agree that ruby distribution should be re-packaged with another version of Bison. | > +#if defined(YYBISON) && !defined(__STDC__) && (defined(_MSC_VER) || defined(__BORLANDC__)) | > +#define __STDC__ 1 | > +#endif | | It isn't concerned with Visual C neither Borland C, and | defining __STDC__ causes another error with a compiler which | doesn't support prototypes. (1) We know there are at least two compilers which support prototypes but don't defined __STDC__ macro. (2) And Bison does not know such compilers. (3) So, we should tell Bison it. Of course this aproach doesn't help another non-ansi compilers. But telling Bison that VC and BCC are ansi compilers is not bad thing, I think. Regards, -- U.Nakamura