[Ethereum] Source file requires different compiler version (nightly builds issue) – solidity

go-ethereumremixsoliditytokens

SyntaxError: Source file requires different compiler version (current compiler is 0.4.19+commit.c4cbbb05.Emscripten.clang - note that nightly builds are considered to be strictly less than the released version
pragma solidity 0.4.15;
^---------------------^

Best Answer

Maybe you are using some functions that not working on greater versions. Try to set pragram solidity ^0.4.15; if the problem still there, paste here your contract.