axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milinda Pathirage" <milinda.pathir...@gmail.com>
Subject Re: [jira] Created: (AXIS2C-1157) When -Werror is in effect build break in util/src
Date Fri, 23 May 2008 05:28:29 GMT
For example take function like 'axutil_date_time_is_utc' and runa grep on
Axis2/C source. This function is never used in our code. But we have
implemented it and one who implement service or client might use it in
his/her code. This kind of functions are there to provide consistent API to
the users who use this library to write their own services/clients. So I
think it's better not to use -Wunused-function flag (Currently we are using
-Wall in Axis2/C build and we will have to use seperate warning flags if we
encounter this kind of problems in future with new version of compilers).

Thanks
Milinda

On Fri, May 23, 2008 at 10:39 AM, Chintana Wilamuna <chintanaw@gmail.com>
wrote:

> On Fri, May 23, 2008 at 10:22 AM, Chintana Wilamuna <chintanaw@gmail.com>
> wrote:
>
> > Um .. I don't agree.  This was found because of the "new changes to
> > gcc".  Which is really helpful because it caught a function which is
> > not used anywhere.  If it's not used why it's defined in the first
> > place?  Why not remove it altogether until it's used somewhere.
> > Otherwise it'll take us nowhere because a defined function is not used
> > anywhere ;-)
>
> Milinda told me that there could be a function defined in axutil/axis2
> etc... and that not being used anywhere throughout the code.  Sorry I
> didn't know that.  In that case yeah, should change the build system.
>
> Bye,
>
>    -Chintana
>
> --
> http://engwar.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>


-- 
http://mpathirage.com
http://wso2.org "Oxygen for Web Service Developers"
http://wsaxc.blogspot.com "Web Services With Axis2/C"

Mime
View raw message