Changeset 97968 in vbox for trunk/include/iprt/cpp
- Timestamp:
- Jan 3, 2023 10:19:59 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/cpp/hardavlrange.h
r96407 r97968 696 696 if (pLeftNode) 697 697 { 698 #if RT_GNUC_PREREQ_EX(4,7, 1) /* 32-bit 4.4.7 has trouble, dunno when it started working exactly*/699 AssertCompile(kMaxStack > 6); 698 #if RT_GNUC_PREREQ_EX(4,7,1) && defined(RTASSERT_HAVE_STATIC_ASSERT) /* 32-bit 4.4.7 has trouble, dunno when it started working */ 699 AssertCompile(kMaxStack > 6); /* exactly. Seems having static_assert is required. */ 700 700 #endif 701 701 AssertMsgReturnStmt(cEntries < RT_ELEMENTS(apEntries), … … 732 732 if (pRightNode) 733 733 { 734 #if RT_GNUC_PREREQ_EX(4,7, 1) /* 32-bit 4.4.7 has trouble, dunno when it started working exactly*/735 AssertCompile(kMaxStack > 6); 734 #if RT_GNUC_PREREQ_EX(4,7,1) && defined(RTASSERT_HAVE_STATIC_ASSERT) /* 32-bit 4.4.7 has trouble, dunno when it started working */ 735 AssertCompile(kMaxStack > 6); /* exactly. Seems having static_assert is required. */ 736 736 #endif 737 737 AssertMsgReturnStmt(cEntries < RT_ELEMENTS(apEntries), … … 806 806 if (pRightNode) 807 807 { 808 #if RT_GNUC_PREREQ_EX(4,7, 1) /* 32-bit 4.4.7 has trouble, dunno when it started working exactly*/809 AssertCompile(kMaxStack > 6); 808 #if RT_GNUC_PREREQ_EX(4,7,1) && defined(RTASSERT_HAVE_STATIC_ASSERT) /* 32-bit 4.4.7 has trouble, dunno when it started working */ 809 AssertCompile(kMaxStack > 6); /* exactly. Seems having static_assert is required. */ 810 810 #endif 811 811 AssertMsgReturnStmt(cEntries < RT_ELEMENTS(apEntries), … … 842 842 if (pLeftNode) 843 843 { 844 #if RT_GNUC_PREREQ_EX(4,7, 1) /* 32-bit 4.4.7 has trouble, dunno when it started working exactly*/845 AssertCompile(kMaxStack > 6); 844 #if RT_GNUC_PREREQ_EX(4,7,1) && defined(RTASSERT_HAVE_STATIC_ASSERT) /* 32-bit 4.4.7 has trouble, dunno when it started working */ 845 AssertCompile(kMaxStack > 6); /* exactly. Seems having static_assert is required. */ 846 846 #endif 847 847 AssertMsgReturnStmt(cEntries < RT_ELEMENTS(apEntries), … … 930 930 if (pLeftNode) 931 931 { 932 #if RT_GNUC_PREREQ_EX(4,7, 1) /* 32-bit 4.4.7 has trouble, dunno when it started working exactly*/933 AssertCompile(kMaxStack > 6); 932 #if RT_GNUC_PREREQ_EX(4,7,1) && defined(RTASSERT_HAVE_STATIC_ASSERT) /* 32-bit 4.4.7 has trouble, dunno when it started working */ 933 AssertCompile(kMaxStack > 6); /* exactly. Seems having static_assert is required. */ 934 934 #endif 935 935 AssertMsgReturnStmt(cEntries < RT_ELEMENTS(apEntries), … … 960 960 if (pRightNode) 961 961 { 962 #if RT_GNUC_PREREQ_EX(4,7, 1) /* 32-bit 4.4.7 has trouble, dunno when it started working exactly*/963 AssertCompile(kMaxStack > 6); 962 #if RT_GNUC_PREREQ_EX(4,7,1) && defined(RTASSERT_HAVE_STATIC_ASSERT) /* 32-bit 4.4.7 has trouble, dunno when it started working */ 963 AssertCompile(kMaxStack > 6); /* exactly. Seems having static_assert is required. */ 964 964 #endif 965 965 AssertMsgReturnStmt(cEntries < RT_ELEMENTS(apEntries),
Note:
See TracChangeset
for help on using the changeset viewer.