[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Add 'const' to an API pointer?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-11-17 21:09:33 CET

John Szakmeister <john@szakmeister.net> writes:

> Julian Foad wrote:
>> I suppose I can't do this because it breaks binary compatibility?
>
> Correct. IIRC, C-Mike, Philip Martin, and a few others discussed this
> in the last several weeks on the list.

My reading of the C standard is that adding const like this could
cause undefined behaviour. That said, I know of no C implementation
where it would cause a problem.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 17 21:09:59 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.