Login | Register
My pages Projects Community openCollabNet

Discussions > dev > implicit conversion to a pointer

Discussion topic

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

Back to topic list

implicit conversion to a pointer

Author tekknokra
Full name Gunnar Thielebein
Date 2010-04-08 14:17:23 PDT
Message Hi Phil,

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
> Our automated build log filter detected the problem(s) above that will
> likely cause your package to segfault on architectures where the size of
> a pointer is greater than the size of an integer, such as ia64 and amd64.
> This is often due to a missing function prototype definition.
> Since use of implicitly converted pointers is always fatal to the application
> on ia64, they are errors. Please correct them for your next upload.
> More information can be found at:
> http://wiki.debian.o​rg/ImplicitPointerCo​nversions

This is the part of racallback.c:

> char *cfg_usr_path;
> STOPIF( hlp__get_svn_config(​&cfg_hash), NULL);
> cfg = apr_hash_get(cfg_hash, SVN_CONFIG_CATEGORY_CONFIG,
> /* get svn's user configuration path */
51> STOPIF_SVNERR( svn_config_get_user_​config_path, (&cfg_usr_path, NULL, NULL,
pool ) );
> /* make sure that folders for storing authentications credentials are created */
> STOPIF_SVNERR( svn_config_ensure, (cfg_usr_path, pool));

Do you have an idea whats wrong or how to resolve this?


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


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: