On Oct 7, 2007, at 11:28 AM, Bernhard Rosenkraenzer wrote:
> This happens when compiling today's HEAD:
>
> pkgio.c:1103: warning: passing argument 1 of 'headerLoad' discards
> qualifiers
> from pointer target type
> pkgio.c:1105: error: 'RPMRC_BAD' undeclared (first use in this
> function)
> pkgio.c:1105: error: (Each undeclared identifier is reported only once
> pkgio.c:1105: error: for each function it appears in.)
>
> The attached patch fixes the error (not the warning, but that one
> is probably
> harmless).
> <rpm-20071007-compilefix.patch>
Heh, splint != gcc, each has their own special idiosyncracies.
Instead of sending patches, send along a pubkey for cvs write access.
Likely
easier for both of us.
And watchout for my next checkin, unions of ptrs to unions of ptrs,
oh my!
I've always been deeply conflicted about what to do with the 4th
argument
to headergetEntry(). My next checkin is pedantically and anally
correct, but
will likely increase the already embarassing number of programming
errors
that *I* make just trying to scoop some goop out of a header.
We'll see ...
73 de Jeff
Received on Sun Oct 7 17:42:06 2007