Skip to content

'FS' is already declared in this scope #689

@mc-hamster

Description

@mc-hamster

Good morning,

I ran into an issue with the FS library in the Aug 10 Stage build.

FS.h:112:11: error: 'FS' is already declared in this scope
using fs*:FS;
Error compiling

I've tracked down the issue to the order of which the ESP8266WebServer and FS libraries are included.

If they are included in this order:

include <ESP8266WebServer.h>

include "FS.h"

The above error message will block compilation.

If they're included in this order:

include "FS.h"

include <ESP8266WebServer.h>

There is no error message.

Thanks!

  • Jm

Metadata

Metadata

Assignees

No one assigned

    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