How to tell where a header file is included from?

g++ -H ...

will also print the full path of include files in a format which shows which header includes which

Leave a Comment