Skip to content

Compilation errors in Arduino 1.8.8 #2

@ace42588

Description

@ace42588

I keep running into compilation issues when verifying the example sketch that don't make much sense. I didn't capture the compiler output from the first couple issues, but I'll paraphrase

  • request = requestDoc.to(); -Rest-Esp8266.h - compiler reported not enough arguments provided to DynamicJsonDocument. Resolved by blowing away the library as downloaded by Arduino and replaced with a pull from GitHub

  • using Exception = Exception; - Node.h:85:42: error: declaration of 'using Exception = class Rest::Exception<Rest::Node >'. Can be resolved by replacing the alias in Node.h

  • typedef Esp8266RestRequestHandler RestRequestHandler; - Restfully.h:7:1: error: expected constructor, destructor, or type conversion before 'typedef'. Latest error

Seems to me that I'm missing something or my library keeps getting corrupted somehow. Is there anything unique needed to compile the example sketch? I am using ArduinoJson 6.5 and included stdio.h just for chuckles

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions