James McCoy <james...@debian.org> writes: > I understand that using -isystem works around FTBFS in other packages > which are using very high warning levels. However, it seems to me those > packages should reduce their use of -W flags instead of assuming all the > libraries they depend on live up to those flags (i.e., require all > dependencies to use -isystem instead of -I).
Well, it's more complicated than that. Most libraries aren't fully warning-clean, and most packages don't use -isystem, and yet this usually doesn't come up. That's because the headers are installed in /usr/include, and there GCC has special code that marks those as system headers and suppresses the warnings. The problem here is that, to support the co-installability of krb5-dev and heimdal-dev, the header files are moved into a path that GCC doesn't recognize as being a system header path. So... maybe those two libraries have to be treated very specially for warnings and live up to a higher standard than the rest of the archive, but that's rather unappealing, since there are a lot of different warning flags. Or we have to revert the changes to allow the dev packages to be co-installed more clealy, but that seems bad too. I think fixing scons is actually the path of least resistance here, and anything else leads to regressions in other things we care about in the archive. It shouldn't require anything more than treating -isystem identically to -I, which I would hope is a very small change, and it's one that upstream should accept fairly readily. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org