aboutsummaryrefslogtreecommitdiff
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
parent5d18ee7ed59110ac50dbadbcda63a9fe0ed5ad4a (diff)
downloadsynthpod-d601543ce37dca9f8d7adc6b5f4ffd9f458005f7.tar.xz
app: ignore warning about deprecated urimap feat..
-rw-r--r--VERSION2
-rw-r--r--app/synthpod_app.c3
-rw-r--r--app/synthpod_app_private.h3
-rw-r--r--sandbox_ui.lv2/sandbox_slave.c6
4 files changed, 13 insertions, 1 deletions
diff --git a/VERSION b/VERSION
index 47387a3..0bbbd16 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.5899
+0.1.5911
diff --git a/app/synthpod_app.c b/app/synthpod_app.c
index a4fe9a2..0779582 100644
--- a/app/synthpod_app.c
+++ b/app/synthpod_app.c
@@ -119,6 +119,8 @@ sp_app_get_system_sinks(sp_app_t *app)
return app->system_sinks;
}
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
__non_realtime static uint32_t
_uri_to_id(LV2_URI_Map_Callback_Data handle, const char *_, const char *uri)
{
@@ -128,6 +130,7 @@ _uri_to_id(LV2_URI_Map_Callback_Data handle, const char *_, const char *uri)
return map->map(map->handle, uri);
}
+#pragma GCC diagnostic pop
__realtime static inline bool
_sp_app_has_source_automations(mod_t *mod)
diff --git a/app/synthpod_app_private.h b/app/synthpod_app_private.h
index c544676..7a70382 100644
--- a/app/synthpod_app_private.h
+++ b/app/synthpod_app_private.h
@@ -468,7 +468,10 @@ struct _sp_app_t {
LV2_State_Map_Path map_path;
LV2_Feature state_feature_list [2];
LV2_Feature *state_features [3];
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
LV2_URI_Map_Feature uri_to_id;
+#pragma GCC diagnostic pop
char *bundle_path;
char *bundle_filename;
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)))