Skip to content

Commit 2e6d6a0

Browse files
committed
Suppress bogus vc++ DIAMOND_INHERITANCE warning.
1 parent d2fc33b commit 2e6d6a0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

include/bitcoin/server/define.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
#define BCS_INTERNAL BC_HELPER_DLL_LOCAL
3838
#endif
3939

40+
/// Prevent bogus vc++ warnings on protocol.
41+
BC_DISABLE_WARNING(DIAMOND_INHERITANCE)
42+
4043
/// Augment limited xcode placeholder defines (10 vs. common 20).
4144
/// ---------------------------------------------------------------------------
4245
#if defined (HAVE_XCODE)

0 commit comments

Comments
 (0)