Temporary header file '/tmp/zhcL55ikgs/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/pstoedit/base64writer.h" #include "/usr/include/pstoedit/cppcomp.h" #include "/usr/include/pstoedit/drvbase.h" #include "/usr/include/pstoedit/drvfuncs.h" #include "/usr/include/pstoedit/genericints.h" #include "/usr/include/pstoedit/miscutil.h" #include "/usr/include/pstoedit/ordlist.h" #include "/usr/include/pstoedit/papersizes.h" #include "/usr/include/pstoedit/poptions.h" #include "/usr/include/pstoedit/psimage.h" #include "/usr/include/pstoedit/pstoedit.h" #include "/usr/include/pstoedit/pstoeditoptions.h" #include "/usr/include/pstoedit/pstoeditoutputlib.h" #include "/usr/include/pstoedit/pstoedll.h" // add namespaces namespace GenericInts{typedef int tmp_add_type_1;} GenericInts::tmp_add_type_1 tmp_add_func_1(){return 0;}; // add classes Argv* tmp_add_class_0; ArgvExtractor* tmp_add_class_1; BBox* tmp_add_class_2; Base64Writer* tmp_add_class_3; BoolBaseExtractor* tmp_add_class_4; BoolFalseExtractor* tmp_add_class_5; BoolInvertingExtractor* tmp_add_class_6; BoolTrueExtractor* tmp_add_class_7; CharacterValueExtractor* tmp_add_class_8; ColorTable* tmp_add_class_9; DashPattern* tmp_add_class_10; DescriptionRegister* tmp_add_class_11; DoubleValueExtractor* tmp_add_class_12; DriverDescription* tmp_add_class_13; DriverDescription_S* tmp_add_class_14; FontMapper* tmp_add_class_15; IntValueExtractor* tmp_add_class_16; OptionBase* tmp_add_class_17; OptionDescription* tmp_add_class_18; PSImage* tmp_add_class_19; PaperInfo* tmp_add_class_20; Point* tmp_add_class_21; ProgramOptions* tmp_add_class_22; PsToEditOptions* tmp_add_class_23; PstoeditOutputInterface* tmp_add_class_24; RSStringValueExtractor* tmp_add_class_25; TempFile* tmp_add_class_26; _G_fpos64_t* tmp_add_class_27; _G_fpos_t* tmp_add_class_28; _IO_cookie_io_functions_t* tmp_add_class_29; basedrawingelement* tmp_add_class_30; drvbase* tmp_add_class_31; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/zhcL55ikgs/dump1.h" In file included from /tmp/zhcL55ikgs/dump1.h:15: /usr/include/pstoedit/drvfuncs.h:23:1: error: expected unqualified-id before ‘private’ 23 | private: // yes these are private, library users should use the public interface | ^~~~~~~ /usr/include/pstoedit/drvfuncs.h:28:27: error: virt-specifiers in ‘close_page’ not allowed outside a class definition 28 | void close_page() override; | ^~~~~~~~ /usr/include/pstoedit/drvfuncs.h:30:26: error: virt-specifiers in ‘show_path’ not allowed outside a class definition 30 | void show_path() override; | ^~~~~~~~