All annoyed compilation warnings should be shot, and it's easy to make it. These have hidden/implicitly bugs, IMHO.
Created attachment 92252 [details, diff] Fix warnings for sys-apps/pciutils-2.2.3-r1 This patch could help to silence all warnings with "-O3 -Wall" as CFLAGS by using gcc-4 on my ~ppc env.
Have you sent this upstream? (See feedback section at http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml)
(In reply to comment #2) > Have you sent this upstream? (See feedback section at > http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml) Well, not yet. Because of some reviews/tests by Gentoo's pciutils' maintainers, if who are. Then, to send it upstream is better, I thought. Anyway, I'd like to squash it as upstream release, of cource. But should *I* submit it to upstream, directly? Its Feedback section sounds like forcing to subscribe linux-pci ML, though. It makes me feel subtle...
best to try and see if the maintainer will take these changes and/or rewrite the code slightly the way the code is written (pci requires bytes and going by the coding style, the author doesnt trust a "char" to be just a byte), i dont the warnings will be fixed