[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Is it possible to turn off warning message?
From: |
Tamas Nepusz |
Subject: |
Re: [igraph] Is it possible to turn off warning message? |
Date: |
Tue, 12 Jan 2010 18:00:12 +0000 |
> A quick question, Is it possible to turn off the message output by
> IGRAPH_WARNING macro?
Yes, there is, although it is not documented (and I don't know why). There's a
function called igraph_set_warning_handler which you can use to override
igraph's default behaviour:
void igraph_warning_handler_ignore(const char*, const char*, int, int) {}
[...]
igraph_set_warning_handler(igraph_warning_handler_ignore);
--
Tamas