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

Olivier Mengué updated AXIS2C-1430:
-----------------------------------

    Summary: src/core/deployment/dep_engine.c: compiler warning on 
axutil_hash_get() usage  (was: src/core/deployment/dep_engine.c: compiler 
warning)

> 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.

Reply via email to