Temporary header file '/tmp/8QO9kBZ0bZ/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/X11/Yfgl.h" #include "/usr/include/X11/Ygl.h" #include "/usr/include/X11/Ygltypes.h" The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/8QO9kBZ0bZ/dump1.h" In file included from /tmp/8QO9kBZ0bZ/dump1.h:12: /usr/include/X11/Yfgl.h:7:33: error: invalid digit "8" in octal constant 7 | C $Id: Yfgl.h,v 4.3 2005-02-08 16:31:04+01 fred Exp fred $ | ^~ /usr/include/X11/Yfgl.h:10:7: error: stray ‘#’ in program 10 | C #ifndef _YFGL_INCLUDED_ | ^ /usr/include/X11/Yfgl.h:11:7: error: stray ‘#’ in program 11 | C #define _YFGL_INCLUDED_ | ^ /usr/include/X11/Yfgl.h:615:7: error: stray ‘#’ in program 615 | C #endif /* _YFGL_INCLUDED_ */ | ^ /usr/include/X11/Yfgl.h:1:1: error: ‘C’ does not name a type 1 | C -*- fortran -*- | ^