This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: cpp seems not to include # line "file" output for empty files
- To: Daniel Berlin <dberlin at redhat dot com>
- Subject: Re: cpp seems not to include # line "file" output for empty files
- From: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Date: Sun, 08 Oct 2000 22:14:08 -0400
- cc: gcc-bugs at gcc dot gnu dot org
Daniel Berlin <dberlin@redhat.com> said:
[...]
> If you want dependency info from cpp, use the switches to tell it to
> give you dependency info.
That may mean hacking up a bunch of unreadable Makefiles...
> Also, if the file generates no output, then a.c really wasn't dependent
> on it.
Wrong. In the example the a.h file #defines something, which doesn't
generate output but can influence the result of compiling a.c.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Vin~a del Mar, Chile +56 32 672616