A patch is attached so that pciutils will build without warnings using gcc-4. Yes, this is probably unnecessary and nitpicky, but compiler warnings are a pet peeve of mine :) You guys are more than welcome to WONTFIX if you dont agree.
Created attachment 58808 [details, diff] 2.1.11-gcc4.patch
i'd say just send it upstream please ... large patches like this tend to break easily when upgrading and are a pita to maintain :p
I was in contact with the developer of pciutils, Martin Mares, who writes, that he, > managed to spare some time for my beloved pciutils, so I have just > uploaded a new test release (2.1.99-test9) with all the warnings > you describe hopefully gone. Could you please test that? The new release is available for download at, http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml ---Pam