This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR c++/35711 bad text in -Wcast-qual warning


PING: http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00806.html

2008/10/20 Manuel López-Ibáñez <lopezibanez@gmail.com>:
> I have updated the patch to a recent revision, bootstrapped and
> regression tested again.
>
> OK for trunk?
>
> Manuel.
>
> 2008/8/29 Manuel López-Ibáñez <lopezibanez@gmail.com>:
>> The message mentions constness but it means any qualifiers.
>> Unfortunately, with the current code is not obvious which qualifiers
>> are casted away, so it is better to just say "qualifiers".
>>
>> Bootstrapped and regression tested on x86_64-unknown-linux-gnu with
>> --enable-languages=all
>>
>> OK for trunk?
>>
>> 2008-08-26  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
>>
>>        PR c++/35711
>> cp/
>>        * typeck.c (check_for_casting_away_constness): We diagnose casting
>>        away any qualifiers not just constness.
>>        (casts_away_constness): Mention that it handles more than just
>>        constness.
>> testsuite/
>>        * g++.dg/warn/pr35711.C: New.
>>        * g++.dg/conversion/ptrmem2.C: Update.
>>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]