guoxiangCN opened a new pull request, #1293:
URL: https://github.com/apache/incubator-kvrocks/pull/1293

   I found that this project completely adopts c++17, so I'm not going to use 
the following tedious macro definitions:
   ```
   #if HAS_CPP17_ATTRIBUTE(fallthrough)
   #  define FALLTHROUGH [[fallthrough]]
   #elif defined(__clang__)
   #  define FALLTHROUGH [[clang::fallthrough]]
   #elif GCC_VERSION >= 700 && \
       (!defined(__EDG_VERSION__) || __EDG_VERSION__ >= 520)
   #  define FALLTHROUGH [[gnu::fallthrough]]
   #else
   #  define FALLTHROUGH
   #endif
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to