Temporary header file '/tmp/gq2pQfV8ig/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _FILE_OFFSET_BITS 64 #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/android/nativehelper/JNIHelp.h" #include "/usr/include/android/nativehelper/JniInvocation.h" #include "/usr/include/android/nativehelper/ScopedBytes.h" #include "/usr/include/android/nativehelper/ScopedLocalFrame.h" #include "/usr/include/android/nativehelper/ScopedLocalRef.h" #include "/usr/include/android/nativehelper/ScopedPrimitiveArray.h" #include "/usr/include/android/nativehelper/ScopedStringChars.h" #include "/usr/include/android/nativehelper/ScopedUtfChars.h" #include "/usr/include/android/nativehelper/detail/signature_checker.h" #include "/usr/include/android/nativehelper/jni.h" #include "/usr/include/android/nativehelper/jni_macros.h" #include "/usr/include/android/nativehelper/libnativehelper_api.h" #include "/usr/include/android/nativehelper/nativehelper_utils.h" #include "/usr/include/android/nativehelper/scoped_bytes.h" #include "/usr/include/android/nativehelper/scoped_local_frame.h" #include "/usr/include/android/nativehelper/scoped_local_ref.h" #include "/usr/include/android/nativehelper/scoped_primitive_array.h" #include "/usr/include/android/nativehelper/scoped_string_chars.h" #include "/usr/include/android/nativehelper/scoped_utf_chars.h" #include "/usr/include/android/nativehelper/toStringArray.h" // add namespaces namespace nativehelper{typedef int tmp_add_type_1;} nativehelper::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace nativehelper{namespace detail{typedef int tmp_add_type_2;}} nativehelper::detail::tmp_add_type_2 tmp_add_func_2(){return 0;}; // add classes JNIInvokeInterface* tmp_add_class_0; JNINativeInterface* tmp_add_class_1; JavaVMAttachArgs* tmp_add_class_2; JavaVMInitArgs* tmp_add_class_3; JavaVMOption* tmp_add_class_4; JniInvocation* tmp_add_class_5; ScopedBooleanArrayRO* tmp_add_class_6; ScopedBooleanArrayRW* tmp_add_class_7; ScopedByteArrayRO* tmp_add_class_8; ScopedByteArrayRW* tmp_add_class_9; ScopedBytesRO* tmp_add_class_10; ScopedBytesRW* tmp_add_class_11; ScopedCharArrayRO* tmp_add_class_12; ScopedCharArrayRW* tmp_add_class_13; ScopedDoubleArrayRO* tmp_add_class_14; ScopedDoubleArrayRW* tmp_add_class_15; ScopedFloatArrayRO* tmp_add_class_16; ScopedFloatArrayRW* tmp_add_class_17; ScopedIntArrayRO* tmp_add_class_18; ScopedIntArrayRW* tmp_add_class_19; ScopedLocalFrame* tmp_add_class_20; ScopedLongArrayRO* tmp_add_class_21; ScopedLongArrayRW* tmp_add_class_22; ScopedShortArrayRO* tmp_add_class_23; ScopedShortArrayRW* tmp_add_class_24; ScopedStringChars* tmp_add_class_25; ScopedUtfChars* tmp_add_class_26; VectorCounter* tmp_add_class_27; VectorGetter* tmp_add_class_28; _G_fpos64_t* tmp_add_class_29; _G_fpos_t* tmp_add_class_30; _IO_cookie_io_functions_t* tmp_add_class_31; _JNIEnv* tmp_add_class_32; _JavaVM* tmp_add_class_33; _jarray* tmp_add_class_34; _jbooleanArray* tmp_add_class_35; _jbyteArray* tmp_add_class_36; _jcharArray* tmp_add_class_37; _jclass* tmp_add_class_38; _jdoubleArray* tmp_add_class_39; _jfloatArray* tmp_add_class_40; _jintArray* tmp_add_class_41; _jlongArray* tmp_add_class_42; _jobject* tmp_add_class_43; _jobjectArray* tmp_add_class_44; _jshortArray* tmp_add_class_45; _jstring* tmp_add_class_46; _jthrowable* tmp_add_class_47; jvalue* tmp_add_class_48; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/gq2pQfV8ig/dump1.h" -I/usr/include/android/nativehelper -I/usr/include/android