AxisCPP config classes const correctness
----------------------------------------

                 Key: AXISCPP-1085
                 URL: https://issues.apache.org/jira/browse/AXISCPP-1085
             Project: Axis-C++
          Issue Type: Improvement
          Components: Configuration
            Reporter: nadir amra
            Assignee: nadir amra
            Priority: Trivial
             Fix For: current (nightly),  1.6 Final


a minor "const correctness" issue which the compiler on my system (gcc 4.4.3) 
complained about:

AxisCPPConfigDefaults, AxisCPPConfigDefaultsImpl, and AxisConfig have methods 
which accept and return "char *" instead of "const char*".  With the char*, my 
calls such as this:

        AxisCPPConfigDefaults config;

        config.setAxisHome(".");

 
Cause a warning about casting a "const char*" to a "char*".  Since parameters 
are copied to string these methods should really be defined with "const char*".

 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to