This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cpp: How to compute dependencies of a header file


RÃmi Delmas <remi.delmas@gmail.com> writes:

> My problem is that the -MM option of gcc is not meant to be used with
> header files, and seems to choke on header-only pragmas such as
> "#pragma once". I have been looking at an option to ignore pragmas,
> with no success.

Note that #pragma once is normally not necessary when using gcc.  I
don't know if you can remove it, though.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]