Temporary header file '/tmp/U_me1RuS4O/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/nbdkit-common.h" #include "/usr/include/nbdkit-filter.h" #include "/usr/include/nbdkit-plugin.h" #include "/usr/include/nbdkit-version.h" // add classes cmsghdr* tmp_add_class_0; iovec* tmp_add_class_1; linger* tmp_add_class_2; mmsghdr* tmp_add_class_3; msghdr* tmp_add_class_4; nbdkit_export* tmp_add_class_5; nbdkit_extent* tmp_add_class_6; nbdkit_filter* tmp_add_class_7; nbdkit_next_ops* tmp_add_class_8; nbdkit_plugin* tmp_add_class_9; osockaddr* tmp_add_class_10; sockaddr* tmp_add_class_11; sockaddr_storage* tmp_add_class_12; ucred* tmp_add_class_13; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/U_me1RuS4O/dump1.h" In file included from /tmp/U_me1RuS4O/dump1.h:12: /usr/include/nbdkit-common.h:37:2: error: #error this header file should not be directly included 37 | #error this header file should not be directly included | ^~~~~ In file included from /usr/include/nbdkit-common.h:51: /usr/include/nbdkit-version.h:37:2: error: #error this header file should not be directly included 37 | #error this header file should not be directly included | ^~~~~