axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Meier" <>
Subject [Axis2] Compile errors in mod_axis2.c
Date Thu, 16 Nov 2006 01:01:19 GMT

Fails to compile with Visual Studio 2005.

There are several places in mod_axis2.c where variables are not declared
at the start of the method.
The cases I saw involved the "axis2_log_levels_t" and
"axis2_config_rec_t" types.

An example of this is in this method:
  static const char *
    cmd_parms *cmd,
    void *dummy,
    const char *arg)

    if (err != NULL)
        return err;

    axis2_log_levels_t level = AXIS2_LOG_LEVEL_DEBUG;
    axis2_config_rec_t *conf =
                cmd->server->module_config, &axis2_module);


    axis2_log_levels_t level;        // Declare at beginning
    axis2_config_rec_t *conf = NULL; // Declare at beginning
    if (err != NULL)
        return err;

    level = AXIS2_LOG_LEVEL_DEBUG;
    conf = (axis2_config_rec_t*)ap_get_module_config(
                cmd->server->module_config, &axis2_module);


This email and any files transmitted with it are confidential and intended solely for the
use of the individual or entity to whom they are addressed. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original message.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message