re PR c++/35711 (bad text in -Wcast-qual warning (forgets volatile))
2009-04-21 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. From-SVN: r146537
Showing
gcc/testsuite/g++.dg/warn/pr35711.C
0 → 100644
Please
register
or
sign in
to comment