Merge remote-tracking branch 'origin/develop' into develop_060

This commit is contained in:
chriseth 2019-10-05 13:08:44 +02:00
commit cea6d6df8b
7 changed files with 15 additions and 3 deletions

View File

@ -23,6 +23,9 @@ endif()
eth_add_cxx_compiler_flag_if_supported(-Wimplicit-fallthrough)
# Prevent the path of the source directory from ending up in the binary via __FILE__ macros.
eth_add_cxx_compiler_flag_if_supported("-fmacro-prefix-map=${CMAKE_SOURCE_DIR}=/solidity")
if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang"))
# Enables all the warnings about constructions that some users consider questionable,
# and that are easy to avoid. Also enable some extra warning flags that are not

View File

@ -22,9 +22,8 @@ a contract where the goal is to send the most money to the
contract in order to become the "richest", inspired by
`King of the Ether <https://www.kingoftheether.com/>`_.
In the following contract, if you are usurped as the richest,
you will receive the funds of the person who has gone on to
become the new richest.
In the following contract, if you are no longer the richest,
you receive the funds of the person who is now the richest.
::

View File

@ -1 +1,3 @@
contract C { enum E { A, B } }
// ----

View File

@ -1 +1,3 @@
contract C { event E(); }
// ----

View File

@ -1 +1,3 @@
contract C { modifier M { _; } }
// ----

View File

@ -1 +1,3 @@
contract C {}
// ----

View File

@ -1 +1,3 @@
library L {} contract C { using L for uint; }
// ----