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

This commit is contained in:
chriseth
2019-10-05 13:08:44 +02:00
7 changed files with 15 additions and 3 deletions
+3
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
+2 -3
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.
::
+2
View File
@@ -1 +1,3 @@
contract C { enum E { A, B } }
// ----
@@ -1 +1,3 @@
contract C { event E(); }
// ----
@@ -1 +1,3 @@
contract C { modifier M { _; } }
// ----
+2
View File
@@ -1 +1,3 @@
contract C {}
// ----
@@ -1 +1,3 @@
library L {} contract C { using L for uint; }
// ----