Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

solidity compile warnings which are errors #14

Open
rocky opened this issue Aug 6, 2018 · 1 comment
Open

solidity compile warnings which are errors #14

rocky opened this issue Aug 6, 2018 · 1 comment

Comments

@rocky
Copy link
Contributor

rocky commented Aug 6, 2018

I am using solc version Version: 0.4.24+commit.e67f0147.Linux.g++

$ solc missing_constructor/Missing.sol
Missing.sol:23:23: Warning: Using contract member "balance" inherited from the address type is deprecated. Convert the contract to "address" type to access the member, for example use "address(contract).balance" instead.
       owner.transfer(this.balance);
                      ^----------^

and

$ solc reentrancy/DAO_source_code/DAO.sol 
reentrancy/DAO_source_code/DAO.sol:91:52: Error: Expected ';' but got '}'
    modifier noEther() {if (msg.value > 0) throw; _}

and two others. Look for "Unconfigured" in the chart in https://ethereumanalysisbenchmarks.github.io/nssc/index.html

@muellerberndt
Copy link

We're scrapping the old benchmarks so this can be closed.

0xicingdeath pushed a commit that referenced this issue Oct 27, 2022
Tutorial on how to collect and manipulate an Echidna corpus
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants