axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milinda Pathirage" <>
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).


On Fri, May 23, 2008 at 10:39 AM, Chintana Wilamuna <>

> On Fri, May 23, 2008 at 10:22 AM, Chintana Wilamuna <>
> 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
> --
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

-- "Oxygen for Web Service Developers" "Web Services With Axis2/C"

View raw message