This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Fix -Wc++-compat and -Wcast-qual warnings [d-g]*.c
On Wed, Jun 25, 2008 at 9:00 AM, Gabriel Dos Reis
<gdr@integrable-solutions.net> wrote:
> On Tue, Jun 24, 2008 at 6:31 PM, Kaveh R. GHAZI <ghazi@caip.rutgers.edu> wrote:
>> This patch eliminates -Wc++-compat and -Wcast-qual warnings in [d-g]*.c.
>> It uses the new alloca and obstack allocator macros I recently added to
>> libiberty to minimize the use of explicit casts.
>>
>> Tested in conjunction with my previous warning cleanup patches:
>> http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01546.html
>> http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01547.html
>> http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01478.html
>>
>> With these patches together, we're down to about 125 warnings left.
>>
>> No regressions on x86_64-unknown-linux-gnu, okay for mainline?
>
> This looks good to me; Richard or Ian, OK?
Ok.
Thanks,
Richard.