I am getting the following error from solc
:
Error: Source file requires different compiler version (current compiler is 0.4.11-develop.2017.6.22+commit.68ef5810.Darwin.appleclang - note that nightly builds are considered to be strictly less than the released version
pragma solidity 0.4.11;
^---------------------^
In order to build solc
, I:
- cloned the solidity repository,
- ran
git checkout v0.4.11
which successfully got thetag/v0.4.11
. 3. completed the build process made sure
solc
was in my pathsolc --version solc, the solidity compiler commandline interface Version: 0.4.11-develop.2017.6.22+commit.68ef5810.Darwin.appleclang
So, that is the v0.4.11 release, but the version number has today's date in it. Is that the source of the error?
System is macOS Sierra 10.12.5.