VirtualBox

Changeset 60965 in vbox


Ignore:
Timestamp:
May 12, 2016 7:06:48 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107193
Message:

iprt/assert.h: static_assert detection for clang.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/assert.h

    r60070 r60965  
    284284# define RTASSERT_HAVE_STATIC_ASSERT
    285285#endif
     286#if RT_CLANG_PREREQ(6, 0)
     287# if __has_feature(cxx_static_assert) || __has_feature(c_static_assert)
     288#  define RTASSERT_HAVE_STATIC_ASSERT
     289# endif
     290#endif
    286291#ifdef DOXYGEN_RUNNING
    287292# define RTASSERT_HAVE_STATIC_ASSERT
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette