Skip to content

ESPAsyncWebServer.h:1107:49: error: passing 'const AsyncServer' as 'this' argument discards qualifiers [-fpermissive] #194

@stef-ladefense

Description

@stef-ladefense

Platform

ESP32

IDE / Tooling

Arduino (IDE/CLI)

What happened?

have error with ESP32 when use status

ESPAsyncWebServer.h:1107:49: error: passing 'const AsyncServer' as 'this' argument discards qualifiers [-fpermissive]

in ESPAsyncWebServer.h, have add : #if defined(ESP8266) || defined(ESP32) to line 1103 for correction.
it's ok ?

Stack Trace

..

Minimal Reproductible Example (MRE)

..

I confirm that:

  • I have read the documentation.
  • I have searched for similar discussions.
  • I have searched for similar issues.
  • I have looked at the examples.
  • I have upgraded to the lasted version of ESPAsyncWebServer (and AsyncTCP for ESP32).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions