azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/samples/iothub_client_sample_module_filter/iothub_client_sample_module_filter.c:115:9: warning: Possible null pointer dereference: filteredMessageInstance [nullPointer] filteredMessageInstance->messageTrackingId = messagesReceivedByInput1Queue; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/samples/iothub_client_sample_module_filter/iothub_client_sample_module_filter.c:113:39: note: Assignment 'filteredMessageInstance=NULL', assigned value is 0 filteredMessageInstance = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/samples/iothub_client_sample_module_filter/iothub_client_sample_module_filter.c:115:9: note: Null pointer dereference filteredMessageInstance->messageTrackingId = messagesReceivedByInput1Queue; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/samples/iothub_client_sample_mqtt_dm/pi_device/pi.c:181:25: error: Memory leak: retValue [memleak] retValue = result; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/src/iothub_client_core.c:108:1: error: There is an unknown macro here somewhere. Configuration is required. If MU_DEFINE_ENUM_WITHOUT_INVALID is a macro then please configure it. [unknownMacro] MU_DEFINE_ENUM_WITHOUT_INVALID(USER_CALLBACK_TYPE, USER_CALLBACK_TYPE_VALUES) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/src/iothub_client_core_ll.c:66:1: error: There is an unknown macro here somewhere. Configuration is required. If MU_DEFINE_ENUM is a macro then please configure it. [unknownMacro] MU_DEFINE_ENUM(CALLBACK_TYPE, CALLBACK_TYPE_VALUES) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/src/iothubtransport_mqtt_common.c:110:1: error: There is an unknown macro here somewhere. Configuration is required. If MU_DEFINE_ENUM_STRINGS_WITHOUT_INVALID is a macro then please configure it. [unknownMacro] MU_DEFINE_ENUM_STRINGS_WITHOUT_INVALID(MQTT_CLIENT_EVENT_ERROR, MQTT_CLIENT_EVENT_ERROR_VALUES) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/common_longhaul/iothub_client_statistics.h:20:1: error: There is an unknown macro here somewhere. Configuration is required. If MU_DEFINE_ENUM is a macro then please configure it. [unknownMacro] MU_DEFINE_ENUM(TELEMETRY_EVENT_TYPE, TELEMETRY_EVENT_TYPE_VALUES) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothub_transport_ll_private_ut/iothub_transport_ll_private_ut.c:51:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, bool, Transport_MessageCallbackFromInput, MESSAGE_CALLBACK_INFO*, messageData, void*, ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubclient_edge_ut/iothubclient_edge_ut.c:48:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char*, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubclient_ll_u2b_ut/iothub_client_ll_u2b_ut.c:56:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char *, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubclientcore_ll_ut/iothub_client_core_ll_ut.c:76:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, test_event_confirmation_callback, IOTHUB_CLIENT_CONFIRMATION_RESULT, result, void*, userContextCallback); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubclientcore_ut/iothubclientcore_ut.c:147:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, test_event_confirmation_callback, IOTHUB_CLIENT_CONFIRMATION_RESULT, result, void*, userContextCallback); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubtransport_amqp_cbs_auth_ut/iothubtransport_amqp_cbs_auth_ut.c:68:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, time_t, get_time, time_t*, currentTime); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubtransport_amqp_common_ut/iothubtransport_amqp_common_ut.c:118:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, bool, Transport_MessageCallbackFromInput, MESSAGE_CALLBACK_INFO*, messageData, void*, ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubtransport_mqtt_common_ut/iothubtransport_mqtt_common_ut.c:71:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, bool, Transport_MessageCallbackFromInput, MESSAGE_CALLBACK_INFO*, messageData, void*, ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubtransport_ut/iothubtransport_ut.c:60:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, int, FAKE_IoTHubTransport_Subscribe_DeviceMethod, IOTHUB_DEVICE_HANDLE, handle); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubtransportamqp_methods_ut/iothubtransportamqp_methods_ut.c:74:25: error: syntax error [syntaxError] MOCK_FUNCTION_WITH_CODE(, void, test_on_methods_error, void*, context); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubtransportamqp_ws_ut/iothubtransportamqp_ws_ut.c:45:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, bool, Transport_MessageCallbackFromInput, MESSAGE_CALLBACK_INFO*, messageData, void*, ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubtransporthttp_ut/iothubtransporthttp_ut.c:58:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, bool, Transport_MessageCallbackFromInput, MESSAGE_CALLBACK_INFO*, messageData, void*, ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_client/tests/iothubtransporthttp_ut/iothubtransporthttp_ut.cpp:538:26: error: syntax error [syntaxError] MOCK_STATIC_METHOD_1(, void, DList_InitializeListHead, PDLIST_ENTRY, listHead) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_service_client/tests/iothub_deviceconfiguration_ut/iothub_deviceconfiguration_ut.c:66:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char *, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_service_client/tests/iothub_devicemethod_ut/iothub_devicemethod_ut.c:66:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char *, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_service_client/tests/iothub_msging_ll_ut/iothub_messaging_ll_ut.c:44:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Array*, json_array_get_array, const JSON_Array*, array, size_t, index); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_service_client/tests/iothub_msging_ut/iothub_messaging_ut.c:40:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, TEST_FUNC_IOTHUB_OPEN_COMPLETE_CALLBACK, void*, context); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_service_client/tests/iothub_rm_ut/iothub_rm_ut.c:27:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char *, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/iothub_service_client/tests/iothub_srv_client_auth_ut/iothub_service_client_auth_ut.cpp:75:26: error: syntax error [syntaxError] MOCK_STATIC_METHOD_2(, int, mallocAndStrcpy_s, char**, destination, const char*, source) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/adapters/hsm_client_tpm.h:20:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, HSM_CLIENT_HANDLE, hsm_client_tpm_create); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/adapters/hsm_client_http_edge.h:20:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, HSM_CLIENT_HANDLE, hsm_client_http_edge_create); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/adapters/hsm_client_key.h:17:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, HSM_CLIENT_HANDLE, hsm_client_key_create); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/adapters/hsm_client_riot.h:20:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, HSM_CLIENT_HANDLE, hsm_client_riot_create); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/src/prov_transport_http_client.c:1091:13: error: Memory pointed to by 'x509_cert' is freed twice. [doubleFree] free(http_info->x509_cert); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/src/prov_transport_http_client.c:1074:13: note: Memory pointed to by 'x509_cert' is freed twice. free(http_info->x509_cert); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/src/prov_transport_http_client.c:1091:13: note: Memory pointed to by 'x509_cert' is freed twice. free(http_info->x509_cert); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/src/prov_transport_http_client.c:1190:17: error: Memory pointed to by 'proxy_host' is freed twice. [doubleFree] free(http_info->proxy_host); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/src/prov_transport_http_client.c:1167:17: note: Memory pointed to by 'proxy_host' is freed twice. free(http_info->proxy_host); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/src/prov_transport_http_client.c:1190:17: note: Memory pointed to by 'proxy_host' is freed twice. free(http_info->proxy_host); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/src/prov_transport_http_client.c:1199:17: error: Memory pointed to by 'proxy_host' is freed twice. [doubleFree] free(http_info->proxy_host); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/src/prov_transport_http_client.c:1167:17: note: Memory pointed to by 'proxy_host' is freed twice. free(http_info->proxy_host); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/src/prov_transport_http_client.c:1199:17: note: Memory pointed to by 'proxy_host' is freed twice. free(http_info->proxy_host); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/src/sec_device_module_tpm.c:410:12: error: Uninitialized variable: result [uninitvar] return result; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/device_auth_emulator_ut/device_auth_emulator_ut.c:44:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char *, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/hsm_client_http_edge_ut/hsm_client_http_edge_ut.c:102:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char *, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/hsm_client_riot_ut/hsm_client_riot_ut.c:46:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, DiceSHA256, const uint8_t*, buf, size_t, bufSize, uint8_t*, digest); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/iothub_auth_client_ut/iothub_auth_client_ut.c:44:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, HSM_CLIENT_HANDLE, hsm_client_create); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/prov_auth_client_ut/prov_auth_client_ut.c:51:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, HSM_CLIENT_HANDLE, secure_device_create); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/prov_device_client_ll_ut/prov_device_client_ll_ut.c:52:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, on_prov_register_device_callback, PROV_DEVICE_RESULT, register_result, const char*, iothub_uri, const char*, device_id, void*, user_context); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/prov_sasl_tpm_ut/prov_sasl_tpm_ut.c:39:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, char*, on_challenge_callback, BUFFER_HANDLE, data, void*, user_ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/prov_security_factory_ut/prov_security_factory_ut.c:35:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, int, initialize_hsm_system); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/prov_transport_amqp_client_ut/prov_transport_amqp_client_ut.c:43:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, on_transport_register_data_cb, PROV_DEVICE_TRANSPORT_RESULT, transport_result, BUFFER_HANDLE, iothub_key, const char*, assigned_hub, const char*, device_id, void*, user_ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/prov_transport_amqp_common_ut/prov_transport_amqp_common_ut.c:64:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, on_transport_register_data_cb, PROV_DEVICE_TRANSPORT_RESULT, transport_result, BUFFER_HANDLE, iothub_key, const char*, assigned_hub, const char*, device_id, void*, user_ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/prov_transport_amqp_ws_client_ut/prov_transport_amqp_ws_client_ut.c:44:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, on_transport_register_data_cb, PROV_DEVICE_TRANSPORT_RESULT, transport_result, BUFFER_HANDLE, iothub_key, const char*, assigned_hub, const char*, device_id, void*, user_ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/prov_transport_http_client_ut/prov_transport_http_client_ut.c:55:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, on_transport_register_data_cb, PROV_DEVICE_TRANSPORT_RESULT, transport_result, BUFFER_HANDLE, iothub_key, const char*, assigned_hub, const char*, device_id, void*, user_ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/prov_transport_mqtt_client_ut/prov_transport_mqtt_client_ut.c:43:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, on_transport_register_data_cb, PROV_DEVICE_TRANSPORT_RESULT, transport_result, BUFFER_HANDLE, iothub_key, const char*, assigned_hub, const char*, device_id, void*, user_ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/prov_transport_mqtt_common_ut/prov_transport_mqtt_common_ut.c:51:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, on_transport_register_data_cb, PROV_DEVICE_TRANSPORT_RESULT, transport_result, BUFFER_HANDLE, iothub_key, const char*, assigned_hub, const char*, device_id, void*, user_ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_client/tests/prov_transport_mqtt_ws_client_ut/prov_transport_mqtt_ws_client_ut.c:44:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, on_transport_register_data_cb, PROV_DEVICE_TRANSPORT_RESULT, transport_result, BUFFER_HANDLE, iothub_key, const char*, assigned_hub, const char*, device_id, void*, user_ctx); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/src/provisioning_sc_attestation_mechanism.c:17:1: error: There is an unknown macro here somewhere. Configuration is required. If MU_DEFINE_ENUM_STRINGS_WITHOUT_INVALID is a macro then please configure it. [unknownMacro] MU_DEFINE_ENUM_STRINGS_WITHOUT_INVALID(ATTESTATION_TYPE, ATTESTATION_TYPE_VALUES) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/src/provisioning_sc_shared_helpers.c:168:10: error: Deallocation of an auto-variable results in undefined behaviour. [autovarInvalidDeallocation] free(arr); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/src/provisioning_sc_x509_attestation.c:17:1: error: There is an unknown macro here somewhere. Configuration is required. If MU_DEFINE_ENUM_STRINGS_WITHOUT_INVALID is a macro then please configure it. [unknownMacro] MU_DEFINE_ENUM_STRINGS_WITHOUT_INVALID(X509_CERTIFICATE_TYPE, X509_CERTIFICATE_TYPE_VALUES) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/prov_sc_bulk_operation_ut/prov_sc_bulk_operation_ut.c:36:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char*, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/prov_sc_dev_caps_ut/prov_sc_dev_caps_ut.c:37:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_value_init_object); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/prov_sc_registration_state_ut/prov_sc_registration_state_ut.c:33:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char*, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/prov_sc_shared_helpers_ut/prov_sc_shared_helpers_ut.c:33:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char*, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/prov_sc_tpm_attestation_ut/prov_sc_tpm_attestation_ut.c:33:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char*, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/prov_sc_x509_attestation_ut/prov_sc_x509_attestation_ut.c:35:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char*, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/provisioning_sc_attestation_ut/provisioning_sc_attestation_ut.c:37:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char*, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/provisioning_sc_enrollment_ut/provisioning_sc_enrollment_ut.c:38:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char*, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/provisioning_sc_query_ut/provisioning_sc_query_ut.c:36:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char*, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/provisioning_sc_twin_ut/provisioning_sc_twin_ut.c:33:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char*, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/provisioning_service_client_ut/provisioning_service_client_ut.c:744:30: warning: Possible null pointer dereference: skip_array [nullPointer] if (current_index == skip_array[index]) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/provisioning_service_client_ut/provisioning_service_client_ut.c:1087:38: note: Calling function 'should_skip_index', 2nd argument 'NULL' value is 0 if (should_skip_index(index, NULL, num_cannot_fail) != 0) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/provisioning_service_client/tests/provisioning_service_client_ut/provisioning_service_client_ut.c:744:30: note: Null pointer dereference if (current_index == skip_array[index]) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/src/codefirst.c:16:1: error: There is an unknown macro here somewhere. Configuration is required. If MU_DEFINE_ENUM_STRINGS_WITHOUT_INVALID is a macro then please configure it. [unknownMacro] MU_DEFINE_ENUM_STRINGS_WITHOUT_INVALID(CODEFIRST_RESULT, CODEFIRST_RESULT_VALUES) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/src/datapublisher.c:17:1: error: There is an unknown macro here somewhere. Configuration is required. If MU_DEFINE_ENUM_STRINGS_WITHOUT_INVALID is a macro then please configure it. [unknownMacro] MU_DEFINE_ENUM_STRINGS_WITHOUT_INVALID(DATA_PUBLISHER_RESULT, DATA_PUBLISHER_RESULT_VALUES) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/agentmacros_ut/agentmacros_ut.cpp:138:26: error: syntax error [syntaxError] MOCK_STATIC_METHOD_2(, AGENT_DATA_TYPES_RESULT, Create_AGENT_DATA_TYPE_from_SINT32, AGENT_DATA_TYPE*, agentData, int32_t, v) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/agenttypesystem_ut/agenttypesystem_ut.cpp:83:26: error: syntax error [syntaxError] MOCK_STATIC_METHOD_1(, struct tm*, get_gmtime, time_t*, currentTime) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/codefirst_ut/codefirst_ut.c:574:1: error: There is an unknown macro here somewhere. Configuration is required. If END_NAMESPACE is a macro then please configure it. [unknownMacro] END_NAMESPACE(testReflectedData) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/commanddecoder_ut/commanddecoder_ut.c:44:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, onDesiredPropertySimpleProperty, void*, v); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/datamarshaller_ut/datamarshaller_ut.c:51:23: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char *, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/dataserializer_ut/dataserializer_ut.cpp:35:26: error: syntax error [syntaxError] MOCK_STATIC_METHOD_2(, BUFFER_HANDLE, TestDataSerializerEncode, MULTITREE_HANDLE, multiTreeHandle, DATA_SERIALIZER_MULTITREE_TYPE, dataType) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/iotdevice_ut/iotdevice_ut.c:52:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, EXECUTE_COMMAND_RESULT, DeviceActionCallback, DEVICE_HANDLE, deviceHandle, void*, callbackUserContext, const char*, relativeActionPath, const char*, actionName, size_t, argCount, const AGENT_DATA_TYPE*, arguments); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/jsondecoder_ut/jsondecoder_ut.cpp:23:26: error: syntax error [syntaxError] MOCK_STATIC_METHOD_2(, MULTITREE_HANDLE, MultiTree_Create, MULTITREE_CLONE_FUNCTION, cloneFunction, MULTITREE_FREE_FUNCTION, freeFunction) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/jsonencoder_ut/jsonencoder_ut.cpp:115:26: error: syntax error [syntaxError] MOCK_STATIC_METHOD_2(, MULTITREE_HANDLE, MultiTree_Create, MULTITREE_CLONE_FUNCTION, cloneFunction, MULTITREE_FREE_FUNCTION, freeFunction) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/methodreturn_ut/methodreturn_ut.c:39:23: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char *, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/multitree_ut/multitree_ut.cpp:177:26: error: syntax error [syntaxError] MOCK_STATIC_METHOD_1(, void*, gballoc_malloc, size_t, size) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/schemalib_ut/schemalib_ut.cpp:279:26: error: syntax error [syntaxError] MOCK_STATIC_METHOD_1(, CODEFIRST_RESULT, CodeFirst_Init, const char*, overrideSchemaNamespace) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/schemalib_without_init_ut/schemalib_without_init_ut.cpp:241:26: error: syntax error [syntaxError] MOCK_STATIC_METHOD_1(, CODEFIRST_RESULT, CodeFirst_Init, const char*, overrideSchemaNamespace) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/serializer_dt_int/serializer_dt_int.c:98:19: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, on_desired_property_double15, void*, v); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/serializer_dt_ut/serializer_dt_ut.c:60:23: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, JSON_Value*, json_parse_string, const char *, string); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/serializer/tests/serializer_int/serializer_int.c:518:23: error: syntax error [syntaxError] MOCKABLE_FUNCTION(, void, on_desired_property_double15, void*, v); ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothub_account.c:708:26: error: Uninitialized variable: base64_cert [uninitvar] else if (base64_cert == NULL) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothub_account.c:714:26: error: Uninitialized variable: base64_key [uninitvar] else if (base64_key == NULL) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothub_account.c:720:26: error: Uninitialized variable: tempThumb [uninitvar] else if (tempThumb == NULL) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothub_account.c:726:91: error: Uninitialized variable: base64_cert [uninitvar] else if ((iothub_account_info->x509Certificate = convert_base64_to_string(base64_cert)) == NULL) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothub_account.c:732:90: error: Uninitialized variable: base64_key [uninitvar] else if ((iothub_account_info->x509PrivateKey = convert_base64_to_string(base64_key)) == NULL) ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:903:21: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:909:21: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:915:21: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:921:21: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:933:25: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:940:25: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:946:25: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:953:25: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:964:33: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:974:37: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:984:41: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:992:45: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:998:45: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:1004:45: error: Memory leak: result [memleak] result = NULL; ^ azure-iot-sdk-c-LTS_01_2021_Ref01/testtools/iothub_test/src/iothubtest.c:1010:45: error: Memory leak: result [memleak] result = NULL; ^