Commit abe1751f authored by François Grisez's avatar François Grisez

Fix build of tools

parent 22c0960b
...@@ -576,7 +576,7 @@ else() ...@@ -576,7 +576,7 @@ else()
list(APPEND STRICT_OPTIONS_CPP "-Wno-error=unknown-warning-option" "-Qunused-arguments" "-Wno-tautological-compare" "-Wno-unused-function" "-Wno-array-bounds") list(APPEND STRICT_OPTIONS_CPP "-Wno-error=unknown-warning-option" "-Qunused-arguments" "-Wno-tautological-compare" "-Wno-unused-function" "-Wno-array-bounds")
endif() endif()
if(ENABLE_STRICT) if(ENABLE_STRICT)
list(APPEND STRICT_OPTIONS_CPP "-Werror" "-Wextra" "-Wno-unused-parameter" "-fno-strict-aliasing" "-Wno-missing-field-initializers") list(APPEND STRICT_OPTIONS_CPP "-Werror" "-Wextra" "-Wno-unused-parameter" "-fno-strict-aliasing" "-Wno-missing-field-initializers" "-Wno-error=deprecated-declarations")
endif() endif()
endif() endif()
if(STRICT_OPTIONS_CPP) if(STRICT_OPTIONS_CPP)
......
...@@ -33,7 +33,7 @@ int main(int argc, char *argv[]){ ...@@ -33,7 +33,7 @@ int main(int argc, char *argv[]){
ms_error("Usage: mtudiscover [host]"); ms_error("Usage: mtudiscover [host]");
return -1; return -1;
} }
ortp_set_log_level_mask(ORTP_LOG_DOMAIN, ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL); bctbx_set_log_level_mask(BCTBX_LOG_DOMAIN, BCTBX_LOG_MESSAGE|BCTBX_LOG_WARNING|BCTBX_LOG_ERROR|BCTBX_LOG_FATAL);
printf("result: %i \n",ms_discover_mtu(argv[1])); printf("result: %i \n",ms_discover_mtu(argv[1]));
ms_factory_destroy(factory); ms_factory_destroy(factory);
......
...@@ -45,7 +45,7 @@ int main(int argc, char *argv[]){ ...@@ -45,7 +45,7 @@ int main(int argc, char *argv[]){
ms_factory_init_voip(factory); ms_factory_init_voip(factory);
ms_factory_init_plugins(factory); ms_factory_init_plugins(factory);
ortp_set_log_level_mask (ORTP_LOG_DOMAIN, ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL); bctbx_set_log_level_mask (BCTBX_LOG_DOMAIN, BCTBX_LOG_MESSAGE|BCTBX_LOG_WARNING|BCTBX_LOG_ERROR|BCTBX_LOG_FATAL);
src=ms_factory_create_filter(factory,MS_FILE_PLAYER_ID); src=ms_factory_create_filter(factory,MS_FILE_PLAYER_ID);
rec=ms_factory_create_filter(factory,MS_FILE_REC_ID); rec=ms_factory_create_filter(factory,MS_FILE_REC_ID);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment