Skip to content

c++11 ‘auto’ in lambda parameter #8

Closed
@DraTeots

Description

@DraTeots

Hi!
It is said that cpp-httplib is C++11 library. But when I try to build example on gcc, I get an error:

error: use of ‘auto’ in lambda parameter declaration only available with -std=c++14 or -std=gnu++14

While this relates only to examples code it... should be at least said somewhere...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions