From 8a4d84e85e808228089b6081d734fb3b0f9c0d62 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 21 Apr 2021 09:57:49 -0500 Subject: [PATCH] Add comment about asan warnings. --- src/platform/guigtk.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/platform/guigtk.cpp b/src/platform/guigtk.cpp index e4bc3156..94eb6b5e 100644 --- a/src/platform/guigtk.cpp +++ b/src/platform/guigtk.cpp @@ -222,6 +222,10 @@ public: } return false; }; + // Note: asan warnings about new-delete-type-mismatch are false positives here: + // https://gitlab.gnome.org/GNOME/gtkmm/-/issues/65 + // Pass new_delete_type_mismatch=0 to ASAN_OPTIONS to disable those warnings. + // Unfortunately they won't go away until upgrading to gtkmm4 _connection = Glib::signal_timeout().connect(handler, milliseconds); } };