On Feb 15, 2000, Ossama Othman <[EMAIL PROTECTED]> wrote:

> Hi Alexandre,
> On Tue, Feb 15, 2000 at 11:10:40AM -0200, Alexandre Oliva wrote:
>> On Feb 12, 2000, Ossama Othman <[EMAIL PROTECTED]> wrote:
>> 
>> > I think it's bad idea to check for bool and/or if __cplusplus is
>> > defined since some C compilers may actually accept them.
>> 
>> I can believe `bool' could be supported by C compilers, but defining
>> __cplusplus to non-zero would be cheating too much.  Do you have any
>> example of such a cheating compiler?

> Not really.  I was making a pretty big assumption about the potential
> existence of a such a beast. :-)

I'd rather keep it simple, then.  If someone ever introduces such a
cheating compiler, it's good that things break, so people will
eventually complain to the compiler vendor to get it fixed.

-- 
Alexandre Oliva     http://www.ic.unicamp.br/~oliva/     Enjoy Guaran�
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

Reply via email to