[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ support (1)
From: |
Bob Proulx |
Subject: |
Re: C++ support (1) |
Date: |
Mon, 6 Nov 2006 10:38:39 -0700 |
User-agent: |
Mutt/1.5.9i |
Bruno Haible wrote:
> Compiling GNU gettext with a C++ compiler revealed a bug: an assignment
> between an 'int' variable and an 'enum' variable that was not intended.
Although I am sure it was not intended, what bad consequences would
have resulted from the enum and int mixup?
> This confirms once again that the ability to compile a C package in C++ mode
> on at least one platform is useful. I'm therefore applying this patch.
I have been seeing lots and lots of casts being added to the code. I
think that is much more dangerous than a potential enum issue. These
changes in total look to be very invasive.
Bob
- Re: C++ support (1),
Bob Proulx <=