diff --git a/dap-sdk/core/include/dap_binary_tree.h b/dap-sdk/core/include/dap_binary_tree.h
index e2eaba9ffaeca7296831affc9207c841bbc38ced..e0e2b82e3f7a3e5db46cf78af497a4cd4ebccc41 100644
--- a/dap-sdk/core/include/dap_binary_tree.h
+++ b/dap-sdk/core/include/dap_binary_tree.h
@@ -24,10 +24,16 @@
 
 #pragma once
 
+
 #include <string.h>
 #include "dap_common.h"
 #include "dap_list.h"
 
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef const char *dap_binary_tree_key_t;
 #define KEY_LS(a, b) (strcmp(a, b) < 0)
 #define KEY_GT(a, b) (strcmp(a, b) > 0)
@@ -48,3 +54,8 @@ dap_binary_tree_t *dap_binary_tree_insert(dap_binary_tree_t *a_tree_root, dap_bi
 dap_binary_tree_t *dap_binary_tree_delete(dap_binary_tree_t *a_tree_root, dap_binary_tree_key_t a_key);
 size_t dap_binary_tree_count(dap_binary_tree_t *a_tree_root);
 void dap_binary_tree_clear(dap_binary_tree_t *a_tree_root);
+
+
+#ifdef __cplusplus
+}
+#endif
diff --git a/dap-sdk/core/include/dap_list.h b/dap-sdk/core/include/dap_list.h
index 1ae4957fd17fe71fbe897d1a2e53aabd23d713e5..ef5718ead9f2a6b2f555736872af64c277f63752 100755
--- a/dap-sdk/core/include/dap_list.h
+++ b/dap-sdk/core/include/dap_list.h
@@ -5,6 +5,12 @@
 #ifndef __DAP_LIST_H__
 #define __DAP_LIST_H__
 
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 typedef void (*dap_callback_destroyed_t)(void* data);
 typedef void (*dap_callback_t)(void* data, void* user_data);
 typedef void* (*dap_callback_copy_t)(const void * src, void* data);
@@ -60,3 +66,8 @@ void* dap_list_nth_data(dap_list_t *list, unsigned int n);
 #define dap_list_next(list)	        ((list) ? (((dap_list_t *)(list))->next) : NULL)
 
 #endif /* __DAP_LIST_H__ */
+
+
+#ifdef __cplusplus
+}
+#endif
diff --git a/dap-sdk/core/src/dap_common.c b/dap-sdk/core/src/dap_common.c
index 171bb41bb896fccce5e3904a623dc8a3967ecec7..ea8ffebd01d7250b93e8f5aae6ed0f936c6efa63 100755
--- a/dap-sdk/core/src/dap_common.c
+++ b/dap-sdk/core/src/dap_common.c
@@ -236,7 +236,7 @@ int dap_common_init( const char *a_console_title, const char *a_log_filename ) {
             s_log_file = fopen( a_log_filename , "w" );
         if ( s_log_file == NULL ) {
             dap_fprintf( stderr, "Can't open log file %s to append\n", a_log_filename );
-            return -1;
+            //return -1;   //switch off show log in cosole if file not open
         }
         dap_stpcpy(s_log_file_path, a_log_filename);
     }