Re: [Issue 1952] Const-ify some API parameters.
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 10 Jul 2008 18:46:24 +0100
On Thu, 2008-07-10 at 17:08 +0000, bhuvan_at_tigris.org wrote:
> ------- Additional comments from bhuvan_at_tigris.org Thu Jul 10 10:08:06 -0700 2008 -------
This might be safe. Can you search the mailing lists or somewhere and
This type was deprecated after v1.2 and the replacement does not have
We should not change this type, as this will lead to pointer type mismatches in any code that may be using it. I'm not sure if this would be an error on any systems; my version of GCC just gives a warning. (To get this warning, I had to write some code to use this type, because there isn't any code using it in Subversion.)
My test code:
static void test(void)
p->log_msg_func = myfunc; /* I get a warning here */
On the assignment, I get "warning: assignment from incompatible pointer
- Julian
---------------------------------------------------------------------
|
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.