On Wed, Aug 14, 2013 at 04:22:07PM +0200, Uros Bizjak wrote: > On Wed, Aug 14, 2013 at 4:05 PM, Gabriel Dos Reis > <g...@integrable-solutions.net> wrote: > > I agree 'const void*' is preferable, and all the places you mention should > > be covered too. > > I already installed my original patch, so attached incremental patch > implements preferred solution. > > 2013-08-14 Uros Bizjak <ubiz...@gmail.com> > > * src/c++98/compatibility.cc (_ZTIe): Use (const cast *) > to avoid -Wcast-qual warnings. > (_ZTIPe): Ditto. > (ZTIPKe): Ditto. > > Tested on alphaev68-pc-linux-gnu and installed on mainline SVN. > > Is this solution also OK for other release branches?
If it is ok for trunk, then it is also ok for 4.8/4.7 from RM POV. Jakub