Temporary header file '/tmp/nMygVXIMZG/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/dx/UserInteractors.h" #include "/usr/include/dx/advanced.h" #include "/usr/include/dx/arch.h" #include "/usr/include/dx/array.h" #include "/usr/include/dx/arrayhandles.h" #include "/usr/include/dx/basic.h" #include "/usr/include/dx/cache.h" #include "/usr/include/dx/camera.h" #include "/usr/include/dx/clipped.h" #include "/usr/include/dx/component.h" #include "/usr/include/dx/dx.h" #include "/usr/include/dx/error.h" #include "/usr/include/dx/extract.h" #include "/usr/include/dx/field.h" #include "/usr/include/dx/geometry.h" #include "/usr/include/dx/group.h" #include "/usr/include/dx/grow.h" #include "/usr/include/dx/hash.h" #include "/usr/include/dx/helper.h" #include "/usr/include/dx/image.h" #include "/usr/include/dx/import.h" #include "/usr/include/dx/invalid.h" #include "/usr/include/dx/lexical.h" #include "/usr/include/dx/light.h" #include "/usr/include/dx/memory.h" #include "/usr/include/dx/modflags.h" #include "/usr/include/dx/object.h" #include "/usr/include/dx/partition.h" #include "/usr/include/dx/pending.h" #include "/usr/include/dx/pick.h" #include "/usr/include/dx/private.h" #include "/usr/include/dx/rel_1_bc.h" #include "/usr/include/dx/render.h" #include "/usr/include/dx/resampling.h" #include "/usr/include/dx/screen.h" #include "/usr/include/dx/seglist.h" #include "/usr/include/dx/string.h" #include "/usr/include/dx/task.h" #include "/usr/include/dx/timing.h" #include "/usr/include/dx/version.h" #include "/usr/include/dx/xform.h" #include "/usr/include/dxconfig.h" #include "/usr/include/dxl.h" #include "/usr/include/dxstereo.h" // add classes ModuleInput* tmp_add_class_0; ModuleOutput* tmp_add_class_1; _G_fpos64_t* tmp_add_class_2; _G_fpos_t* tmp_add_class_3; _IO_cookie_io_functions_t* tmp_add_class_4; _userInteractor* tmp_add_class_5; arrayHandle* tmp_add_class_6; cmsghdr* tmp_add_class_7; cube* tmp_add_class_8; invalidComponentHandle* tmp_add_class_9; iovec* tmp_add_class_10; line* tmp_add_class_11; linger* tmp_add_class_12; matrix* tmp_add_class_13; mmsghdr* tmp_add_class_14; msghdr* tmp_add_class_15; osockaddr* tmp_add_class_16; point* tmp_add_class_17; quadrilateral* tmp_add_class_18; rgbbytecolor* tmp_add_class_19; rgbcolor* tmp_add_class_20; slbuf* tmp_add_class_21; sockaddr* tmp_add_class_22; sockaddr_storage* tmp_add_class_23; sockaddr_un* tmp_add_class_24; tetrahedron* tmp_add_class_25; triangle* tmp_add_class_26; ucred* tmp_add_class_27; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/nMygVXIMZG/dump1.h" In file included from /tmp/nMygVXIMZG/dump1.h:12: /usr/include/dx/UserInteractors.h:91:17: error: typedef ‘InitMode’ is initialized (use ‘decltype’ instead) 91 | typedef void *(*InitMode)(Object args, int width, int height, int *mask); | ^~~~~~~~ /usr/include/dx/UserInteractors.h:91:27: error: ‘Object’ was not declared in this scope 91 | typedef void *(*InitMode)(Object args, int width, int height, int *mask); | ^~~~~~ /usr/include/dx/UserInteractors.h:91:40: error: expected primary-expression before ‘int’ 91 | typedef void *(*InitMode)(Object args, int width, int height, int *mask); | ^~~ /usr/include/dx/UserInteractors.h:91:51: error: expected primary-expression before ‘int’ 91 | typedef void *(*InitMode)(Object args, int width, int height, int *mask); | ^~~ /usr/include/dx/UserInteractors.h:91:63: error: expected primary-expression before ‘int’ 91 | typedef void *(*InitMode)(Object args, int width, int height, int *mask); | ^~~ /usr/include/dx/UserInteractors.h:97:46: error: ‘Object’ has not been declared 97 | typedef void (*SetRenderable)(void *handle, Object obj); | ^~~~~~ /usr/include/dx/UserInteractors.h:98:46: error: ‘Object’ has not been declared 98 | typedef int (*GetRenderable)(void *handle, Object *obj); | ^~~~~~ /usr/include/dx/UserInteractors.h:104:23: error: ‘Object’ has not been declared 104 | void *(*InitMode)(Object, int, int, int *); | ^~~~~~ /usr/include/dx/UserInteractors.h:110:36: error: ‘Object’ has not been declared 110 | void (*SetRenderable)(void *, Object); | ^~~~~~ /usr/include/dx/UserInteractors.h:111:36: error: ‘Object’ has not been declared 111 | int (*GetRenderable)(void *, Object *); | ^~~~~~ In file included from /tmp/nMygVXIMZG/dump1.h:13: /usr/include/dx/advanced.h:129:1: error: ‘Error’ does not name a type 129 | Error DXSetGlobalSize(int, int, int); | ^~~~~ /usr/include/dx/advanced.h:130:1: error: ‘Error’ does not name a type 130 | Error DXmemsize(ulong size); | ^~~~~ /usr/include/dx/advanced.h:138:1: error: ‘Error’ does not name a type 138 | Error DXinitdx(void); | ^~~~~ /usr/include/dx/advanced.h:149:1: error: ‘Error’ does not name a type 149 | Error DXsyncmem(void); | ^~~~~ In file included from /tmp/nMygVXIMZG/dump1.h:15: /usr/include/dx/array.h:37:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 37 | Array DXNewArrayV(Type t, Category c, int rank, int *shape); | ^~~~~ | NewArray /usr/include/dx/array.h:38:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 38 | Array DXNewArray(Type t, Category c, int rank, ...); | ^~~~~ | NewArray /usr/include/dx/array.h:54:1: error: ‘Class’ does not name a type; did you mean ‘class’? 54 | Class DXGetArrayClass(Array a); | ^~~~~ | class /usr/include/dx/array.h:64:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 64 | Array DXGetArrayInfo(Array a, int *items, Type *type, Category *category, | ^~~~~ | NewArray /usr/include/dx/array.h:79:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 79 | Array DXTypeCheckV(Array a, Type type, Category category, int rank, int *shape); | ^~~~~ | NewArray /usr/include/dx/array.h:80:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 80 | Array DXTypeCheck(Array a, Type type, Category category, int rank, ...); | ^~~~~ | NewArray /usr/include/dx/array.h:92:1: error: ‘Pointer’ does not name a type 92 | Pointer DXGetArrayData(Array a); | ^~~~~~~ /usr/include/dx/array.h:109:19: error: ‘Array’ was not declared in this scope; did you mean ‘NewArray’? 109 | int DXGetItemSize(Array a); | ^~~~~ | NewArray /usr/include/dx/array.h:116:1: error: ‘Pointer’ does not name a type 116 | Pointer DXGetArrayDataLocal(Array a); | ^~~~~~~ /usr/include/dx/array.h:133:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 133 | Array DXFreeArrayDataLocal(Array a, Pointer data); | ^~~~~ | NewArray /usr/include/dx/array.h:160:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 160 | Array DXAddArrayData(Array a, int start, int n, Pointer data); | ^~~~~ | NewArray /usr/include/dx/array.h:174:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 174 | Array DXAllocateArray(Array a, int n); | ^~~~~ | NewArray /usr/include/dx/array.h:186:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 186 | Array DXTrim(Array a); | ^~~~~ | NewArray /usr/include/dx/array.h:244:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 244 | Array DXTrimItems(Array a, int nitems); | ^~~~~ | NewArray /usr/include/dx/array.h:254:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 254 | Array DXMakeGridPositionsV(int n, int *counts, float *origin, float *deltas); | ^~~~~ | NewArray /usr/include/dx/array.h:255:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 255 | Array DXMakeGridPositions(int n, ...); | ^~~~~ | NewArray /usr/include/dx/array.h:278:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 278 | Array DXQueryGridPositions(Array a, int *n, int *counts, | ^~~~~ | NewArray /usr/include/dx/array.h:294:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 294 | Array DXMakeGridConnectionsV(int n, int *counts); | ^~~~~ | NewArray /usr/include/dx/array.h:295:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 295 | Array DXMakeGridConnections(int n, ...); | ^~~~~ | NewArray /usr/include/dx/array.h:310:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 310 | Array DXQueryGridConnections(Array a, int *n, int *counts); | ^~~~~ | NewArray /usr/include/dx/array.h:334:1: error: ‘RegularArray’ does not name a type; did you mean ‘NewRegularArray’? 334 | RegularArray DXNewRegularArray(Type t, int dim, int n, | ^~~~~~~~~~~~ | NewRegularArray /usr/include/dx/array.h:347:1: error: ‘RegularArray’ does not name a type; did you mean ‘NewRegularArray’? 347 | RegularArray DXGetRegularArrayInfo(RegularArray a, int *count, | ^~~~~~~~~~~~ | NewRegularArray /usr/include/dx/array.h:369:1: error: ‘PathArray’ does not name a type; did you mean ‘NewPathArray’? 369 | PathArray DXNewPathArray(int count); | ^~~~~~~~~ | NewPathArray /usr/include/dx/array.h:379:1: error: ‘PathArray’ does not name a type; did you mean ‘NewPathArray’? 379 | PathArray DXGetPathArrayInfo(PathArray a, int *count); | ^~~~~~~~~ | NewPathArray /usr/include/dx/array.h:388:1: error: ‘PathArray’ does not name a type; did you mean ‘NewPathArray’? 388 | PathArray DXSetPathOffset(PathArray a, int offset); | ^~~~~~~~~ | NewPathArray /usr/include/dx/array.h:389:1: error: ‘PathArray’ does not name a type; did you mean ‘NewPathArray’? 389 | PathArray DXGetPathOffset(PathArray a, int *offset); | ^~~~~~~~~ | NewPathArray /usr/include/dx/array.h:410:1: error: ‘ProductArray’ does not name a type; did you mean ‘NewProductArray’? 410 | ProductArray DXNewProductArrayV(int n, Array *terms); | ^~~~~~~~~~~~ | NewProductArray /usr/include/dx/array.h:411:1: error: ‘ProductArray’ does not name a type; did you mean ‘NewProductArray’? 411 | ProductArray DXNewProductArray(int n, ...); | ^~~~~~~~~~~~ | NewProductArray /usr/include/dx/array.h:422:1: error: ‘ProductArray’ does not name a type; did you mean ‘NewProductArray’? 422 | ProductArray DXGetProductArrayInfo(ProductArray a, int *n, Array *terms); | ^~~~~~~~~~~~ | NewProductArray /usr/include/dx/array.h:446:1: error: ‘MeshArray’ does not name a type; did you mean ‘NewArray’? 446 | MeshArray DXNewMeshArrayV(int n, Array *terms); | ^~~~~~~~~ | NewArray /usr/include/dx/array.h:447:1: error: ‘MeshArray’ does not name a type; did you mean ‘NewArray’? 447 | MeshArray DXNewMeshArray(int n, ...); | ^~~~~~~~~ | NewArray /usr/include/dx/array.h:458:1: error: ‘MeshArray’ does not name a type; did you mean ‘NewArray’? 458 | MeshArray DXGetMeshArrayInfo(MeshArray a, int *n, Array *terms); | ^~~~~~~~~ | NewArray /usr/include/dx/array.h:467:1: error: ‘MeshArray’ does not name a type; did you mean ‘NewArray’? 467 | MeshArray DXSetMeshOffsets(MeshArray a, int *offsets); | ^~~~~~~~~ | NewArray /usr/include/dx/array.h:468:1: error: ‘MeshArray’ does not name a type; did you mean ‘NewArray’? 468 | MeshArray DXGetMeshOffsets(MeshArray a, int *offsets); | ^~~~~~~~~ | NewArray /usr/include/dx/array.h:483:1: error: ‘ConstantArray’ does not name a type; did you mean ‘NewConstantArray’? 483 | ConstantArray DXNewConstantArray(int n, Pointer d, Type t, | ^~~~~~~~~~~~~ | NewConstantArray /usr/include/dx/array.h:485:1: error: ‘ConstantArray’ does not name a type; did you mean ‘NewConstantArray’? 485 | ConstantArray DXNewConstantArrayV(int n, Pointer d, Type t, | ^~~~~~~~~~~~~ | NewConstantArray /usr/include/dx/array.h:487:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 487 | Array DXQueryConstantArray(Array a, int *num, Pointer d); | ^~~~~ | NewArray /usr/include/dx/array.h:488:1: error: ‘Pointer’ does not name a type 488 | Pointer DXGetConstantArrayData(Array array); | ^~~~~~~ /usr/include/dx/array.h:490:1: error: ‘Error’ does not name a type 490 | Error DXRegisterSharedSegment(int id, | ^~~~~ /usr/include/dx/array.h:493:1: error: ‘SharedArray’ does not name a type 493 | SharedArray DXNewSharedArray(int id, Pointer d, int knt, Type t, Category c, int r, ...); | ^~~~~~~~~~~ /usr/include/dx/array.h:494:1: error: ‘SharedArray’ does not name a type 494 | SharedArray DXNewSharedArrayV(int id, Pointer d, int knt, Type t, Category c, int r, int *s); | ^~~~~~~~~~~ /usr/include/dx/array.h:495:1: error: ‘SharedArray’ does not name a type 495 | SharedArray DXNewSharedArrayFromOffset(int id, long offset, int knt, Type t, Category c, int r, ...); | ^~~~~~~~~~~ /usr/include/dx/array.h:496:1: error: ‘SharedArray’ does not name a type 496 | SharedArray DXNewSharedArrayFromOffsetV(int id, long offset, int knt, Type t, Category c, int r, int *s); | ^~~~~~~~~~~ /usr/include/dx/array.h:499:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 499 | Array DXMakeStringList(int n, char *s, ...); | ^~~~~ | NewArray /usr/include/dx/array.h:500:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 500 | Array DXMakeStringListV(int n, char **s); | ^~~~~ | NewArray /usr/include/dx/array.h:505:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 505 | Array DXMakeInteger(int n); | ^~~~~ | NewArray /usr/include/dx/array.h:506:1: error: ‘Array’ does not name a type; did you mean ‘NewArray’? 506 | Array DXMakeFloat(float f); | ^~~~~ | NewArray In file included from /tmp/nMygVXIMZG/dump1.h:16: /usr/include/dx/arrayhandles.h:22:5: error: ‘Class’ does not name a type; did you mean ‘class’? 22 | Class class; | ^~~~~ | class /usr/include/dx/arrayhandles.h:24:5: error: ‘Type’ does not name a type; did you mean ‘typeof’? 24 | Type type; | ^~~~ | typeof /usr/include/dx/arrayhandles.h:25:5: error: ‘Category’ does not name a type; did you mean ‘CategorySize’? 25 | Category cat; | ^~~~~~~~ | CategorySize /usr/include/dx/arrayhandles.h:32:5: error: ‘Pointer’ does not name a type 32 | Pointer data; | ^~~~~~~ /usr/include/dx/arrayhandles.h:37:5: error: ‘Pointer’ does not name a type 37 | Pointer cdata; | ^~~~~~~ /usr/include/dx/arrayhandles.h:42:5: error: ‘Pointer’ does not name a type 42 | Pointer origin, delta; | ^~~~~~~ /usr/include/dx/arrayhandles.h:52:5: error: ‘Pointer’ does not name a type 52 | Pointer *scratch; | ^~~~~~~ /usr/include/dx/arrayhandles.h:62:33: error: ‘Array’ was not declared in this scope; did you mean ‘NewArray’? 62 | ArrayHandle DXCreateArrayHandle(Array); | ^~~~~ | NewArray /usr/include/dx/arrayhandles.h:63:1: error: ‘Error’ does not name a type 63 | Error DXFreeArrayHandle(ArrayHandle); | ^~~~~ /usr/include/dx/arrayhandles.h:64:1: error: ‘Pointer’ does not name a type 64 | Pointer DXCalculateArrayEntry(ArrayHandle, int, Pointer); | ^~~~~~~ In file included from /tmp/nMygVXIMZG/dump1.h:17: /usr/include/dx/basic.h:102:5: error: ‘ubyte’ does not name a type 102 | ubyte r, g, b; | ^~~~~ /usr/include/dx/basic.h:102:5: note: the macro ‘ubyte’ had not yet been defined In file included from /tmp/nMygVXIMZG/dump1.h:53: /usr/include/dxconfig.h:767: note: it was later defined here 767 | #define ubyte unsigned char | In file included from /tmp/nMygVXIMZG/dump1.h:18: /usr/include/dx/cache.h:89:1: error: ‘Error’ does not name a type 89 | Error DXSetCacheEntry(Object out, double cost, | ^~~~~ /usr/include/dx/cache.h:91:1: error: ‘Error’ does not name a type 91 | Error DXSetCacheEntryV(Object out, double cost, | ^~~~~ /usr/include/dx/cache.h:106:1: error: ‘Object’ does not name a type 106 | Object DXGetCacheEntry(char *function, int key, int n, ...); | ^~~~~~ /usr/include/dx/cache.h:107:1: error: ‘Object’ does not name a type 107 | Object DXGetCacheEntryV(char *function, int key, int n, Object *in); | ^~~~~~ In file included from /tmp/nMygVXIMZG/dump1.h:19: /usr/include/dx/camera.h:29:1: error: ‘Camera’ does not name a type; did you mean ‘SetCamera’? 29 | Camera DXNewCamera(void); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:39:1: error: ‘Camera’ does not name a type; did you mean ‘SetCamera’? 39 | Camera DXSetView(Camera c, Point from, Point to, Vector up); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:48:1: error: ‘Camera’ does not name a type; did you mean ‘SetCamera’? 48 | Camera DXSetOrthographic(Camera c, double width, double aspect); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:57:1: error: ‘Camera’ does not name a type; did you mean ‘SetCamera’? 57 | Camera DXSetPerspective(Camera c, double width, double aspect); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:59:1: error: ‘Camera’ does not name a type; did you mean ‘SetCamera’? 59 | Camera DXSetResolution(Camera c, int hres, double pix_aspect); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:71:26: error: ‘Camera’ was not declared in this scope; did you mean ‘SetCamera’? 71 | Matrix DXGetCameraMatrix(Camera c); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:72:28: error: ‘Camera’ was not declared in this scope; did you mean ‘SetCamera’? 72 | Matrix DXGetCameraRotation(Camera c); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:73:34: error: ‘Camera’ was not declared in this scope; did you mean ‘SetCamera’? 73 | Matrix DXGetCameraMatrixWithFuzz(Camera c, float fuzz); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:73:44: error: expected primary-expression before ‘float’ 73 | Matrix DXGetCameraMatrixWithFuzz(Camera c, float fuzz); | ^~~~~ /usr/include/dx/camera.h:81:1: error: ‘Camera’ does not name a type; did you mean ‘SetCamera’? 81 | Camera DXGetView(Camera c, Point *from, Point *to, Vector *up); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:91:1: error: ‘Camera’ does not name a type; did you mean ‘SetCamera’? 91 | Camera DXGetCameraResolution(Camera c, int *width, int *height); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:98:1: error: ‘Camera’ does not name a type; did you mean ‘SetCamera’? 98 | Camera DXGetOrthographic(Camera c, float *width, float *aspect); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:107:1: error: ‘Camera’ does not name a type; did you mean ‘SetCamera’? 107 | Camera DXGetPerspective(Camera c, float *fov, float *aspect); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:109:1: error: ‘Camera’ does not name a type; did you mean ‘SetCamera’? 109 | Camera DXGetBackgroundColor(Camera camera, RGBColor *background); | ^~~~~~ | SetCamera /usr/include/dx/camera.h:110:1: error: ‘Camera’ does not name a type; did you mean ‘SetCamera’? 110 | Camera DXSetBackgroundColor(Camera camera, RGBColor background); | ^~~~~~ | SetCamera In file included from /tmp/nMygVXIMZG/dump1.h:20: /usr/include/dx/clipped.h:32:1: error: ‘Clipped’ does not name a type 32 | Clipped DXNewClipped(Object render, Object clipping); | ^~~~~~~ /usr/include/dx/clipped.h:46:1: error: ‘Clipped’ does not name a type 46 | Clipped DXGetClippedInfo(Clipped c, Object *render, Object *clipping); | ^~~~~~~ /usr/include/dx/clipped.h:55:1: error: ‘Clipped’ does not name a type 55 | Clipped DXSetClippedObjects(Clipped c, Object render, Object clipping); | ^~~~~~~ In file included from /tmp/nMygVXIMZG/dump1.h:21: /usr/include/dx/component.h:25:1: error: ‘Object’ does not name a type 25 | Object DXRename(Object o, char *oldname, char *newname); | ^~~~~~ /usr/include/dx/component.h:37:1: error: ‘Object’ does not name a type 37 | Object DXSwap(Object o, char *name1, char *name2); | ^~~~~~ /usr/include/dx/component.h:48:1: error: ‘Object’ does not name a type 48 | Object DXExtract(Object o, char *name); | ^~~~~~ /usr/include/dx/component.h:61:1: error: ‘Object’ does not name a type 61 | Object DXInsert(Object o, Object add, char *name); | ^~~~~~ /usr/include/dx/component.h:73:1: error: ‘Object’ does not name a type 73 | Object DXReplace(Object o, Object add, char *src, char *dst); | ^~~~~~ /usr/include/dx/component.h:86:1: error: ‘Object’ does not name a type 86 | Object DXRemove(Object o, char *name); | ^~~~~~ /usr/include/dx/component.h:96:1: error: ‘Object’ does not name a type 96 | Object DXExists(Object o, char *name); | ^~~~~~ In file included from /tmp/nMygVXIMZG/dump1.h:55: /usr/include/dxstereo.h:32:17: error: typedef ‘InitializeStereoSystemMode’ is initialized (use ‘decltype’ instead) 32 | typedef int (*InitializeStereoSystemMode)(Display *, Window); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/dxstereo.h:32:45: error: ‘Display’ was not declared in this scope; did you mean ‘DisplayX’? 32 | typedef int (*InitializeStereoSystemMode)(Display *, Window); | ^~~~~~~ | DisplayX /usr/include/dxstereo.h:32:54: error: expected primary-expression before ‘,’ token 32 | typedef int (*InitializeStereoSystemMode)(Display *, Window); | ^ /usr/include/dxstereo.h:32:56: error: ‘Window’ was not declared in this scope 32 | typedef int (*InitializeStereoSystemMode)(Display *, Window); | ^~~~~~ /usr/include/dxstereo.h:33:17: error: typedef ‘CreateStereoWindows’ is initialized (use ‘decltype’ instead) 33 | typedef int (*CreateStereoWindows)(Display *, Window, | ^~~~~~~~~~~~~~~~~~~ /usr/include/dxstereo.h:33:38: error: ‘Display’ was not declared in this scope; did you mean ‘DisplayX’? 33 | typedef int (*CreateStereoWindows)(Display *, Window, | ^~~~~~~ | DisplayX /usr/include/dxstereo.h:33:47: error: expected primary-expression before ‘,’ token 33 | typedef int (*CreateStereoWindows)(Display *, Window, | ^ /usr/include/dxstereo.h:33:49: error: ‘Window’ was not declared in this scope 33 | typedef int (*CreateStereoWindows)(Display *, Window, | ^~~~~~ /usr/include/dxstereo.h:34:33: error: ‘Window’ was not declared in this scope 34 | Window *, WindowInfo *, | ^~~~~~ /usr/include/dxstereo.h:34:41: error: expected primary-expression before ‘,’ token 34 | Window *, WindowInfo *, | ^ /usr/include/dxstereo.h:34:54: error: expected primary-expression before ‘*’ token 34 | Window *, WindowInfo *, | ^ /usr/include/dxstereo.h:34:55: error: expected primary-expression before ‘,’ token 34 | Window *, WindowInfo *, | ^ /usr/include/dxstereo.h:35:33: error: ‘Window’ was not declared in this scope 35 | Window *, WindowInfo *); | ^~~~~~ /usr/include/dxstereo.h:35:41: error: expected primary-expression before ‘,’ token 35 | Window *, WindowInfo *); | ^ /usr/include/dxstereo.h:35:54: error: expected primary-expression before ‘*’ token 35 | Window *, WindowInfo *); | ^ /usr/include/dxstereo.h:35:55: error: expected primary-expression before ‘)’ token 35 | Window *, WindowInfo *); | ^ /usr/include/dxstereo.h:36:17: error: typedef ‘ExitStereo’ is initialized (use ‘decltype’ instead) 36 | typedef int (*ExitStereo)(Display *, Window, Window, Window); | ^~~~~~~~~~ /usr/include/dxstereo.h:36:29: error: ‘Display’ was not declared in this scope; did you mean ‘DisplayX’? 36 | typedef int (*ExitStereo)(Display *, Window, Window, Window); | ^~~~~~~ | DisplayX /usr/include/dxstereo.h:36:38: error: expected primary-expression before ‘,’ token 36 | typedef int (*ExitStereo)(Display *, Window, Window, Window); | ^ /usr/include/dxstereo.h:36:40: error: ‘Window’ was not declared in this scope 36 | typedef int (*ExitStereo)(Display *, Window, Window, Window); | ^~~~~~ /usr/include/dxstereo.h:36:48: error: ‘Window’ was not declared in this scope 36 | typedef int (*ExitStereo)(Display *, Window, Window, Window); | ^~~~~~ /usr/include/dxstereo.h:36:56: error: ‘Window’ was not declared in this scope 36 | typedef int (*ExitStereo)(Display *, Window, Window, Window); | ^~~~~~ /usr/include/dxstereo.h:38:38: error: ‘Window’ has not been declared 38 | typedef int (*MapStereoXY)(void *, Window, Window, WindowInfo, | ^~~~~~ /usr/include/dxstereo.h:38:46: error: ‘Window’ has not been declared 38 | typedef int (*MapStereoXY)(void *, Window, Window, WindowInfo, | ^~~~~~ /usr/include/dxstereo.h:42:53: error: ‘dxObject’ has not been declared 42 | typedef void *(*InitializeStereoCameraMode)(void *, dxObject); | ^~~~~~~~ /usr/include/dxstereo.h:52:5: error: ‘InitializeStereoSystemMode’ does not name a type; did you mean ‘InitializeStereoCameraMode’? 52 | InitializeStereoSystemMode initializeStereoSystemMode; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | InitializeStereoCameraMode /usr/include/dxstereo.h:53:5: error: ‘CreateStereoWindows’ does not name a type; did you mean ‘CreateStereoCameras’? 53 | CreateStereoWindows createStereoWindows; | ^~~~~~~~~~~~~~~~~~~ | CreateStereoCameras /usr/include/dxstereo.h:54:5: error: ‘ExitStereo’ does not name a type; did you mean ‘SetStereo’? 54 | ExitStereo exitStereo; | ^~~~~~~~~~ | SetStereo