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

David Woodhouse <[email protected]> Wed, 05 Nov 2014 12:02:58 +0000
Newsgroups gmane.comp.video.videolan.libdvdcss,gmane.comp.video.videolan.libdvdcss.devel
Message-ID <[email protected]>
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.

-- 
dwmw2

_______________________________________________
libdvdcss-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libdvdcss-devel
smime.p7s (application/x-pkcs7-signature, 5.6 KB) - not displayed