{"action":"opened","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/1940","repository_url":"https://api.github.com/repos/esp8266/Arduino","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/1940/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/1940/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/1940/events","html_url":"https://github.com/esp8266/Arduino/issues/1940","id":149412038,"number":1940,"title":"Error compiling httpUpdate example with new boardmanager 2.2.0","user":{"login":"pieterverhees","id":3917735,"avatar_url":"https://avatars.githubusercontent.com/u/3917735?v=3","gravatar_id":"","url":"https://api.github.com/users/pieterverhees","html_url":"https://github.com/pieterverhees","followers_url":"https://api.github.com/users/pieterverhees/followers","following_url":"https://api.github.com/users/pieterverhees/following{/other_user}","gists_url":"https://api.github.com/users/pieterverhees/gists{/gist_id}","starred_url":"https://api.github.com/users/pieterverhees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieterverhees/subscriptions","organizations_url":"https://api.github.com/users/pieterverhees/orgs","repos_url":"https://api.github.com/users/pieterverhees/repos","events_url":"https://api.github.com/users/pieterverhees/events{/privacy}","received_events_url":"https://api.github.com/users/pieterverhees/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-19T10:06:34Z","updated_at":"2016-04-19T10:06:34Z","closed_at":null,"body":"### Basic Infos\r\n\r\n#### Hardware\r\nHardware:\t\t\tESP-12F\r\nCore Version:      \t2.2.0\r\n\r\n### Description\r\n\r\nProblem description\r\nThis morning I updated the board manager to esp8266 to 2.2.0.\r\nCompiling the example file httpUpdate gives an error it didn't do before\r\n\r\n### Settings in IDE\r\n\r\nModule:  \t\t\tGeneric ESP8266 Module - ESP12\r\nFlash Size: \t\t4MB?\r\nCPU Frequency:\t\t80Mhz\r\nFlash Mode:\t\t\tdio\r\nFlash Frequency:\t40Mhz\r\nUpload Using:\t\tSERIAL\r\nReset Method:\t\tck\r\n\r\n\r\n### Sketch\r\n\r\n```cpp\r\n\r\n#include <Arduino.h>\r\n\r\nvoid setup() {\r\n\r\n}\r\n\r\nvoid loop() {\r\n\r\n}\r\n```\r\n\r\n### Debug Messages\r\n\r\n```\r\nArduino: 1.6.8 (Mac OS X), Board: \"Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 4M (3M SPIFFS), ck, Serial, All\"\r\n\r\nIn file included from /Users/pieter/Library/Arduino15/packages/esp8266/hardware/esp8266/2.2.0/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.cpp:26:0:\r\n/Users/pieter/Library/Arduino15/packages/esp8266/hardware/esp8266/2.2.0/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.cpp: In member function 'HTTPUpdateResult ESP8266HTTPUpdate::handleUpdate(HTTPClient&, const String&, bool)':\r\n/Users/pieter/Library/Arduino15/packages/esp8266/hardware/esp8266/2.2.0/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:37:67: error: cannot pass objects of non-trivially-copyable type 'const class String' through '...'\r\n #define DEBUG_HTTP_UPDATE(...) DEBUG_ESP_PORT.printf( __VA_ARGS__ )\r\n                                                                   ^\r\n/Users/pieter/Library/Arduino15/packages/esp8266/hardware/esp8266/2.2.0/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.cpp:223:9: note: in expansion of macro 'DEBUG_HTTP_UPDATE'\r\n         DEBUG_HTTP_UPDATE(\"[httpUpdate]  - current version: %s\\n\", currentVersion);\r\n         ^\r\nexit status 1\r\nError compiling for board Generic ESP8266 Module.\r\n\r\nThis report would have more information with\r\n\"Show verbose output during compilation\"\r\noption enabled in File -> Preferences.\r\n\r\n```\r\n\r\n\r\n"}}