Temporary header file '/tmp/DI7zxyF1O2/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/odb/pgsql/auto-handle.hxx"
  #include "/usr/include/odb/pgsql/binding.hxx"
  #include "/usr/include/odb/pgsql/connection-factory.hxx"
  #include "/usr/include/odb/pgsql/connection.hxx"
  #include "/usr/include/odb/pgsql/container-statements.hxx"
  #include "/usr/include/odb/pgsql/database.hxx"
  #include "/usr/include/odb/pgsql/details/config.h"
  #include "/usr/include/odb/pgsql/details/config.hxx"
  #include "/usr/include/odb/pgsql/details/conversion.hxx"
  #include "/usr/include/odb/pgsql/details/endian-traits.hxx"
  #include "/usr/include/odb/pgsql/details/export.hxx"
  #include "/usr/include/odb/pgsql/details/options.hxx"
  #include "/usr/include/odb/pgsql/error.hxx"
  #include "/usr/include/odb/pgsql/exceptions.hxx"
  #include "/usr/include/odb/pgsql/forward.hxx"
  #include "/usr/include/odb/pgsql/no-id-object-result.hxx"
  #include "/usr/include/odb/pgsql/no-id-object-statements.hxx"
  #include "/usr/include/odb/pgsql/pgsql-fwd.hxx"
  #include "/usr/include/odb/pgsql/pgsql-oid.hxx"
  #include "/usr/include/odb/pgsql/pgsql-types.hxx"
  #include "/usr/include/odb/pgsql/polymorphic-object-result.hxx"
  #include "/usr/include/odb/pgsql/polymorphic-object-statements.hxx"
  #include "/usr/include/odb/pgsql/prepared-query.hxx"
  #include "/usr/include/odb/pgsql/query-dynamic.hxx"
  #include "/usr/include/odb/pgsql/query.hxx"
  #include "/usr/include/odb/pgsql/section-statements.hxx"
  #include "/usr/include/odb/pgsql/simple-object-result.hxx"
  #include "/usr/include/odb/pgsql/simple-object-statements.hxx"
  #include "/usr/include/odb/pgsql/statement-cache.hxx"
  #include "/usr/include/odb/pgsql/statement.hxx"
  #include "/usr/include/odb/pgsql/statements-base.hxx"
  #include "/usr/include/odb/pgsql/tracer.hxx"
  #include "/usr/include/odb/pgsql/traits-calls.hxx"
  #include "/usr/include/odb/pgsql/traits.hxx"
  #include "/usr/include/odb/pgsql/transaction-impl.hxx"
  #include "/usr/include/odb/pgsql/transaction.hxx"
  #include "/usr/include/odb/pgsql/version.hxx"
  #include "/usr/include/odb/pgsql/view-result.hxx"
  #include "/usr/include/odb/pgsql/view-statements.hxx"

  // add namespaces
  namespace odb{typedef int tmp_add_type_1;}
  odb::tmp_add_type_1 tmp_add_func_1(){return 0;};
  namespace odb{namespace common{typedef int tmp_add_type_2;}}
  odb::common::tmp_add_type_2 tmp_add_func_2(){return 0;};
  namespace odb{namespace core{typedef int tmp_add_type_3;}}
  odb::core::tmp_add_type_3 tmp_add_func_3(){return 0;};
  namespace odb{namespace details{typedef int tmp_add_type_4;}}
  odb::details::tmp_add_type_4 tmp_add_func_4(){return 0;};
  namespace odb{namespace details{namespace bits{typedef int tmp_add_type_5;}}}
  odb::details::bits::tmp_add_type_5 tmp_add_func_5(){return 0;};
  namespace odb{namespace details{namespace meta{typedef int tmp_add_type_6;}}}
  odb::details::meta::tmp_add_type_6 tmp_add_func_6(){return 0;};
  namespace odb{namespace pgsql{typedef int tmp_add_type_7;}}
  odb::pgsql::tmp_add_type_7 tmp_add_func_7(){return 0;};
  namespace odb{namespace pgsql{namespace core{typedef int tmp_add_type_8;}}}
  odb::pgsql::core::tmp_add_type_8 tmp_add_func_8(){return 0;};
  namespace odb{namespace pgsql{namespace details{typedef int tmp_add_type_9;}}}
  odb::pgsql::details::tmp_add_type_9 tmp_add_func_9(){return 0;};
  namespace odb{namespace pgsql{namespace details{namespace cli{typedef int tmp_add_type_10;}}}}
  odb::pgsql::details::cli::tmp_add_type_10 tmp_add_func_10(){return 0;};

The GCC parameters:
  gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/DI7zxyF1O2/dump1.h"

In file included from /tmp/DI7zxyF1O2/dump1.h:24:
/usr/include/odb/pgsql/error.hxx:10:10: fatal error: libpq-fe.h: No such file or directory
   10 | #include <libpq-fe.h>
      |          ^~~~~~~~~~~~
compilation terminated.

