aboutsummaryrefslogtreecommitdiff
path: root/sandbox_ui.lv2
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-02-06 09:39:00 +0100
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-02-06 09:40:39 +0100
commitd601543ce37dca9f8d7adc6b5f4ffd9f458005f7 (patch)
tree74eb7faf0087f32477ff0f4a9dda3c6dbef75055 /sandbox_ui.lv2
parent5d18ee7ed59110ac50dbadbcda63a9fe0ed5ad4a (diff)
downloadsynthpod-d601543ce37dca9f8d7adc6b5f4ffd9f458005f7.zip
synthpod-d601543ce37dca9f8d7adc6b5f4ffd9f458005f7.tar.gz
synthpod-d601543ce37dca9f8d7adc6b5f4ffd9f458005f7.tar.bz2
synthpod-d601543ce37dca9f8d7adc6b5f4ffd9f458005f7.tar.xz
app: ignore warning about deprecated urimap feat..
Diffstat (limited to 'sandbox_ui.lv2')
-rw-r--r--sandbox_ui.lv2/sandbox_slave.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sandbox_ui.lv2/sandbox_slave.c b/sandbox_ui.lv2/sandbox_slave.c
index 33285a5..6a3b136 100644
--- a/sandbox_ui.lv2/sandbox_slave.c
+++ b/sandbox_ui.lv2/sandbox_slave.c
@@ -43,7 +43,10 @@ struct _sandbox_slave_t {
LV2_URID_Map *map;
LV2_URID_Unmap *unmap;
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
LV2_URI_Map_Feature uri_id;
+#pragma GCC diagnostic pop
LV2_URID log_trace;
LV2_URID log_error;
@@ -265,6 +268,8 @@ _sandbox_recv_cb(LV2UI_Handle handle, uint32_t index, uint32_t size,
return true; // continue handling messages
}
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
static uint32_t
_sb_uri_to_id(LV2_URI_Map_Callback_Data handle, const char *map, const char *uri)
{
@@ -273,6 +278,7 @@ _sb_uri_to_id(LV2_URI_Map_Callback_Data handle, const char *map, const char *uri
return sb->map->map(sb->map->handle, uri);
}
+#pragma GCC diagnostic pop
static uint32_t
_voice_map_new_uuid(void *data, uint32_t flags __attribute__((unused)))