You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Damitha Kumarage (JIRA)" <ji...@apache.org> on 2010/06/28 23:21:50 UTC

[jira] Resolved: (AXIS2C-1430) src/core/deployment/dep_engine.c: compiler warning on axutil_hash_get() usage

     [ https://issues.apache.org/jira/browse/AXIS2C-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Damitha Kumarage resolved AXIS2C-1430.
--------------------------------------

    Resolution: Fixed

Fixed this by casting to the function pointer

> src/core/deployment/dep_engine.c: compiler warning on axutil_hash_get() usage
> -----------------------------------------------------------------------------
>
>                 Key: AXIS2C-1430
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1430
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: core/deployment
>    Affects Versions: 1.6.0
>         Environment: AIX 5.2, Visual Age C++ 1.6.0
>            Reporter: Olivier Mengué
>            Priority: Trivial
>
> From the build log:
> /home/prodfs/otp/axis-build/axis2c-src-1.6.0-2/src/core/deployment
>  cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/core/description -I../../../src/core/engine -I../../../src/core/phaseresolver -I../../../src/core/deployment -I../../../src/core/util -I../../../axiom/include -I../../../neethi/include -I../../../util/include -I/home/prodfs/deploy/include -D_LARGEFILE64_SOURCE -DAXIS2_GUTHTHILA_ENABLED -DAXIS2_SVR_MULTI_THREADED -DAXIS2_SSL_ENABLED -qnolm -D_LARGEFILE64_SOURCE -DAXIS2_GUTHTHILA_ENABLED -DAXIS2_SVR_MULTI_THREADED -DAXIS2_SSL_ENABLED -c -M dep_engine.c  -DPIC -o .libs/dep_engine.o
> "dep_engine.c", line 1343.29: 1506-068 (W) Operation between types "struct axis2_handler*(*)(const struct axutil_env*,const struct axutil_string*)" and "void*" is not allowed.
> Here is the line 1343:
>         handler_create_func = axutil_hash_get(handler_create_func_map, axutil_string_get_buffer(
>                     handler_name, env), AXIS2_HASH_KEY_STRING);
> The axutil_hash_get()  result should be typecasted.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org