Constify libdecnumber

Ben Elliston bje@au1.ibm.com
Mon Aug 21 08:52:00 GMT 2006


> None of libdecnumber's APIs seem to have been constified, leaving
> e.g. gcc/dfp.c with lots of gratuitous -Wcast-qual warnings where one
> has to cast away constness.  Since 4.2 is the first release of
> libdecnumber, I'd like to get the APIs fixed before it gets out in the
> wild.  This patch constifies the string patameters, I'll do other
> types next.
> 
> Bootstrapped on sparc-sun-solaris2.10, okay for mainline?

OK.

Thanks, Ben



More information about the Gcc-patches mailing list