VirtualBox

Changeset 75618 in vbox for trunk/include


Ignore:
Timestamp:
Nov 20, 2018 12:29:58 PM (6 years ago)
Author:
vboxsync
Message:

asm.h: do not use typeof for old gcc versions in ASMAtomicWriteNullPtr().
This gets rid of typecast warnings building kernel modules on old systems.

File:
1 edited

Legend:

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

    r75132 r75618  
    25452545 * @remarks This is relatively type safe on GCC platforms.
    25462546 */
    2547 #ifdef __GNUC__
     2547#if RT_GNUC_PREREQ(4, 2)
    25482548# define ASMAtomicWriteNullPtr(ppv) \
    25492549    do \
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