qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/cJSON/cJSON.c:113:25: error: Invalid sqrt() argument nr 1. The value is -1 but the valid values are '0.0:'. [invalidFunctionArg] return (double) NAN; ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/aesni.c:30:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/arc4.c:30:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/asn1parse.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/asn1write.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/base64.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/bignum.c:41:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/blowfish.c:31:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/camellia.c:31:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ccm.c:34:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/certs.c:295:35: error: Syntax Error: AST broken, binary operator '=' doesn't have two operands. [internalAstError] const char mbedtls_test_cas_pem[] = TEST_CA_CRT_RSA TEST_CA_CRT_EC; ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/certs.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/cmac.c:46:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ctr_drbg.c:30:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/debug.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/des.c:31:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/dhm.c:33:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ecdh.c:32:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ecdsa.c:31:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ecjpake.c:30:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ecjpake.c:117:10: error: Uninitialized variable: ret [uninitvar] if ( ret != 0 ) ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ecp.c:46:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ecp.c:1956:10: error: Uninitialized variable: ret [uninitvar] if ( ret != 0 ) ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ecp_curves.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ecp_curves.c:681:10: error: Uninitialized variable: ret [uninitvar] if ( ret != 0 ) ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/entropy.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/entropy_poll.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/error.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/gcm.c:35:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/havege.c:32:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/hmac_drbg.c:31:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/md.c:29:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/md2.c:31:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/md4.c:31:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/md5.c:30:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/md_wrap.c:29:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/memory_buffer_alloc.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/net_sockets.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/oid.c:27:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/padlock.c:31:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/pem.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/pk.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/pk_wrap.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/pkcs12.c:31:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/pkcs5.c:35:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/pkparse.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/pkwrite.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/platform.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ripemd160.c:31:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/rsa.c:37:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/rsa.c:162:10: error: Uninitialized variable: ret [uninitvar] if ( ret != 0 ) { ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/rsa.c:329:10: error: Uninitialized variable: ret [uninitvar] if ( ret != 0 ) ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/rsa.c:464:10: error: Uninitialized variable: ret [uninitvar] if ( ret != 0 ) ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/rsa.c:1490:10: error: Uninitialized variable: ret [uninitvar] if ( ret != 0 ) ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/sha1.c:30:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/sha256.c:30:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/sha512.c:30:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ssl_cache.c:29:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ssl_cli.c:2756:24: error: Uninitialized variable: i [uninitvar] ssl->out_msglen = i + n; ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ssl_cli.c:2756:28: error: Uninitialized variable: n [uninitvar] ssl->out_msglen = i + n; ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ssl_cli.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ssl_cli.c:2322:60: error: Uninitialized variable: hashlen [uninitvar] MBEDTLS_SSL_DEBUG_BUF( 3, "parameters hash", hash, hashlen != 0 ? hashlen : ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ssl_cookie.c:29:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ssl_srv.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ssl_ticket.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ssl_tls.c:782:37: error: Uninitialized variable: mac_enc [uninitvar] memcpy( transform->mac_enc, mac_enc, transform->maclen ); ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/ssl_tls.c:783:37: error: Uninitialized variable: mac_dec [uninitvar] memcpy( transform->mac_dec, mac_dec, transform->maclen ); ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/threading.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/timing.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/version.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/x509.c:35:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/x509_create.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/x509_crl.c:35:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/x509_crt.c:35:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/x509_csr.c:35:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/x509write_crt.c:31:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/x509write_csr.c:30:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/external_libs/mbedtls/library/xtea.c:25:0: error: No header in #include [preprocessorErrorDirective] #include MBEDTLS_CONFIG_FILE ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/platform/os/linux/HAL_AT_UART_linux.c:224:12: error: Uninitialized variable: ret [uninitvar] return ret; ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/sdk_src/services/data_template/data_template_event.c:81:63: warning: Possible null pointer dereference: pClientToken [nullPointer] if ((eDEAL_REPLY_CB == eDealType) && (0 == strcmp(pClientToken, pReply->client_token))) { ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/sdk_src/services/data_template/data_template_event.c:401:71: note: Calling function '_traverse_event_list', 3rd argument 'NULL' value is 0 _traverse_event_list(pTemplate, pTemplate->inner_data.event_list, NULL, NULL, eDEAL_EXPIRED); ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/sdk_src/services/data_template/data_template_event.c:81:63: note: Null pointer dereference if ((eDEAL_REPLY_CB == eDealType) && (0 == strcmp(pClientToken, pReply->client_token))) { ^ qcloud-iot-explorer-sdk-embedded-c-3.1.7/sdk_src/utils/string_utils.c:61:20: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] return NULL; ^ nofile:0:0: information: Too many #ifdef configurations - cppcheck only checks 12 configurations. Use --force to check all configurations. For more details, use --enable=information. [toomanyconfigs]