configure: remove -Wno-format-nonliteral
[babeltrace.git] / src / bindings / python / bt2 / bt2 / native_bt.i
index 6a79cfefc1c57df61a7706338f17feb11839d12b..21a869e606376d4bc9101f92a31d44aae8fc47de 100644 (file)
@@ -182,6 +182,15 @@ typedef uint64_t bt_listener_id;
 void bt_bt2_init_from_bt2(void);
 void bt_bt2_exit_handler(void);
 
+/*
+ * These functions cause some -Wformat-nonliteral warnings, but we don't need
+ * them.  Ignore them, so that we can keep the warning turned on.
+ */
+%ignore bt_current_thread_error_append_cause_from_component;
+%ignore bt_current_thread_error_append_cause_from_component_class;
+%ignore bt_current_thread_error_append_cause_from_message_iterator;
+%ignore bt_current_thread_error_append_cause_from_unknown;
+
 /*
  * Define `__BT_IN_BABELTRACE_H` to allow specific headers to be
  * included. This remains defined as long as we don't include the main
This page took 0.022909 seconds and 4 git commands to generate.