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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



RÃmi Delmas <remi.delmas@xxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux