VirtualBox

Changeset 28642 in vbox


Ignore:
Timestamp:
Apr 23, 2010 1:01:54 PM (15 years ago)
Author:
vboxsync
Message:

iprt/assert.h: fixed AssertCompileMemberAlignment for recent gcc versions (especially for gcc-4.5 showing a warning)

File:
1 edited

Legend:

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

    r28619 r28642  
    346346 * @param   off     The expected offset.
    347347 */
    348 #if defined(__GNUC__) && defined(__cplusplus)
     348#if defined(__GNUC__) && (defined(__cplusplus) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 405))
    349349# if __GNUC__ >= 4
    350350#  define AssertCompileMemberOffset(type, member, off) \
Note: See TracChangeset for help on using the changeset viewer.

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