On Sat, Sep 17, 2005 at 10:02:19AM -0500, Andy Lester wrote:
> >
> >They're mostly the same errors as blead had around patch 24079
> >(etc) when Andy started adding const to blead.
> >
> >I'm hoping that as I work through them most of the warnings will go  
> >away
> >because I bring in the patches that fix the warnings.
> >
> 
> 
> Is there anything I can do to help this effort?

Not yet - I've not got all your changes merged in. I know that you fixed
warnings in later changes.

Once they're all merged in, then it would be useful to work out what remains
to be done to get maint warning free once more.


One thing I did notice on blead was that if I Configure with

  -Accflags='-ansi -pedantic -DPERL_GCC_PEDANTIC'

then I'm getting warnings about function pointer to data pointer conversions
in (at least) toke.c and sv.c, and a lot from intrpvar.h, perlvars.h and
thrdvar.h

  "ISO C forbids conversion of function pointer to object pointer type"

Oh, and this:

op.c: In function `Perl_newXS':
op.c:4628: warning: assignment discards qualifiers from pointer target type


I don't think that glibc has clean enough headers to allow perl to compile
with -ansi -pedantic on Linux - I was doing it on FreeBSD, which does.

So now I want

  valgrind
  dtrace
  gdb that works with threads
  *and*
  clean system headers

all on the same platform. Is this too much to ask?

(What are the system headers like on Solaris x86? Is anyone porting valgrind
to it? This seems like the path of least resistance)

Nicholas Clark

Reply via email to