Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: implicit conversion to a pointer

fsvs
Discussion topic

Back to topic list

Re: implicit conversion to a pointer

Author tekknokra
Full name Gunnar Thielebein
Date 2010-04-09 02:37:14 PDT
Message Philipp Marek wrote:
> Hello Gunnar!
>
>> I have a small issue, introduced by my changes regarding
>> the external svn call.
>>
>> When building package for an older version of svn (1.4) I did get a
>> message from launchpad's buildsystem:
>>
>>> Finished at 20100408-1711
>>> Build needed 00:00:26, 4120k disk space
>>> Function `svn_config_get_user​_config_path' implicitly converted to pointer at
>>> racallback.c:51
> ...
>>> This is often due to a missing function prototype definition.
> ...
>> This is the part of racallback.c:
> ...
>>> /* get svn's user configuration path */
>> 51> STOPIF_SVNERR( svn_config_get_user_​config_path, (&cfg_usr_path, NULL, NULL,
>> pool ) );
> ...
>> Do you have an idea whats wrong or how to resolve this?
> Well, according to
>
>
http://svn.apache.or​g/viewvc/subversion/​tags/1.4.6/subversio​n/libsvn_subr/config​_file.c?revision=868​664&view=markup
>
> the function svn_config_get_user_​config_path() didn't exist in 1.4.
>
> You might have to do something yourself ... with getenv("HOME") and/or
getpwent() and
> sprintf()/strcat() or something like that.

Great, was missing that point.

What do you think, is this kind of backward compatibility necessary?
From my point I can live with a patch for package management.

Cheers,
Gunnar
>
>
> Regards,
>
> Phil
>

« Previous message in topic | 3 of 4 | Next message in topic »

Messages

Show all messages in topic

implicit conversion to a pointer tekknokra Gunnar Thielebein 2010-04-08 14:17:23 PDT
     Re: implicit conversion to a pointer pmarek P.Marek 2010-04-08 23:17:45 PDT
         Re: implicit conversion to a pointer tekknokra Gunnar Thielebein 2010-04-09 02:37:14 PDT
             Re: implicit conversion to a pointer pmarek P.Marek 2010-04-09 03:37:16 PDT
Messages per page: