From 2957b38c5788b15f1e5a21378636ae5d770bb5a5 Mon Sep 17 00:00:00 2001 From: Alexandros Theodotou Date: Sun, 17 Apr 2022 09:28:15 +0100 Subject: [PATCH] fix formatting, add additional -Werror flags for LTO --- meson.build | 2 ++ src/gui/widgets/bot_bar.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 9e5e03da8..1fd00eed4 100644 --- a/meson.build +++ b/meson.build @@ -831,6 +831,8 @@ test_strict_cflags += [ '-Werror=redundant-decls', '-Werror=strict-prototypes', '-Werror=sizeof-array-argument', + '-Werror=lto-type-mismatch', + '-Werror=odr', ] if is_gcc diff --git a/src/gui/widgets/bot_bar.c b/src/gui/widgets/bot_bar.c index b65a5a242..625d801a6 100644 --- a/src/gui/widgets/bot_bar.c +++ b/src/gui/widgets/bot_bar.c @@ -214,8 +214,8 @@ on_transport_playhead_right_click ( #endif gtk_widget_insert_action_group ( - GTK_WIDGET (self->digital_transport), "bot-bar", - G_ACTION_GROUP (action_group)); + GTK_WIDGET (self->digital_transport), + "bot-bar", G_ACTION_GROUP (action_group)); digital_meter_show_context_menu ( self->digital_transport, menu);