From dab181fc1f4b2e88cc02e0c1a9bd4721050bccb6 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Mon, 9 Jun 2014 07:57:10 -0400 Subject: [PATCH] Bug 1022420 - Disable NS_NO_VTABLE on clang-cl in order to avoid the compiler warning; r=froydnj --- xpcom/base/nscore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/base/nscore.h b/xpcom/base/nscore.h index 9e8b4c5b10c2..31c924ca0a7e 100644 --- a/xpcom/base/nscore.h +++ b/xpcom/base/nscore.h @@ -256,7 +256,7 @@ #ifdef NS_NO_VTABLE #undef NS_NO_VTABLE #endif -#if defined(_MSC_VER) +#if defined(_MSC_VER) && !defined(__clang__) #define NS_NO_VTABLE __declspec(novtable) #else #define NS_NO_VTABLE