Skip to content

g++ 4.8.2 compile errors #170

@HJiahu

Description

@HJiahu

i could not compile this project with g++ 4.8.2, the error is :

flex_lexer.l:249:36: error: use of deleted function 'std::basic_stringstream& std::basic_stringstream::operator=(const std::basic_stringstream&)'

my solution :
modify the line of 249 in flex_lexer.l from \' { BEGIN singlequotedstring; strbuf = std::stringstream{}; } to
\' { BEGIN singlequotedstring; strbuf.clear(); strbuf.str(""); }

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