[libdvdcss-devel] [PATCH 05/47] Mark strings as const where appropriate.

Jean-Baptiste Kempf jb at videolan.org
Wed Nov 5 13:08:14 CET 2014


On 05 Nov, David Woodhouse wrote :
> On Thu, 2014-10-30 at 16:09 +0100, Diego Biurrun wrote:
> > 
> > It shouldn't be.  ABI should not change at all as no position or size of
> > a symbol is affected.  API-wise there might be fresh warnings, but all
> > code should remain compatible.
> 
> There shouldn't even be fresh warnings. If you'd made the change in the
> other direction there might be (passing a const char * to a function
> which takes a char * will trigger a warning). But you can always pass a
> non-const pointer to something which promises not to touch it.

OK.

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the libdvdcss-devel mailing list