Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1430

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • core/deployment
    • None
    • AIX 5.2, Visual Age C++ 1.6.0

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dolmen-oxymel Olivier Mengué
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: