Search code examples
c++header-filesicc

Not able to locate a header file


I am not able to locate a particular header file on disk, while my compiler (icpc) includes it without any errors.

How can I find the header file?

I tried querying the preprocessor for the header file locations as suggested here.

First of all, icpc does not report its preprocessor. Secondly, I cannot find the header file in cc1's locations as well.


Solution

  • Look in your compiler for and option, similar to /P in MSVC:

    http://msdn.microsoft.com/en-us/library/8z9z0bx6(v=vs.80).aspx