From: Joaquin Cuenca Abela (e98cuenc@yahoo.com)
Date: Wed Nov 27 2002 - 07:18:47 EST
--- F J Franklin <F.J.Franklin@sheffield.ac.uk> wrote:
> On Wed, 27 Nov 2002, Mike Nordell wrote:
> > > srcc-3303 CC: WARNING File =
> /software/@sys/usr/include/popt.h, Line = 443
> > > A type qualifier on a return type is
> meaningless.
> > >
> > > /*@observer@*/ const char *const
> poptStrerror(const int error)
> >
> > Do you think you could whip up a patch to fix
> this? It seems your compiler
> > is a lot less forgiving than the mainstream. :-)
>
> I don't think it's our job to fix popt's errors.
> popt is in CVS rpm, if
> you feel like fixing it anyway...
The compiler is only issuing warning due to the extra
const's (btw, we also have a few of them). The error
is here:
cc-1164 CC: ERROR File = ap_UnixApp.cpp, Line = 692
Argument of type "int (*)(const dirent *)" is
incompatible with
parameter of
type "int (*)(dirent_t *)".
n = scandir(pluginDir.c_str(), &namelist,
so_only, alphasort);
^
1 error detected in the compilation of
"ap_UnixApp.cpp".
so_only doesn't have the expected type by scandir.
Cheers,
=====
Joaquin Cuenca Abela
e98cuenc at yahoo dot com
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
This archive was generated by hypermail 2.1.4 : Wed Nov 27 2002 - 07:21:11 EST