|
23 | 23 | #pragma clang diagnostic push |
24 | 24 | #pragma clang diagnostic ignored "-Wempty-body" |
25 | 25 | #pragma clang diagnostic ignored "-Wunused-function" |
| 26 | + #pragma clang diagnostic ignored "-Wunused-member-function" |
26 | 27 | #pragma clang diagnostic ignored "-Wdeprecated-declarations" |
27 | 28 | #pragma clang diagnostic ignored "-Wformat" |
28 | 29 | #elif __GNUC__ |
|
39 | 40 |
|
40 | 41 | #include "harfbuzz.h" |
41 | 42 |
|
42 | | -#include "upstream/graph/gsubgpos-context.cc" |
43 | | -#include "upstream/hb-aat-layout.cc" |
44 | | -#include "upstream/hb-aat-map.cc" |
45 | | -#include "upstream/hb-blob.cc" |
46 | | -#include "upstream/hb-buffer-serialize.cc" |
47 | | -#include "upstream/hb-buffer-verify.cc" |
48 | | -#include "upstream/hb-buffer.cc" |
49 | | -#include "upstream/hb-cairo-utils.cc" |
50 | | -#include "upstream/hb-cairo.cc" |
51 | | -#include "upstream/hb-common.cc" |
52 | | -#include "upstream/hb-coretext-font.cc" |
53 | | -#include "upstream/hb-coretext-shape.cc" |
54 | | -#include "upstream/hb-directwrite.cc" |
55 | | -#include "upstream/hb-draw.cc" |
56 | | -#include "upstream/hb-face-builder.cc" |
57 | | -#include "upstream/hb-face.cc" |
58 | | -#include "upstream/hb-fallback-shape.cc" |
59 | | -#include "upstream/hb-font.cc" |
60 | | -#include "upstream/hb-ft.cc" |
61 | | -#include "upstream/hb-gdi.cc" |
62 | | -#include "upstream/hb-glib.cc" |
63 | | -#include "upstream/hb-gobject-structs.cc" |
64 | | -#include "upstream/hb-graphite2.cc" |
65 | | -#include "upstream/hb-icu.cc" |
66 | | -#include "upstream/hb-map.cc" |
67 | | -#include "upstream/hb-number.cc" |
68 | | -#include "upstream/hb-ot-cff1-table.cc" |
69 | | -#include "upstream/hb-ot-cff2-table.cc" |
70 | | -#include "upstream/hb-ot-color.cc" |
71 | | -#include "upstream/hb-ot-face.cc" |
72 | | -#include "upstream/hb-ot-font.cc" |
73 | | -#include "upstream/hb-ot-layout.cc" |
74 | | -#include "upstream/hb-ot-map.cc" |
75 | | -#include "upstream/hb-ot-math.cc" |
76 | | -#include "upstream/hb-ot-meta.cc" |
77 | | -#include "upstream/hb-ot-metrics.cc" |
78 | | -#include "upstream/hb-ot-name.cc" |
79 | | -#include "upstream/hb-ot-shape-fallback.cc" |
80 | | -#include "upstream/hb-ot-shape-normalize.cc" |
81 | | -#include "upstream/hb-ot-shape.cc" |
82 | | -#include "upstream/hb-ot-shaper-arabic.cc" |
83 | | -#include "upstream/hb-ot-shaper-default.cc" |
84 | | -#include "upstream/hb-ot-shaper-hangul.cc" |
85 | | -#include "upstream/hb-ot-shaper-hebrew.cc" |
86 | | -#include "upstream/hb-ot-shaper-indic-table.cc" |
87 | | -#include "upstream/hb-ot-shaper-indic.cc" |
88 | | -#include "upstream/hb-ot-shaper-khmer.cc" |
89 | | -#include "upstream/hb-ot-shaper-myanmar.cc" |
90 | | -#include "upstream/hb-ot-shaper-syllabic.cc" |
91 | | -#include "upstream/hb-ot-shaper-thai.cc" |
92 | | -#include "upstream/hb-ot-shaper-use.cc" |
93 | | -#include "upstream/hb-ot-shaper-vowel-constraints.cc" |
94 | | -#include "upstream/hb-ot-tag.cc" |
95 | | -#include "upstream/hb-ot-var.cc" |
96 | | -#include "upstream/hb-outline.cc" |
97 | | -#include "upstream/hb-paint-extents.cc" |
98 | | -#include "upstream/hb-paint.cc" |
99 | | -#include "upstream/hb-set.cc" |
100 | | -#include "upstream/hb-shape-plan.cc" |
101 | | -#include "upstream/hb-shape.cc" |
102 | | -#include "upstream/hb-shaper.cc" |
103 | | -#include "upstream/hb-static.cc" |
104 | | -#include "upstream/hb-style.cc" |
105 | | -#include "upstream/hb-subset-cff-common.cc" |
106 | | -#include "upstream/hb-subset-cff1.cc" |
107 | | -#include "upstream/hb-subset-cff2.cc" |
108 | | -#include "upstream/hb-subset-input.cc" |
109 | | -#include "upstream/hb-subset-instancer-iup.cc" |
110 | | -#include "upstream/hb-subset-instancer-solver.cc" |
111 | | -#include "upstream/hb-subset-plan.cc" |
112 | | -#include "upstream/hb-subset-repacker.cc" |
113 | | -#include "upstream/hb-subset.cc" |
114 | | -#include "upstream/hb-ucd.cc" |
115 | | -#include "upstream/hb-unicode.cc" |
116 | | -#include "upstream/hb-uniscribe.cc" |
117 | | -#include "upstream/hb-wasm-api.cc" |
118 | | -#include "upstream/hb-wasm-shape.cc" |
| 43 | +#if !defined(HB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR) |
| 44 | + #define YUP_HARFBUZZ_DEFINED_HB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR 1 |
| 45 | + #define HB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR 1 |
| 46 | +#endif |
| 47 | + |
| 48 | +#if !defined(HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING) |
| 49 | + #define YUP_HARFBUZZ_DEFINED_HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING 1 |
| 50 | + #define HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING 1 |
| 51 | +#endif |
| 52 | + |
| 53 | +#include "upstream/harfbuzz.cc" |
| 54 | + |
| 55 | +#if defined(YUP_HARFBUZZ_DEFINED_HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING) |
| 56 | + #undef HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING |
| 57 | + #undef YUP_HARFBUZZ_DEFINED_HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING |
| 58 | +#endif |
| 59 | + |
| 60 | +#if defined(YUP_HARFBUZZ_DEFINED_HB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR) |
| 61 | + #undef HB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR |
| 62 | + #undef YUP_HARFBUZZ_DEFINED_HB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR |
| 63 | +#endif |
119 | 64 |
|
120 | 65 | #if __clang__ |
121 | 66 | #pragma clang diagnostic pop |
|
0 commit comments