Skip to content

unrecognised option '--add-std' error after upgrading solc to 0.4.24 #33

@mandarvaze

Description

@mandarvaze

I recently upgraded to solc version 0.4.24, and I have started getting the following error:

Suspicious state from syntax checker solidity-checker: Flycheck checker solidity-checker returned non-zero exit code 1, but its output contained no errors: unrecognised option '--add-std'

This option was removed in version 0.4.22 of Solidity.
I found the following references regarding how other tools are affected. But I'm not sure if there is a fix/workaround for emacs-solidity

References :
argotorg/solidity#3984
argotorg/solidity#3695

Solution seems to be "upgrade go-ethereum", but how does that help a "linter" functionality of emacs-solidity ?

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