[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving #include <stdio.h> into _scm.h
From: |
Keisuke Nishida |
Subject: |
Re: Moving #include <stdio.h> into _scm.h |
Date: |
Sat, 10 Mar 2001 03:45:29 -0500 |
User-agent: |
Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.0.99 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
At Sat, 10 Mar 2001 09:18:55 +0100 (MET),
Dirk Herrmann wrote:
>
> > Hmm... I'd rather go in the other direction: Remove things from _scm.h
> > that not all files need and remove #include <stdio.h> from files which
> > don't use stdio. I'm sure that only a minority of the 79 files
> > including stdio really needs it.
>
> Yes! It's annoying if files get rebuilt that don't actually need to if
> some include file changes. With system headers, this occurs less
> frequent, but it's definitely true for all libguile headers that are
> included via _scm.h.
But it is annoying to me to include such common headers as stdio.h
in each file... Since _scm.h already includes errno.h, you have to
recompile all files anyway if you update your system headers.
Kei