From 9d3c2ed75f1942d9c1f4de761ffd23b61ef9ff15 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 13 Jul 2002 12:26:19 +0000 Subject: [PATCH] Fix unversioned VC++ checks [SVN r14436] --- static_assert_test_fail_4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static_assert_test_fail_4.cpp b/static_assert_test_fail_4.cpp index 83dd5d1..e2506c2 100644 --- a/static_assert_test_fail_4.cpp +++ b/static_assert_test_fail_4.cpp @@ -23,7 +23,7 @@ struct Bob char c; int f() { -#ifndef BOOST_MSVC // broken sizeof in VC6 +#if !defined(BOOST_MSVC) || BOOST_MSVC > 1200 // broken sizeof in VC6 BOOST_STATIC_ASSERT(sizeof(x) == 4); BOOST_STATIC_ASSERT(sizeof(c) == 1); BOOST_STATIC_ASSERT((sizeof(x) == sizeof(c))); // should not compile