Temporary header file '/tmp/Xgz3NhdTG4/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/CXX/Config.hxx"
  #include "/usr/include/CXX/CxxDebug.hxx"
  #include "/usr/include/CXX/Exception.hxx"
  #include "/usr/include/CXX/Extensions.hxx"
  #include "/usr/include/CXX/IndirectPythonInterface.hxx"
  #include "/usr/include/CXX/Objects.hxx"
  #include "/usr/include/CXX/Python3/Config.hxx"
  #include "/usr/include/CXX/Python3/CxxDebug.hxx"
  #include "/usr/include/CXX/Python3/Exception.hxx"
  #include "/usr/include/CXX/Python3/ExtensionModule.hxx"
  #include "/usr/include/CXX/Python3/ExtensionOldType.hxx"
  #include "/usr/include/CXX/Python3/ExtensionType.hxx"
  #include "/usr/include/CXX/Python3/ExtensionTypeBase.hxx"
  #include "/usr/include/CXX/Python3/Extensions.hxx"
  #include "/usr/include/CXX/Python3/IndirectPythonInterface.hxx"
  #include "/usr/include/CXX/Python3/Objects.hxx"
  #include "/usr/include/CXX/Python3/PythonType.hxx"
  #include "/usr/include/CXX/Python3/cxx_standard_exceptions.hxx"
  #include "/usr/include/CXX/Version.hxx"
  #include "/usr/include/CXX/WrapPython.h"
  #include "/usr/include/python3.10/CXX/Config.hxx"
  #include "/usr/include/python3.10/CXX/CxxDebug.hxx"
  #include "/usr/include/python3.10/CXX/Exception.hxx"
  #include "/usr/include/python3.10/CXX/Extensions.hxx"
  #include "/usr/include/python3.10/CXX/IndirectPythonInterface.hxx"
  #include "/usr/include/python3.10/CXX/Objects.hxx"
  #include "/usr/include/python3.10/CXX/Python3/Config.hxx"
  #include "/usr/include/python3.10/CXX/Python3/CxxDebug.hxx"
  #include "/usr/include/python3.10/CXX/Python3/Exception.hxx"
  #include "/usr/include/python3.10/CXX/Python3/ExtensionModule.hxx"
  #include "/usr/include/python3.10/CXX/Python3/ExtensionOldType.hxx"
  #include "/usr/include/python3.10/CXX/Python3/ExtensionType.hxx"
  #include "/usr/include/python3.10/CXX/Python3/ExtensionTypeBase.hxx"
  #include "/usr/include/python3.10/CXX/Python3/Extensions.hxx"
  #include "/usr/include/python3.10/CXX/Python3/IndirectPythonInterface.hxx"
  #include "/usr/include/python3.10/CXX/Python3/Objects.hxx"
  #include "/usr/include/python3.10/CXX/Python3/PythonType.hxx"
  #include "/usr/include/python3.10/CXX/Python3/cxx_standard_exceptions.hxx"
  #include "/usr/include/python3.10/CXX/Version.hxx"
  #include "/usr/include/python3.10/CXX/WrapPython.h"
  #include "/usr/include/python3.11/CXX/Config.hxx"
  #include "/usr/include/python3.11/CXX/CxxDebug.hxx"
  #include "/usr/include/python3.11/CXX/Exception.hxx"
  #include "/usr/include/python3.11/CXX/Extensions.hxx"
  #include "/usr/include/python3.11/CXX/IndirectPythonInterface.hxx"
  #include "/usr/include/python3.11/CXX/Objects.hxx"
  #include "/usr/include/python3.11/CXX/Python3/Config.hxx"
  #include "/usr/include/python3.11/CXX/Python3/CxxDebug.hxx"
  #include "/usr/include/python3.11/CXX/Python3/Exception.hxx"
  #include "/usr/include/python3.11/CXX/Python3/ExtensionModule.hxx"
  #include "/usr/include/python3.11/CXX/Python3/ExtensionOldType.hxx"
  #include "/usr/include/python3.11/CXX/Python3/ExtensionType.hxx"
  #include "/usr/include/python3.11/CXX/Python3/ExtensionTypeBase.hxx"
  #include "/usr/include/python3.11/CXX/Python3/Extensions.hxx"
  #include "/usr/include/python3.11/CXX/Python3/IndirectPythonInterface.hxx"
  #include "/usr/include/python3.11/CXX/Python3/Objects.hxx"
  #include "/usr/include/python3.11/CXX/Python3/PythonType.hxx"
  #include "/usr/include/python3.11/CXX/Python3/cxx_standard_exceptions.hxx"
  #include "/usr/include/python3.11/CXX/Version.hxx"
  #include "/usr/include/python3.11/CXX/WrapPython.h"

  // add namespaces
  namespace Py{typedef int tmp_add_type_1;}
  Py::tmp_add_type_1 tmp_add_func_1(){return 0;};

  // add classes
  PyCodeObject* tmp_add_class_0;
  PyConfig* tmp_add_class_1;
  PyGetSetDef* tmp_add_class_2;
  PyMethodDef* tmp_add_class_3;
  PyModuleDef* tmp_add_class_4;
  PyModuleDef_Base* tmp_add_class_5;
  PyModuleDef_Slot* tmp_add_class_6;
  PyPreConfig* tmp_add_class_7;
  PyStructSequence_Desc* tmp_add_class_8;
  PyStructSequence_Field* tmp_add_class_9;
  _G_fpos64_t* tmp_add_class_10;
  _G_fpos_t* tmp_add_class_11;
  _IO_cookie_io_functions_t* tmp_add_class_12;
  _PyArg_Parser* tmp_add_class_13;
  _PyCFrame* tmp_add_class_14;
  _PyWeakReference* tmp_add_class_15;
  _Py_Identifier* tmp_add_class_16;
  _Py_tss_t* tmp_add_class_17;
  _err_stackitem* tmp_add_class_18;
  _frozen* tmp_add_class_19;
  _heaptypeobject* tmp_add_class_20;
  _inittab* tmp_add_class_21;
  _line_offsets* tmp_add_class_22;
  _longobject* tmp_add_class_23;
  _object* tmp_add_class_24;
  _opaque* tmp_add_class_25;
  _specialization_cache* tmp_add_class_26;
  _stack_chunk* tmp_add_class_27;
  _traceback* tmp_add_class_28;
  _ts* tmp_add_class_29;
  _typeobject* tmp_add_class_30;
  _xid* tmp_add_class_31;
  itimerval* tmp_add_class_32;
  statx_timestamp* tmp_add_class_33;
  wrapperbase* tmp_add_class_34;

The GCC parameters:
  gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/Xgz3NhdTG4/dump1.h"  -I/usr/include/python3.11 -I/usr/include/python3.10

In file included from /tmp/Xgz3NhdTG4/dump1.h:29:
/usr/include/CXX/Python3/cxx_standard_exceptions.hxx:12:25: error: expected constructor, destructor, or type conversion before ‘(’ token
   12 | PYCXX_STANDARD_EXCEPTION( SystemExit,           BaseException )
      |                         ^
In file included from /tmp/Xgz3NhdTG4/dump1.h:49:
/usr/include/python3.10/CXX/Python3/cxx_standard_exceptions.hxx:12:25: error: expected constructor, destructor, or type conversion before ‘(’ token
   12 | PYCXX_STANDARD_EXCEPTION( SystemExit,           BaseException )
      |                         ^
In file included from /tmp/Xgz3NhdTG4/dump1.h:69:
/usr/include/python3.11/CXX/Python3/cxx_standard_exceptions.hxx:12:25: error: expected constructor, destructor, or type conversion before ‘(’ token
   12 | PYCXX_STANDARD_EXCEPTION( SystemExit,           BaseException )
      |                         ^
/tmp/Xgz3NhdTG4/dump1.h:75:7: error: ‘tmp_add_type_1’ in namespace ‘Py’ does not name a type
   75 |   Py::tmp_add_type_1 tmp_add_func_1(){return 0;};
      |       ^~~~~~~~~~~~~~

