diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-03-13 21:23:17 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-07-05 08:59:38 +0300 |
commit | 014110c47d94ece6e3e655cdbf02ed8c91c7a5cf (patch) | |
tree | e8081ec6eb17c133d84b3457561021f5252e0807 /src/Makefile.leveldb.include | |
parent | 7a49fdc58115845ece3a9890bf9498bee6b559de (diff) |
Use C++17 [[fallthrough]] attribute, and drop -Wno-implicit-fallthrough
Diffstat (limited to 'src/Makefile.leveldb.include')
-rw-r--r-- | src/Makefile.leveldb.include | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.leveldb.include b/src/Makefile.leveldb.include index 8a28f4f249..ce1f93f11f 100644 --- a/src/Makefile.leveldb.include +++ b/src/Makefile.leveldb.include @@ -22,6 +22,7 @@ LEVELDB_CPPFLAGS_INT += -DHAVE_SNAPPY=0 -DHAVE_CRC32C=1 LEVELDB_CPPFLAGS_INT += -DHAVE_FDATASYNC=@HAVE_FDATASYNC@ LEVELDB_CPPFLAGS_INT += -DHAVE_FULLFSYNC=@HAVE_FULLFSYNC@ LEVELDB_CPPFLAGS_INT += -DHAVE_O_CLOEXEC=@HAVE_O_CLOEXEC@ +LEVELDB_CPPFLAGS_INT += -DFALLTHROUGH_INTENDED=[[fallthrough]] if WORDS_BIGENDIAN LEVELDB_CPPFLAGS_INT += -DLEVELDB_IS_BIG_ENDIAN=1 |