diff --git a/runtime/Cpp/runtime/src/support/CPPUtils.cpp b/runtime/Cpp/runtime/src/support/CPPUtils.cpp index 3eaaeca9b..2ca43d34d 100755 --- a/runtime/Cpp/runtime/src/support/CPPUtils.cpp +++ b/runtime/Cpp/runtime/src/support/CPPUtils.cpp @@ -50,8 +50,10 @@ namespace antlrcpp { break; } // else fall through +#ifndef _MSC_VER #if __has_cpp_attribute(clang::fallthrough) [[clang::fallthrough]]; +#endif #endif default: