carsonmcdonald / esp32-aws-iot

ESP32 template for connecting to the AWS IoT platform
Apache License 2.0
60 stars 21 forks source link

parameter 'pJsonHandler' set but not used #6

Closed preetampds closed 7 years ago

preetampds commented 7 years ago

Hi , I am using the latest esp idf, while i do make flash i get the below error C:/esp32-aws-iot/components/awsiot/src/aws_iot_shadow_json.c: In function 'isJsonValidAndParse': C:/esp32-aws-iot/components/awsiot/src/aws_iot_shadow_json.c:327:59: error: parameter 'pJsonHandler' set but not used [-Werror=unused-but-set-parameter] bool isJsonValidAndParse(const char pJsonDocument, void pJsonHandler, int32_t *pTokenCount) {

preetampds commented 7 years ago

Added below line after line 217 in ~/esp-idf/make/project.mk -Wno-unused-but-set-parameter