X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt.i;h=21a869e606376d4bc9101f92a31d44aae8fc47de;hb=768f9bcbf4b5acd09dda85ab32c0ea30d8826136;hp=6a79cfefc1c57df61a7706338f17feb11839d12b;hpb=0235b0db7de5bcacdb3650c92461f2ce5eb2143d;p=babeltrace.git diff --git a/src/bindings/python/bt2/bt2/native_bt.i b/src/bindings/python/bt2/bt2/native_bt.i index 6a79cfef..21a869e6 100644 --- a/src/bindings/python/bt2/bt2/native_bt.i +++ b/src/bindings/python/bt2/bt2/native_bt.i @@ -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