Kaydet (Commit) 9ee0f108 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

GCC 7 supports [[fallthrough]]

Change-Id: Ic6fb995a76a30b60b597005e714de03d43c36a7c
üst 2fc5a65a
......@@ -448,6 +448,8 @@ namespace css = ::com::sun::star;
#if defined LIBO_INTERNAL_ONLY
#if defined __clang__
#define SAL_FALLTHROUGH [[clang::fallthrough]]
#elif defined __GNUC__ && __GNUC__ >= 7
#define SAL_FALLTHROUGH [[fallthrough]]
#else
#define SAL_FALLTHROUGH
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment