[vte] parser: Silence missing declaration warning
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte] parser: Silence missing declaration warning
- Date: Sun, 18 Oct 2020 22:17:08 +0000 (UTC)
commit 2b7678b09a1f2e71786a8c0d40ebc1fb70c01ccf
Author: Christian Persch <chpe src gnome org>
Date: Mon Oct 19 00:16:36 2020 +0200
parser: Silence missing declaration warning
src/parser.hh | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/parser.hh b/src/parser.hh
index 5798d164..7fe775cc 100644
--- a/src/parser.hh
+++ b/src/parser.hh
@@ -170,6 +170,8 @@ enum {
#undef _VTE_NGR
};
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wmissing-declarations"
enum {
#define _VTE_SGR(name, value) VTE_DECSGR_##name = value,
#define _VTE_NGR(...)
@@ -177,6 +179,7 @@ enum {
#undef _VTE_SGR
#undef _VTE_NGR
};
+#pragma GCC diagnostic pop
#define VTE_CHARSET_CHARSET_MASK ((1U << 16) - 1U)
#define VTE_CHARSET_SLOT_OFFSET (16)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]