axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (Closed) (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] [Closed] (AXISCPP-1085) AxisCPP config classes const correctness
Date Wed, 28 Dec 2011 16:26:30 GMT

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

nadir amra closed AXISCPP-1085.
-------------------------------

    Resolution: Fixed

Done is SVN revision http://svn.apache.org/viewvc?view=revision&revision=1225221 
                
> 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-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Mime
View raw message