This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: what is a system header? [HEAD]
On Feb 17, 2001, Russ Allbery <rra@stanford.edu> wrote:
> Hm. This is going to cause a change in behavior of make depend in at
> least some packages (INN being the example near and dear to my heart).
> We'd end up listing Perl header files and the like in the dependencies in
> the Makefile after this change without further changing our scripts, since
> those directories are added to the include path with -I (we support
> compilers other than gcc). Or am I missing something?
Hmm... I'm afraid the alternative is to have packages that use
#include <foo.h> to include their own internal headers to miss
dependencies on foo.h. And it's not like using <> for headers within
the same package is wrong or even regarded as bad practice.
I'd much rather have too many dependencies than too few. Why is it a
problem for you to have the perl headers listed as dependencies?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me