There is a patch for this in
http://issues.apache.org/jira/browse/AXIS2C-405?page=all
-Nabeel
On 11/15/06, Dave Meier <[EMAIL PROTECTED]> wrote:
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 *
axis2_set_log_level(
cmd_parms *cmd,
void *dummy,
const char *arg)
Change:
if (err != NULL)
{
return err;
}
axis2_log_levels_t level = AXIS2_LOG_LEVEL_DEBUG;
axis2_config_rec_t *conf =
(axis2_config_rec_t*)ap_get_module_config(
cmd->server->module_config, &axis2_module);
To:
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);
-Dave.
**********************************************************************
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]